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

Bug#501722: lintian: unused-override is emitted when an override exists for a check which is not -C <check>



On Thu, 2008-10-09 at 15:12 -0500, Raphael Geissert wrote:
> $ lintian --show-overrides -C scripts -I 
> xserver-xorg-video-openchrome_0.2.902+svn579-2_i386.deb | cut '-d ' -f-3
> I: xserver-xorg-video-openchrome: unused-override
> I: xserver-xorg-video-openchrome: unused-override
> I: xserver-xorg-video-openchrome: unused-override
> I: xserver-xorg-video-openchrome: unused-override
> I: xserver-xorg-video-openchrome: unused-override
> 
> Lintian should either not emit unused-override at all (only in that case, of 
> course) or should only do it for tags that belong to the same check.
> 
> PS. -T is not affected.

-T /is/ affected, just differently: (apologies for the horrible
wrapping)

$ lintian -I -E --show-overrides -Tcommand-with-path-in-maintainer-script ocaml-compiler-libs_3.10.2-3_amd64.deb 
W: ocaml-compiler-libs: command-with-path-in-maintainer-script postrm:5 /usr/bin/ocaml-md5sums

$ lintian -I -E --show-overrides -Tcommand-with-path-in-maintainer-script,unused-override ocaml-compiler-libs_3.10.2-3_amd64.deb 
W: ocaml-compiler-libs: command-with-path-in-maintainer-script postrm:5 /usr/bin/ocaml-md5sums
I: ocaml-compiler-libs: unused-override copyright-should-refer-to-common-license-file-for-lgpl

Regards,

Adam



Reply to: