Bug#965115: extlib: FTBFS in sid (dh_dwz failure)

2020-07-16 Thread Gianfranco Costamagna
control: affects -1 ocaml-mccs


for some reasons, the new binutils changed the dwarf version from 2 to 0
(I tested on stretch, upgraded dwz and binutils to bullseye and reproduced the 
issue)

readelf --debug-dump=info src/extLib.cmxs | grep -A 2 'Compilation Unit @'
readelf: Warning: CU at offset 0 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 2e contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 5c contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 8a contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset b8 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset e6 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 114 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 142 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 170 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 19e contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 1cc contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 1fa contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 228 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 256 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 284 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 2b2 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 2e0 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 30e contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 33c contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 36a contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 398 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 3c6 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 0 contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 2e contains corrupt or unsupported version 
number: 0.
readelf: Warning: CU at offset 5c contains corrupt or unsupported version 
number: 0.
readelf: Warning:   Compilation Unit @ offset 0x0:
CU at offset 8a contains corrupt or unsupported version number: 0.
   Length:0x2a (32-bit)
   Version:   0
readelf: Warning: --
CU at offset b8 contains corrupt or unsupported version number: 0.
  Compilation Unit @ offset 0x2e:
   Length:0x2a (32-bit)
readelf: Warning:Version:   0
CU at offset e6 contains corrupt or unsupported version number: 0.
--
  Compilation Unit @ offset 0x5c:
readelf: Warning:Length:0x2a (32-bit)



Bug#965115: extlib: FTBFS in sid (dh_dwz failure)

2020-07-16 Thread Gianfranco Costamagna
Source: extlib
Version: 1.7.7-1
Severity: serious

Hello, as you can see in the attached build log, the package now FTBFS.

Honestly I don't know if the error
dwz: debian/libextlib-ocaml/usr/lib/ocaml/extlib/extLib.cmxs: DWARF version 0 
unhandled
dh_dwz: error: dwz -- debian/libextlib-ocaml/usr/lib/ocaml/extlib/extLib.cmxs 
returned exit code 1

is a fault on dwz or extlib, this is why I'm ccing doko, please reassign to 
binutils/dwz or whenever you think its
more appropriate

thanks

G.
D: cmdline: build --distribution sid --buildresult 
/home/locutus/pbuilder/sid_result --basetgz /home/locutus/pbuilder/sid-base.tgz 
--logfile /home/locutus/pbuilder/sid_result/extlib_1.7.7-1_amd64.build --mirror 
http://deb.debian.org/debian --debootstrapopts 
--keyring=/usr/share/keyrings/debian-archive-keyring.gpg --aptcache 
/home/locutus/pbuilder/aptcache/debian --components main contrib non-free 
extlib_1.7.7-1.dsc
W: cgroups are not available on the host, not using them.
I: pbuilder: network access will be disabled during build
I: Current time: Thu Jul 16 12:53:15 CEST 2020
I: pbuilder-time-stamp: 1594896795
I: Building the build Environment
I: extracting base tarball [/home/locutus/pbuilder/sid-base.tgz]
I: copying local configuration
W: No local /etc/mailname to copy, relying on 
/tmp/build/11969/etc/mailname to be correct
W: --override-config is not set; not updating apt.conf Read the manpage 
for details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Copying source file
I: copying [extlib_1.7.7-1.dsc]
I: copying [./extlib_1.7.7.orig.tar.gz]
I: copying [./extlib_1.7.7-1.debian.tar.xz]
I: Extracting source
gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.TYiqKJZL/trustedkeys.kbx': 
General error
gpgv: Signature made Tue May 19 06:38:02 2020 UTC
gpgv:using RSA key 6DE24E97ECA886CC56E6250E21B8EEF1B1893081
gpgv:issuer "glo...@debian.org"
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./extlib_1.7.7-1.dsc
dpkg-source: info: extracting extlib in extlib-1.7.7
dpkg-source: info: unpacking extlib_1.7.7.orig.tar.gz
dpkg-source: info: unpacking extlib_1.7.7-1.debian.tar.xz
I: Not using root during the build.
I: Installing the build-deps
 -> Attempting to parse the build-deps
 -> Considering build-depdebhelper-compat (= 12)
   -> Trying to add debhelper-compat=12
   -> Loop detected, last APT error was: ==
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '12' for 'debhelper-compat' was not found
   -> =
   -> (not adding  to debhelper-compat=12)
   -> Cannot install debhelper-compat=12; apt errors follow:
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '12' for 'debhelper-compat' was not found
 -> Considering debhelper to satisfy the dependency 
 -> Considering build-dep ocaml-nox
   -> Trying to add ocaml-nox
 -> Considering build-dep cppo
   -> Trying to add cppo
 -> Considering build-dep ocaml-findlib
   -> Trying to add ocaml-findlib
 -> Considering build-dep libfindlib-ocaml-dev
   -> Trying to add libfindlib-ocaml-dev
 -> Considering build-dep dh-ocaml
   -> Trying to add dh-ocaml
 -> Installing  debhelper ocaml-nox cppo ocaml-findlib libfindlib-ocaml-dev 
dh-ocaml
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils dh-autoreconf
  dh-strip-nondeterminism dwz file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libcroco3 libdebhelper-perl libelf1
  libfile-stripnondeterminism-perl libfindlib-ocaml libglib2.0-0 libicu67
  libmagic-mgc libmagic1 libncurses-dev libncurses5-dev libncurses6
  libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2
  m4 man-db ocaml-base-nox ocaml-compiler-libs ocaml-interp po-debconf
  sensible-utils
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make git gettext-doc
  libasprintf-dev libgettextpo-dev groff ncurses-doc libtool-doc gfortran
  | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser camlp4
  ocaml-doc tuareg-mode libmail-box-perl
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info
  xdg-user-dirs libgpm2 libltdl-dev ocaml-man ledit | readline-editor
  libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautil