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

Bug#188731: debian-policy: "strip --strip-unneeded" is insufficient



Hi,

Manoj Srivastava wrote:

> > Lintian, however, complains if the sections .comment or .note are
> > present, which strip doesn't think are unneeded.
>
> 	Usually, when there is a discrepancy between lintian and
>  policy, it is not policy that you change.
>
The question is which makes more sense. In this case I think the lintian test 
makes sense, as these sections are unneeded, therefore I think it makes sense 
to change policy to reflect common practice.

> > 	--remove-section=.comment --remove-section=.note
> >
> > I think that it's a policy bug.
>
> 	Changing this without a transition plan would mean that a
>  number of packages would be rendered buggy (all my C packages, most
>  of whom rely on upstream Makefiles install target, and do not call
>  install directly).
>
Most packages do that, but then they call dh_strip. Problem solved.

> 	How many packages would be affected?

[ Checking ]  I have 1400+ packages installed on my sid system. I just scanned 
my /usr/bin (1500 ELF binaries) and found less than ten packages with 
affected files; the 'worst' offenders seem to be binutils and RCS.

I don't have the bandwidth for a complete Debian archive mirror, thus I can't 
check all of sarge/sid.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
-- 
In magic, as in all true professions, there are rules by which you must
play. At least, you must play by them until such time as you can get away with
something else.
				-- The Teachings of Ebenezum, Vol. I
				   (Preface)

Attachment: pgpLzrdkk4lan.pgp
Description: signature


Reply to: