Package: gcc-10 Version: 10.2.1-1 Severity: normal Affects: src:globus-rsl I recently updates some packages I maintain to compat level 13. Since they previously were on compat level 10, this meant that the dh_dwz that was added to the default sequence is now run for these packages.
For most packages this did not create a problem. But for one of the packages the dh_dwz failed miserably. In the update for this package I added an empty override_dh_dwz rule to work around the problem. I don't know it the problem is with gcc producing broken debug information that is correctly rejected by dwz, or if it is dwz that fails to parse valid debug information generated by gcc. Please reassign the bug if appropriate. Steps to reproduce: Download affected package: $ dget https://deb.debian.org/debian/pool/main/g/globus-rsl/globus-rsl_11.2-1.dsc Enter the directory: $ cd globus-rsl-11.2 Edit the debian/rules file. Comment out the empty override_dh_dwz rule. $ emacs debian/rules Then build the package: $ dpkg-buildpackage The build ends in a failure: dh_dwz -a dwz: debian/libglobus-rsl2/usr/lib/debug/.dwz/x86_64-linux- gnu/libglobus-rsl2.debug: .debug_line reference above end of section dh_dwz: error: dwz -mdebian/libglobus-rsl2/usr/lib/debug/.dwz/x86_64- linux-gnu/libglobus-rsl2.debug -M/usr/lib/debug/.dwz/x86_64-linux- gnu/libglobus-rsl2.debug -- debian/libglobus-rsl2/usr/lib/x86_64-linux- gnu/libglobus_rsl.so.2.9.2 debian/libglobus-rsl2/usr/lib/x86_64-linux- gnu/libglobus_rsl_assist.so.2.9.2 returned exit code 1 make: *** [debian/rules:13: binary] Fel 1 dpkg-buildpackage: fel: fakeroot debian/rules binary subprocess returned exit status 2 $ dpkg-query -W gcc gcc-10 dwz binutils binutils 2.35.1-4 dwz 0.13+20201015-2 gcc 4:10.2.0-1 gcc-10 10.2.1-1
signature.asc
Description: This is a digitally signed message part