[Build-common-hackers] Bug#228044: support for dh_strip's --dbg-package=package or --keep-debug missing

Robert Jordens Robert Jordens <jordens@debian.org>, 228044@bugs.debian.org
Fri, 16 Jan 2004 09:51:50 +0100

Package: cdbs
Version: 0.4.14
Severity: normal


cdbs' rules/debhelper.mk does not allow package-specific DH_STRIP_ARGS
nor does it support the two nice new options in dh_strip:


           This option tells dh_strip that the given package has an associated
           "-dbg" package. dh_strip will, when stripping off the debug symbols
           of files in the given package, save them to independent files in
           the package build directory for the "-dbg" package.
           For example, you might have a package libfoo libfoo, and want to
           include a libfoo‐dbg package that contains debugging symbols. The
           command "dh_strip --dbg-package=libfoo" will make dh_strip save the
           debugging symbols for usr/lib/libfoo.so.0 into
           usr/lib/debug/usr/lib/libfoo.so.0 in the package build directory
           for libfoo-dbg. If libfoo‐dbg is installed, gdb wil automatically
           load up the debugging symbols from it when debugging libfoo.
           This option may be repeated to list more than one package.
       -k, --keep-debug
           Debug symbols will be retained, but split into an independant file
           in usr/lib/debug/ in the package build directory. --dbg-package is
           easier to use than this option, but this option is more flexible.


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux schuh 2.4.22-jj1 #12 Tue Sep 9 22:20:42 UTC 2003 i686
Locale: LANG=C, LC_CTYPE=en_US.UTF-8

-- no debconf information