Bug#682973: debhelper: auto-generate -dbg targets where applicable

2012-07-27 Thread Martin-Éric Racine
Package: debhelper
Version: 9.20120608
Severity: wishlist

While trying to debug unrelated software, I noticed that the source package
in question does not generate a -dbg target, which forced me to recompile
the package myself.

Giving this further thought, it occurred to me that, with some script magic,
debhelper could be made to always auto-generate -dbg targets for any given
source by appending the corresponding suffix to the names of binary targets
found in debian/control e.g. libfoo3/libfoo3-dbg, foo-bin/foo-bin-dbg. This
would have the benefit of instantly making debug symbols for Debian packages
built with a recent enough debhelper compatibility level available always.

This is merely a wishlist bug for this to eventually be implemented.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (1001, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils2.22-6.1
ii  dpkg1.16.4.3
ii  dpkg-dev1.16.4.3
ii  file5.11-2
ii  html2text   1.3.2a-15
ii  man-db  2.6.2-1
ii  perl5.14.2-12
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#682973: debhelper: auto-generate -dbg targets where applicable

2012-07-27 Thread Joey Hess
Martin-Éric Racine wrote:
 While trying to debug unrelated software, I noticed that the source package
 in question does not generate a -dbg target, which forced me to recompile
 the package myself.
 
 Giving this further thought, it occurred to me that, with some script magic,
 debhelper could be made to always auto-generate -dbg targets for any given
 source by appending the corresponding suffix to the names of binary targets
 found in debian/control e.g. libfoo3/libfoo3-dbg, foo-bin/foo-bin-dbg. This
 would have the benefit of instantly making debug symbols for Debian packages
 built with a recent enough debhelper compatibility level available always.
 
 This is merely a wishlist bug for this to eventually be implemented.

You seem to be suggesting that debhelper create binary packages not
listed in debian/control.

It can't do that. The ftpmasters will reject any such package.

-- 
see shy jo


signature.asc
Description: Digital signature