Your message dated Tue, 06 Aug 2019 17:35:20 +0000 with message-id <[email protected]> and subject line Bug#933541: fixed in debhelper 12.3 has caused the Debian Bug report #933541, regarding dh_dwz: should exit gracefully when dwz is unable to create multifile to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 933541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933541 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: debhelper Version: 12.2.3 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, After setting "debhelper-compat (= 12)" on golang-golang-x-tools, I encountered the following error which aborted the package build: dwz: Too few files for multifile optimization objcopy: 'debian/golang-golang-x-tools/usr/lib/debug/.dwz/x86_64-linux-gnu/golang-golang-x-tools.debug': No such file dh_dwz: objcopy --compress-debug-sections debian/golang-golang-x-tools/usr/lib/debug/.dwz/x86_64-linux-gnu/golang-golang-x-tools.debug returned exit code 1 Perplexed by this error, I removed the '-q' option from the dwz in my local /usr/bin/dh_dwz, and saw warning messages like this: dwz: debian/golang-golang-x-tools/usr/bin/authtest: .debug_info section not present dwz: debian/golang-golang-x-tools/usr/bin/benchcmp: .debug_info section not present dwz: debian/golang-golang-x-tools/usr/bin/callgraph: .debug_info section not present ... dwz: debian/golang-golang-x-tools/usr/bin/vet: .debug_info section not present It turns out that these Go compiled ELF executables have .zdebug_info rather than .debug_info section, i.e., "DWARF sections are now compressed by default" as stated in the Go 1.11 Release Notes at https://golang.org/doc/go1.11#debugging . And then, since dwz (0.12.20190711-1), "If .debug_info section not present, exit with 0. See also #931792 https://bugs.debian.org/931792, https://sourceware.org/bugzilla/show_bug.cgi?id=24766 and https://sourceware.org/git/?p=dwz.git;a=commit;h=51a7fba9895c0256888fe8996f37c598ca56749a So, I recommend that dh_dwz should have a check added to ensure the multifile actually exists before running objcopy, and if not, dh_dwz probably should print some warnings, then exit gracefully with 0. Anyhow, for golang-golang-x-tools, initially not wanting to disable dh_dwz altogether, I tried the following workaround: override_dh_dwz: dh_dwz || : But then I encountered a second problem: An empty golang-golang-x-tools-dbgsym package containing only /usr/lib/debug/.dwz/x86_64-linux-gnu/ got generated. I realized this was previously fixed in debhelper (11.4.1): * dh_strip: Remove empty /usr/lib/debug directories left over by dh_dwz. Thanks to Ferenc Wágner for reporting the issue. (Closes: #909303) But perhaps these warning messages give a clue: dh_strip: Could not find the BuildID in debian/golang-golang-x-tools/usr/bin/findcall dh_strip: Could not find the BuildID in debian/golang-golang-x-tools/usr/bin/vet ... Looking at https://salsa.debian.org/debian/debhelper/commit/423cfce04719f41d7224d75155c4e7f9a97a10e9, it appears to me that the fix for #909303: doit('rmdir', '-p', '--ignore-fail-on-non-empty', "$tmp/usr/lib/debug"); currently gets to run only if BuildID was found. Sorry, I probably should have filed a second bug report for dh_strip, but these two issues seem related, and I am lazy. :-) Many thanks! Anthony Fok - -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debhelper depends on: ii autotools-dev 20180224.1 ii dh-autoreconf 19 ii dh-strip-nondeterminism 1.3.0-1 ii dpkg 1.19.7 ii dpkg-dev 1.19.7 ii dwz 0.12.20190723-1 ii file 1:5.37-5 ii libdpkg-perl 1.19.7 ii man-db 2.8.5-2 ii perl 5.28.1-6 ii po-debconf 1.0.21 debhelper recommends no packages. Versions of packages debhelper suggests: ii dh-make 2.201802 - -- no debconf information -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAl1Bg84ACgkQ6iUAtBLF ms9KeRAAo0J3nvQ0OGD34JNWPwi5QN2OyidBVok5j+eoMLcE+lnM6+Sj8c7Z6/VV 5JErTBSWLnls5cJC6aY8S/b1SujoKM8Y6OcLAsMQIegvB1AsYFb3Fo7bPdOAfAXn gClmBd5mxc7Z8w3wCXTaqVhIvf8aCm/CUhjBSx1aW6rOzhpK1uFdD416KLuSo1fe 1nFAXbC+JXbhhi9B96lGjrSAgL/ZJeAI1CaArzcmb5e3twd3pxbq6HrbvnXzDP1S //h0E1MLyr9fRO5EEZ5Zmel3FQSDJbMWBrvPdNSryifBRtJj5QVUvhAB76BhycBk aHpVMCRt81jo5hEZo9Q3LB5MsTpCMcwI9BxvtP5VlWGIRmC8aRnTFVL48QJi/ZFf 6VLyE4mx2Ri6vWZ2oW24zDak4YB2VywgBgdjIlBO3WAQTBNOEIDTHdd3vOB4Fna0 FSkSZZgtQKYHSFzX2HCjjw7FqgmgvF/ZMe2YZtY01yP9zNJuBnzilLLQQbi0Tdam VLCOGoHMO9Mau3maeSnIp7IgWgXnI/doVao/Qp5xZEWrPodDUXJVZtSNopp8hEpj xxWKq5oeeQ7CTYOujzOsz+Mc87BYZC838jWZLHTt3ylvJrlOTOqf+ly02RguQsEr wdXMyzF67Kc93UUArG7s2u5SSrP5AYSQL7BN4HyckJ7hW7V20mE= =vRj/ -----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---Source: debhelper Source-Version: 12.3 We believe that the bug you reported is fixed in the latest version of debhelper, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Niels Thykier <[email protected]> (supplier of updated debhelper package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 06 Aug 2019 16:55:26 +0000 Source: debhelper Architecture: source Version: 12.3 Distribution: unstable Urgency: medium Maintainer: Debhelper Maintainers <[email protected]> Changed-By: Niels Thykier <[email protected]> Closes: 927394 931792 932646 933212 933541 933561 Changes: debhelper (12.3) unstable; urgency=medium . [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #927394) . [ Niels Thykier ] * dh_installsystemduser: Fix bug that would neuter sorting of unit files and make the resulting maintscripts unreproducible. Thanks to Daniel Kahn Gillmor for reporting the bug. (Closes: #932646) * dh_dwz: Remove the -q flag when calling dwz(1). It is sufficiently silently with -q and aids with debugging for others. (Closes: #933561, #931792) * dh_dwz: Gracefully handle when dwz fails to create a multifile but succeeds anyway by default. The previous behaviour of insisting on a multifile can be obtained by explicitly passing --dwz-multifile. (Closes: #933541) * dh_dwz: Skip multifile generation for udeb packages. (Closes: #933212) * dh_makeshlibs: Attempt to automatically detect udeb packages for a given (non-udeb) library package. In simple cases, it can replace the need for an explicit --add-udeb parameter. However, there are many cases where the auto-detection falls short and --add-udeb is still needed (see dh_makeshlibs(1) for details). Packagers are advised to verify the resulting shlibs file before removing --add-udeb in an upload. Checksums-Sha1: 45be4db697d30856c7564d64496bebd53f1c6cdf 1681 debhelper_12.3.dsc 8fb3973c20114f8e7ad4c8bf21ed958859a1935b 493796 debhelper_12.3.tar.xz b6cf30fcdec31c20edecc4675fc302eb6f6ea2ea 4565 debhelper_12.3_source.buildinfo Checksums-Sha256: cdbf4cbb701a43c75e73e1514b0fb32eeaa09ae8e0777616b4ab12c98c193804 1681 debhelper_12.3.dsc c9b016603580d5b9c87e26f841555e79e97f3b0045823de4608b937f90fb556d 493796 debhelper_12.3.tar.xz 1b19597e6f5afe5c06966467d8b1eb7de8c1b46ebb36896ada2029f524593266 4565 debhelper_12.3_source.buildinfo Files: c07c3e55a77ac30830a94e28ea138187 1681 devel optional debhelper_12.3.dsc 8ed1d5c061f531bbf95122f8f521eaf8 493796 devel optional debhelper_12.3.tar.xz 288fdc90e5272089180d290bacc1d2ed 4565 devel optional debhelper_12.3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE8f9dDX4ALfD+VfsMplt42+Z8eqwFAl1Js/QACgkQplt42+Z8 eqzkwg/8CR5QbE8B5cqsf7ZRRB0PbujAIwsINm/jRoYn/1y4F7h4TEEBoGOIE9KY XVpzrLl3mNmkBmUp+SmH1ehsRCrt76y1cHQblMHsISoxLinIOhT5c46mkfYPBJ7z 9+gLIS2XTOwkyzpwYWqPFymiKEVED/vh+dtatql84cwsuAFLzs8lzo8RMrZFitGu z+W08ccPFoXH0wcey6Ay7V4jk4LB0EuFFxrtCORttDqU54apTW8MPqYgq3X+Fa66 Z802NIvZ0yE6pSu7Fs8dj09apmD/hW601Kx+7hEBIHjSqhEhfLYzbD0boDc2JLy8 tBR2wcd/QRPpgBi02e7eYhe5tI1Xu5JIdXWyouw0K6ieJpeJmM9uP4d6Uo9TbkeR T3/ofni41YrumxfdyXC002tQbOMyiNkESd3bqbirq1A6pUpwgOFjazKUoJ4cBwVr 9274Rowo6yhMsD1wbdeorkcEkNanaevLpAlh5EAmYE2n9HqNQZJjVIJ37XCShYto QKxQV3EDfKkcVubSkAoS4ZdSCGO9iW7dLTqB0AFSKlm/+cH+Dr4UFgWaiTK6AvMW A1N07cpKEaRfUBHYvWjP5l7xGxo+EzcOcPBo8XIq70WeOwL/UqL7WcEjKyyc0KoR cU/u8aKF2ofK9UfhbVHqxAIk6JSz3tSQM0ajPUg2vVgof5xrGNY= =jBsm -----END PGP SIGNATURE-----
--- End Message ---

