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

Re: lintian, strip --strip-unneeded, section, and priority

On Wed, Dec 05, 2001 at 10:07:56AM -0500, Dale Scheetz wrote:
> When I check the final package with lintian, I get:
> W: lodju: binary-has-unneeded-section ./usr/bin/lodju .note
> W: lodju: binary-has-unneeded-section ./usr/bin/lodju .comment
> W: lodju: no-section-field
> W: lodju: no-priority-field
> 1. Does --strip-unneeded not work correctly? I realize that I can remove
> these sections with the -R option, I'm just curious why strip and lintian
> don't agree about what sections are unneeded.

Not sure why strip doesn't remove these ...

> 2. The control file built by dpkg-buildpackage has neither section nor
> priority fields. What is keeping them out of the final control file? Do I
> really have to use the -D option in order to force the section and
> priority field?

You need to use 'dpkg-gencontrol -isp'. For some reason (presumably
historical), this isn't the default.

Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: