empty ddebs when dh_strip is called twice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkg-create-dbgsym (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Lucid |
Fix Released
|
High
|
Martin Pitt | ||
xorg-server (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned |
Bug Description
SRU INFORMATION:
Impact: Produces empty ddebs and broken debug links on packages which call dh_strip on a package more than once, when being built on Soyuz (not locally).
Patch: http://
Test case: http://
Regression potential: p-c-d has quite an extensive test suite which cover a lot of different build systems, debhelper compat levels, etc. Almost all bug reports get a test written first to ensure that it reproduces the bug and the patch fixes it. However, being a toolchain package it can potentially cause all further builds to be broken completely (which is very very unlikely, though); a more realistic regression potential is that this now causes debug packages to stop being built because the check for "has debug symbols" is imprecise.
Update: Probably affects all packages which happen to run dh_strip twice on the same binary package.
Binary package hint: xserver-
After upgrading to Lucid, I get the following error when trying
to debug xorg:
$ gdb /usr/bin/Xorg
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/Xorg...
warning: the debug information found in "/usr/lib/
warning: the debug information found in "/usr/lib/
(no debugging symbols found)...done.
(gdb)
It worked just fine on 9.10.
I've version 2:1.7.6-2ubuntu3 installed, on amd64.
If you need more information, please let me know.
Thanks,
Alberto
Related branches
- Martin Pitt: Needs Fixing
-
Diff: 28 lines (+10/-0)2 files modifieddebian/changelog (+8/-0)
pkg_create_dbgsym (+2/-0)
- Ubuntu branches: Pending requested
-
Diff: 4778 lines (+3968/-0) (has conflicts)155 files modified.bzrignore (+4/-0)
debian/changelog (+439/-0)
debian/compat (+1/-0)
debian/control (+22/-0)
debian/copyright (+24/-0)
debian/pkg-create-dbgsym.install (+2/-0)
debian/pkg-create-dbgsym.lintian-overrides (+1/-0)
debian/postrm (+19/-0)
debian/preinst (+19/-0)
debian/rules (+15/-0)
dh_strip (+205/-0)
pkg_create_dbgsym (+149/-0)
tests/cdbstest/Makefile (+18/-0)
tests/cdbstest/crash.c (+34/-0)
tests/cdbstest/crash2.c (+39/-0)
tests/cdbstest/debian/cdbstest1.install (+1/-0)
tests/cdbstest/debian/cdbstest2.install (+1/-0)
tests/cdbstest/debian/changelog (+5/-0)
tests/cdbstest/debian/compat (+1/-0)
tests/cdbstest/debian/control (+31/-0)
tests/cdbstest/debian/copyright (+1/-0)
tests/cdbstest/debian/rules (+10/-0)
tests/dhtest.archspecific/Makefile (+18/-0)
tests/dhtest.archspecific/crash.c (+34/-0)
tests/dhtest.archspecific/crash2.c (+39/-0)
tests/dhtest.archspecific/debian/changelog (+5/-0)
tests/dhtest.archspecific/debian/compat (+1/-0)
tests/dhtest.archspecific/debian/control (+31/-0)
tests/dhtest.archspecific/debian/copyright (+1/-0)
tests/dhtest.archspecific/debian/dhtest-i386.install (+1/-0)
tests/dhtest.archspecific/debian/dhtest-ppc.install (+1/-0)
tests/dhtest.archspecific/debian/dhtest64.install (+1/-0)
tests/dhtest.archspecific/debian/rules (+76/-0)
tests/dhtest.compat1/Makefile (+18/-0)
tests/dhtest.compat1/crash.c (+34/-0)
tests/dhtest.compat1/crash2.c (+39/-0)
tests/dhtest.compat1/debian/changelog (+5/-0)
tests/dhtest.compat1/debian/control (+25/-0)
tests/dhtest.compat1/debian/copyright (+1/-0)
tests/dhtest.compat1/debian/rules (+75/-0)
tests/dhtest.compat1override/Makefile (+18/-0)
tests/dhtest.compat1override/crash.c (+34/-0)
tests/dhtest.compat1override/crash2.c (+39/-0)
tests/dhtest.compat1override/debian/changelog (+5/-0)
tests/dhtest.compat1override/debian/compat (+1/-0)
tests/dhtest.compat1override/debian/control (+25/-0)
tests/dhtest.compat1override/debian/copyright (+1/-0)
tests/dhtest.compat1override/debian/rules (+77/-0)
tests/dhtest.compatenvvar/Makefile (+18/-0)
tests/dhtest.compatenvvar/crash.c (+34/-0)
tests/dhtest.compatenvvar/crash2.c (+39/-0)
tests/dhtest.compatenvvar/debian/changelog (+5/-0)
tests/dhtest.compatenvvar/debian/control (+13/-0)
tests/dhtest.compatenvvar/debian/copyright (+1/-0)
tests/dhtest.compatenvvar/debian/rules (+64/-0)
tests/dhtest.dbg/Makefile (+18/-0)
tests/dhtest.dbg/crash.c (+34/-0)
tests/dhtest.dbg/crash2.c (+39/-0)
tests/dhtest.dbg/debian/changelog (+5/-0)
tests/dhtest.dbg/debian/compat (+1/-0)
tests/dhtest.dbg/debian/control (+31/-0)
tests/dhtest.dbg/debian/copyright (+1/-0)
tests/dhtest.dbg/debian/dhtest1.install (+1/-0)
tests/dhtest.dbg/debian/dhtest2.install (+1/-0)
tests/dhtest.dbg/debian/rules (+87/-0)
tests/dhtest.dbg2/Makefile (+18/-0)
tests/dhtest.dbg2/crash.c (+34/-0)
tests/dhtest.dbg2/crash2.c (+39/-0)
tests/dhtest.dbg2/debian/changelog (+5/-0)
tests/dhtest.dbg2/debian/compat (+1/-0)
tests/dhtest.dbg2/debian/control (+37/-0)
tests/dhtest.dbg2/debian/copyright (+1/-0)
tests/dhtest.dbg2/debian/dhtest1.install (+1/-0)
tests/dhtest.dbg2/debian/dhtest2.install (+1/-0)
tests/dhtest.dbg2/debian/rules (+89/-0)
tests/dhtest.dbg3/Makefile (+18/-0)
tests/dhtest.dbg3/crash.c (+34/-0)
tests/dhtest.dbg3/crash2.c (+39/-0)
tests/dhtest.dbg3/debian/changelog (+5/-0)
tests/dhtest.dbg3/debian/compat (+1/-0)
tests/dhtest.dbg3/debian/control (+31/-0)
tests/dhtest.dbg3/debian/copyright (+1/-0)
tests/dhtest.dbg3/debian/dhtest1.install (+1/-0)
tests/dhtest.dbg3/debian/dhtest2.install (+1/-0)
tests/dhtest.dbg3/debian/rules (+86/-0)
tests/dhtest.noargs/Makefile (+19/-0)
tests/dhtest.noargs/crash.c (+34/-0)
tests/dhtest.noargs/crash2.c (+39/-0)
tests/dhtest.noargs/debian/changelog (+5/-0)
tests/dhtest.noargs/debian/compat (+1/-0)
tests/dhtest.noargs/debian/control (+29/-0)
tests/dhtest.noargs/debian/copyright (+1/-0)
tests/dhtest.noargs/debian/dhtest1.install (+1/-0)
tests/dhtest.noargs/debian/dhtest2.install (+1/-0)
tests/dhtest.noargs/debian/rules (+69/-0)
tests/dhtest.nostrip/Makefile (+19/-0)
tests/dhtest.nostrip/crash.c (+34/-0)
tests/dhtest.nostrip/crash2.c (+39/-0)
tests/dhtest.nostrip/debian/changelog (+5/-0)
tests/dhtest.nostrip/debian/compat (+1/-0)
tests/dhtest.nostrip/debian/control (+30/-0)
tests/dhtest.nostrip/debian/copyright (+1/-0)
tests/dhtest.nostrip/debian/dhtest1.install (+1/-0)
tests/dhtest.nostrip/debian/dhtest2-nostrip.install (+2/-0)
tests/dhtest.nostrip/debian/rules (+84/-0)
tests/dhtest.samename/Makefile (+18/-0)
tests/dhtest.samename/crash.c (+34/-0)
tests/dhtest.samename/crash2.c (+39/-0)
tests/dhtest.samename/debian/changelog (+5/-0)
tests/dhtest.samename/debian/compat (+1/-0)
tests/dhtest.samename/debian/control (+29/-0)
tests/dhtest.samename/debian/copyright (+1/-0)
tests/dhtest.samename/debian/dhtest.samename.install (+1/-0)
tests/dhtest.samename/debian/dhtest1.install (+1/-0)
tests/dhtest.samename/debian/rules (+76/-0)
tests/dhtest.tmpdirarg/Makefile (+18/-0)
tests/dhtest.tmpdirarg/crash.c (+34/-0)
tests/dhtest.tmpdirarg/crash2.c (+39/-0)
tests/dhtest.tmpdirarg/debian/changelog (+5/-0)
tests/dhtest.tmpdirarg/debian/compat (+1/-0)
tests/dhtest.tmpdirarg/debian/control (+12/-0)
tests/dhtest.tmpdirarg/debian/copyright (+1/-0)
tests/dhtest.tmpdirarg/debian/dhtest1.install (+1/-0)
tests/dhtest.tmpdirarg/debian/rules (+57/-0)
tests/dhtest.versionoverride/Makefile (+18/-0)
tests/dhtest.versionoverride/crash.c (+34/-0)
tests/dhtest.versionoverride/crash2.c (+39/-0)
tests/dhtest.versionoverride/debian/changelog (+5/-0)
tests/dhtest.versionoverride/debian/compat (+1/-0)
tests/dhtest.versionoverride/debian/control (+18/-0)
tests/dhtest.versionoverride/debian/copyright (+1/-0)
tests/dhtest.versionoverride/debian/dhtest1.install (+1/-0)
tests/dhtest.versionoverride/debian/dhtest2.install (+1/-0)
tests/dhtest.versionoverride/debian/rules (+57/-0)
tests/dhtest.whitespace/Makefile (+18/-0)
tests/dhtest.whitespace/crash.c (+34/-0)
tests/dhtest.whitespace/crash2.c (+39/-0)
tests/dhtest.whitespace/debian/changelog (+5/-0)
tests/dhtest.whitespace/debian/compat (+1/-0)
tests/dhtest.whitespace/debian/control (+35/-0)
tests/dhtest.whitespace/debian/copyright (+1/-0)
tests/dhtest.whitespace/debian/dhtest1.install (+1/-0)
tests/dhtest.whitespace/debian/dhtest2.install (+1/-0)
tests/dhtest.whitespace/debian/rules (+76/-0)
tests/dhtest/Makefile (+18/-0)
tests/dhtest/crash.c (+34/-0)
tests/dhtest/crash2.c (+39/-0)
tests/dhtest/debian/changelog (+5/-0)
tests/dhtest/debian/compat (+1/-0)
tests/dhtest/debian/control (+30/-0)
tests/dhtest/debian/copyright (+1/-0)
tests/dhtest/debian/dhtest1.install (+1/-0)
tests/dhtest/debian/dhtest2.install (+1/-0)
tests/dhtest/debian/rules (+76/-0)
tests/run (+107/-0)
Changed in xorg-server (Ubuntu): | |
status: | Incomplete → Confirmed |
summary: |
- xserver-xorg-core-dbg debug symbols mismatch + many -dbg packages have debug symbols mismatch |
Changed in pkg-create-dbgsym (Ubuntu): | |
status: | New → Confirmed |
Changed in pkg-create-dbgsym (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in xorg-server (Ubuntu): | |
status: | Fix Released → Confirmed |
milestone: | ubuntu-10.04 → none |
description: | updated |
summary: |
- many -dbg packages have debug symbols mismatch + empty ddebs when dh_strip is called twice |
Hi Alberto,
Please run the command 'apport-collect BUGNUMBER', which will attach several files we need for debugging.
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]