Package: debhelper Version: 4.9.13 Severity: serious Justification: causes incorrectly-built packages
While trying to do some debugging involving a GTK-based package, using libgtk2.0-0-dbg and friends in order to get better backtraces, I noticed that the better backtraces aren't appearing. On closer examination, I found that the debug data isn't in /usr/lib/debug, where it is expected to be, but in /usr/lib/debug/usr/lib. Checking via packages.d.o shows several other packages with the same and similar problems. For testing, I picked fontconfig, that being a nice small source package, from which a -dbg package is built, and tried it... sure enough, /usr/lib/debug/usr/lib appeared in the -dbg deb. Trying a few commands with a modified dh_strip (to print out some debug info): $ ./debian/rules build ... $ export DH_COMPAT=4 $ dh_clean -k $ make install DESTDIR=`pwd`/debian/tmp $ dh_install -plibfontconfig1 $ dh_install -plibfontconfig1-dbg $ ls -R debian/libfontconfig1-dbg/usr/lib/debug ls: debian/libfontconfig1-dbg/usr/lib/debug: No such file or directory $ dh_strip -plibfontconfig1 --dbg-package=libfontconfig1 Debug: file = debian/libfontconfig1/usr/lib/libfontconfig.so.1.0.4 tmp = debian/libfontconfig1 dest = debian/libfontconfig1-dbg base = /usr/lib/libfontconfig.so.1.0.4 path = debian/libfontconfig1-dbg/usr/lib/debug//usr/lib/libfontconfig.so.1.0.4 dir = debian/libfontconfig1-dbg/usr/lib/debug//usr/lib $ ls -R debian/libfontconfig1-dbg/usr/lib/debug debian/libfontconfig1-dbg/usr/lib/debug: usr/ debian/libfontconfig1-dbg/usr/lib/debug/usr: lib/ debian/libfontconfig1-dbg/usr/lib/debug/usr/lib: libfontconfig.so.1.0.4 (The variables in the debug output are in the order in which they're defined in make_debug().) -- | Darren Salt | linux (or ds) at | nr. Ashington, | sarge, | youmustbejoking | Northumberland | RISC OS | demon co uk | Toon Army | I don't ask for much, just untold riches... Errare umanum est. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]