[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: are -dbgsym packages supposed to be modified?



On Sat, Feb 20, 2016 at 06:10:18PM +0100, Matthias Klose wrote:
> this is seen with the recent upload of the librevenge package.  The

LibreOffice has that, too (even before librevenge had it). See last
paragraph.

> maintainer scripts modify the librevenge-0.0-0-dbgsym package to include the

No, maintainer scripts not. debian/rules, yes.

> infrastructures as well.  I couldn't find anything in policy which allows or

backports could have that disabled. As could other people who don't
build -dbgsym. It's not magic, it's just commenting stuff out in debian/rules.

> forbids modification of -dbgsym packages, but think it's worth to document
> this in policy whether the outcome is. 

Indeed.

> While the pretty printers are not
> that useful without debug information, the size of these files compared to
> the library package (821kB) is sufficiently small that it could be including
> in the library package itself.

No, they are for debugging. Thus they belong into -dbg (or in this case
as we're migrating away from -dbg: -dbgsym). Either there or it isn't installed
anymore anyway. (Which isn't a big loss, though)

But yeah, I agree it should be documented whether it's allowed. When I asked
Niels about that for LO (because the -dbg contained them and I didn't want
to "regress") he said I was relying on debhelper internals and it could break
(which it did one time, where I needed to adapt it to work again) but didn't
say "don't do that"...

Regards,

Rene


Reply to: