Control: reassign -1 debhelper Hi!
This is not a dpkg issue, but it is debhelper related, reassigning and leaving context. On Fri, 2021-07-09 at 08:52:18 +0000, Dennis Bijwaard wrote: > Package: dpkg-dev > Version: 1.19.7 > Severity: normal > > Dear all, > > When I use dpkg-buildpackage -us -uc on different machines, it sometimes > fails to create packages during multifile optimization, at least on > armv71 and aarch64 machines for packaging 3 golang executables. The > same package is created without problems on x86_64. The golang binaries > are copied using a debian/install file (failed to get dh_golang working). > > I found a work-around to at least create a package on these machines > using DEB_BUILD_OPTIONS=nostrip, but the package remains quite big. A regular > strip on the binaries does reduce them a bit, this could be an > alternative when dwz fails. Alternatively, it would be great if there > was an option to disable multifile option of dwz via e.g. DEB_BUILD_OPTIONS. > Or is there already an easy way to pass the --no-dwz-multifile option to > dh_dzw when invoked via dpkg-buildpackage? > > Below is the trace of the failing dpkg-buildpackage. > > Kind regards > Dennis > > ... > dh_link -O--builddirectory=. -O--buildsystem=makefile > dh_strip_nondeterminism -O--builddirectory=. -O--buildsystem=makefile > dh_compress -O--builddirectory=. -O--buildsystem=makefile > cd debian/sst-goflow > chmod a-x usr/share/doc/sst-goflow/changelog > gzip -9nf usr/share/doc/sst-goflow/changelog > cd '/home/dennis/work/lv-sensor-sw/flowprocessing/golang' > dh_fixperms -O--builddirectory=. -O--buildsystem=makefile > find debian/sst-goflow ! -type l -a -true -a -true -print0 > 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s > find debian/sst-goflow/usr/share/doc -type f -a -true -a ! -regex > 'debian/sst-goflow/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | > xargs -0r chmod 0644 > find debian/sst-goflow/usr/share/doc -type d -a -true -a -true > -print0 2>/dev/null | xargs -0r chmod 0755 > find debian/sst-goflow -type f \( -name '*.so.*' -o -name '*.so' -o > -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name > '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name > '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a > -true -print0 2>/dev/null | xargs -0r chmod 0644 > find debian/sst-goflow/usr/bin -type f -a -true -a -true -print0 > 2>/dev/null | xargs -0r chmod a+x > dh_missing -O--builddirectory=. -O--buildsystem=makefile > dh_dwz -O--builddirectory=. -O--buildsystem=makefile > install -d debian/sst-goflow/usr/lib/debug/.dwz/aarch64-linux-gnu > dwz -q > -mdebian/sst-goflow/usr/lib/debug/.dwz/aarch64-linux-gnu/sst-goflow.debug > -M/usr/lib/debug/.dwz/aarch64-linux-gnu/sst-goflow.debug -- > debian/sst-goflow/usr/bin/rtd_dsp debian/sst-goflow/usr/bin/rtd_influxdb > debian/sst-goflow/usr/bin/rtd_web > dwz: Too few files for multifile optimization > objcopy --compress-debug-sections > debian/sst-goflow/usr/lib/debug/.dwz/aarch64-linux-gnu/sst-goflow.debug > objcopy: > 'debian/sst-goflow/usr/lib/debug/.dwz/aarch64-linux-gnu/sst-goflow.debug': No > such file > dh_dwz: objcopy --compress-debug-sections > debian/sst-goflow/usr/lib/debug/.dwz/aarch64-linux-gnu/sst-goflow.debug > returned exit code 1 > make[1]: *** [debian/rules:17: binary] Error 2 > make[1]: Leaving directory > '/home/dennis/work/lv-sensor-sw/flowprocessing/golang' > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status > 2 > make: *** [Makefile:29: deb] Error 2 > > > > -- Package-specific info: > System tainted due to merged-usr-via-symlinks. > > -- System Information: > Debian Release: 10.8 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable') > Architecture: arm64 (aarch64) > Foreign Architectures: armhf > > Kernel: Linux 5.10.12-rockchip64 (SMP w/4 CPU cores; PREEMPT) > Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: > LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: > LC_ALL set to en_US.UTF-8) > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages dpkg-dev depends on: > ii binutils 2.31.1-16 > ii bzip2 1.0.6-9.2~deb10u1 > ii libdpkg-perl 1.19.7 > ii make 4.2.1-1.2 > ii patch 2.7.6-3+deb10u1 > ii perl 5.28.1-6+deb10u1 > ii tar 1.30+dfsg-6 > ii xz-utils 5.2.4-1 > > Versions of packages dpkg-dev recommends: > ii build-essential 12.6 > ii fakeroot 1.23-1 > ii gcc [c-compiler] 4:8.3.0-1 > ii gcc-8 [c-compiler] 8.3.0-6 > ii gnupg 2.2.12-1+deb10u1 > ii gnupg2 2.2.12-1+deb10u1 > ii gpgv 2.2.12-1+deb10u1 > pn libalgorithm-merge-perl <none> > > Versions of packages dpkg-dev suggests: > pn debian-keyring <none> > > -- no debconf information Thanks, Guillem