[Bug 1040645] Re: eds binaries contain broken .gnu_debuglink section

Chris Coulson chris.coulson at canonical.com
Thu Aug 23 13:58:25 UTC 2012


For packages using debhelper compat 9, dh_strip creates debug files
named by build ID, so the .gnu_debuglink section is actually correct and
the files in evolution-data-server-dbg are installed correctly, eg:

/usr/lib/debug/.build-
id/5b/ce89e2929621c6830852aeb338772b35a86104.debug.

It seems that pkg-create-dbgsym is not compatible with debhelper level
9, so it's producing broken -dbgsym packages

** Package changed: evolution-data-server (Ubuntu Quantal) => pkg-
create-dbgsym (Ubuntu Quantal)

** Summary changed:

- eds binaries contain broken .gnu_debuglink section
+ Broken symbols for packages using debhelper compat 9

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkg-create-dbgsym in Ubuntu.
https://bugs.launchpad.net/bugs/1040645

Title:
  Broken symbols for packages using debhelper compat 9

Status in “pkg-create-dbgsym” package in Ubuntu:
  Triaged
Status in “pkg-create-dbgsym” source package in Quantal:
  Triaged

Bug description:
  The .gnu_debuglink section in each of the current eds binaries is
  broken. Eg, for libedataserver-1.2.so.17.0.0:

  Hex dump of section '.gnu_debuglink':
    0x00000000 63653839 65323932 39363231 63363833 ce89e2929621c683
    0x00000010 30383532 61656233 33383737 32623335 0852aeb338772b35
    0x00000020 61383631 30342e64 65627567 00000000 a86104.debug....
    0x00000030 e77668d2                            .vh.

  ...this should actually include the filename of the file containing
  the debug symbols. Eg, for libedataserver-1.2.so.15.0.0:

  Hex dump of section '.gnu_debuglink':
    0x00000000 6c696265 64617461 73657276 65722d31 libedataserver-1
    0x00000010 2e322e73 6f2e3135 2e302e30 00000000 .2.so.15.0.0....
    0x00000020 6d202216                            m ".

  As a consequence, gdb doesn't automatically load symbols for eds. It
  will break Apport retracing too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkg-create-dbgsym/+bug/1040645/+subscriptions




More information about the foundations-bugs mailing list