[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 11/08/2020 à 10:47, Stéphane Glondu 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).

Almost all the "affected" packages in the original bug report now
include ocamlvars.mk. For the few that don't and are not maintained by
Debian OCaml Maintainers, I've submitted bug reports:

pplacer: https://bugs.debian.org/968474
kalzium: https://bugs.debian.org/968475
supermin: https://bugs.debian.org/968476

I don't know if something will be / should be done at the dh_dwz /
binutils level.


Cheers,

-- 
Stéphane


Reply to: