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

Bug#456802: lintian: "strong implies weak" dependency check broken



Julien Cristau <jcristau@debian.org> writes:

> Package: lintian
> Version: 1.23.37
> Severity: normal
>
> the check added to checks/control-file to diagnose stronger dependencies
> that imply weaker dependencies in 1.23.37 fails when substvars are
> involved; for example when running lintian on the xorg source package
> currently in sid (1:7.3+8), I get this warning:
> W: xorg source: stronger-dependency-implies-weaker depends -> recommends ${F:XServer-Xorg-Detect-Depends}
> It looks like Dep::parse (or, really, Dep::Pred) doesn't handle
> substvars.

It looks like this should only trigger when you're listing the exact same
substvar in both depends and recommends, which seems to be exactly the
problem that this check is warning about since that will generate the same
results in both Depends and Recommends.  Am I misunderstanding something?

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: