[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977560: marked as done (gcc-10: dwz fails with .debug_line reference above end of section)



Your message dated Mon, 8 Mar 2021 23:38:29 +0200
with message-id <20210308213829.GA27326@localhost>
and subject line Re: Bug#977560: dwz fails with .debug_line reference above end of section
has caused the Debian Bug report #977560,
regarding gcc-10: dwz fails with .debug_line reference above end of section
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 owner@bugs.debian.org
immediately.)


-- 
977560: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977560
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Version: 0.14-1

On Wed, Dec 16, 2020 at 08:12:25PM +0100, Mattias Ellert wrote:
> 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
>...

This is fixed in 0.14-1.

cu
Adrian

--- End Message ---

Reply to: