[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#967005: dh_ocaml: produces binaries with corrupt DWARF information (causes many FTBFS)



Le 03/08/2020 à 11:49, Lucas Nussbaum a écrit :
> Package: dh-ocaml
> Version: 1.1.1
> Severity: serious
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200802 ftbfs-bullseye
> Control: affects -1 advi alt-ergo belenios biniou caml2html camlmix camomile cmdliner coccinelle cryptokit easy-format freetennis headache hevea kalzium lablgtk3 laby liquidsoap menhir ocaml-atd ocamlbuild ocaml-cairo2 ocaml-cry ocaml-csv ocaml-ctypes ocamldsort ocaml-dtools ocaml-dune ocaml-fmt ocaml-integers ocaml-mccs ocaml-mmap ocaml-qtest ocaml-re ocaml-res ocaml-sqlite3 ocaml-ssl ocaml-topkg ocp-indent ocplib-endian parmap pcre-ocaml postgresql-ocaml pplacer ppx-derivers react spamoracle supermin tyxml uuidm uutf why3 wyrd yojson
> [...]
>> make[1]: Leaving directory '/tmp/yojson-1.7.0'
>>    dh_dwz
>> 	dwz -- debian/libyojson-ocaml-dev/usr/bin/ydump
>> dwz: debian/libyojson-ocaml-dev/usr/bin/ydump: DWARF version 0 unhandled
>> dh_dwz: error: dwz -- debian/libyojson-ocaml-dev/usr/bin/ydump returned exit code 1
>> make: *** [debian/rules:19: binary] Error 1
>> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> [...]
> Note: I filed this against dh-ocaml, but another package might be at
> fault here.

I eventually came out with a "solution" to avoid patching every
individual packages: I added an empty override_dh_dwz to
/usr/share/ocaml/ocamlvars.mk (in dh-ocaml 1.1.2), which is included in
many packages (but not all).


Cheers,

-- 
Stéphane


Reply to: