[Build-common-hackers] How to omit --dbg-package for certain binary packages

Michael Biebl biebl at debian.org
Sat Jun 4 01:16:05 UTC 2011

Hi Jonas,

in the pkg-gnome team we use cdbs and we have several packages which build
different flavors (eg. deb/udeb builds or gtk/gnome builds).

As an example

Binary: evince
Binary: evince-gtk
Binary: evince-dbg

envince-gtk is a flavour of the evince build with different configure options
(basically all gnome deps disabled).

Now, as debian/control contains a evince-dbg package, cdbs will call
dh_strip --dbg-package=evince-dbg for *all* binary packages.
In case of evince-gtk, we don't want that, as this would overwrite the detached
debugging symbols of the evince binary package.

For this we used a "hack":

DEB_DH_STRIP_ARGS_evince-gtk = --dbg-package=

This no longer works with debhelper compat level 8 and one gets
"Option dbg-package requires an argument"
when calling dh_strip -pevince-gtk --dbg-package=

Do you have a suggestion, how to omit the --dbg-package option for evince-gtk in
a clean way using cdbs?


Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110604/259daddf/attachment.pgp>

More information about the Build-common-hackers mailing list