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

Bug#511859: lintian: false positive: openoffice.org source: missing-build-dependency-for-dh_-command



Rene Engelhard <rene@debian.org> writes:

> $ lintian openoffice.org_2.4.1-11.dsc
> [...]
> E: openoffice.org source: missing-build-dependency-for-dh_-command dh_clideps=cli-common-dev
> [...]
>
> but debian/control has a builddep: cli-common-dev (>= 0.5.7) [i386 sparc
> amd64 ia64]

Ah, another occurrance of this problem.  The problem is that Lintian
expects a dependency that satisfies cli-common-dev, and your dependency is
strictly weaker than that since it doesn't require cli-common-dev on
architectures other than the four listed.

I think the best solution is to add another version of the Dep parsing
code that ignores architecture and use that for most of these sorts of
checks.  If the maintainer has an arch-restricted build dependency, they
generally know what they're doing and Lintian doesn't have enough
information to second-guess that.

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



Reply to: