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

Bug#909319: Show unnecessary overrides



On Fri, 2018-09-21 at 10:34 -0700, Josh Triplett wrote:
> Control: retitle -1 Doesn't show unused override
> 
> On Fri, Sep 21, 2018 at 06:41:14PM +0200, Mattia Rizzolo wrote:
[...]
> > Check out https://lintian.debian.org/tags/unused-override.html
> 
> Interesting. I filed this because I observed lintian not raising this
> when I expected it to.
> 
> For a test case, git clone https://joshtriplett.org/git/josh-meta and
> run ./build in that directory. Note that the josh-dev package has a
> now-unnecessary lintian override, which should trigger unused-
> override.

How is it unused / unnecessary?

<quote>
Package: josh-dev
Architecture: all
Depends:
 autoconf,
 automake,
 build-essential,
 ccache,
 colordiff,
 debhelper,
</quote>

and the use of debhelper triggers binary-package-depends-on-toolchain-
package, which is the only tag that josh-dev overrides.

adam@jacala:~/code/debian/lintian$ cat data/fields/toolchain 
cdbs
debhelper

Regards,

Adam


Reply to: