Debug symbols in packages, what's the policy?

Kaj Ailomaa zequence at mousike.me
Wed Sep 12 19:21:41 UTC 2012


On Sun, 09 Sep 2012 13:05:01 +0200, Kaj Ailomaa <zequence at mousike.me>  
wrote:

> I had someone asking about this on a Ubuntu Studio IRC channel, and  
> myself being ignorant on the subject, I got help from the same person on  
> collecting some info on debugging symbols being built in into debian  
> multimedia packages, and also searched the web a bit to see what I could  
> find.
>
> As he suggested, some packages, such as qtractor, have build flags for  
> including debug symbols in the rules file.
>
> And what I found while searching the web was that this may be the  
> preferred way to build debian multimedia packages -  
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684035.
>
> So, my question is, is there a policy for including debug symbols with  
> debian multimedia packages, and why?
>
> If so, why not split those into additional packages?
>

Again, I'm not very wise on the subject, but it seems to me that the main  
qtractor package includes debugs symbols, even though, I suppose they are  
supposed to go into qtractor-dbg.

This is the rules file:

#!/usr/bin/make -f

LDFLAGS+=-Wl,--as-needed

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-debug \
		--enable-lilv \
		--enable-suil

override_dh_strip:
	dh_strip --dbg-package=qtractor-dbg



More information about the pkg-multimedia-maintainers mailing list