Bug#512645: lintian reports errors in package foo, because it does not honor files in the foo-data package, on which foo depends
severity 512645 wishlist
merge 512645 120323
retitle 512645 [checks/manpages] missing man pages reported for foo that are in foo-data
thanks
Fabian Greffrath <greffrath@leat.rub.de> writes:
> But now, if I run lintian on the newly created packages, I get warnings
> like "binary-without-manpage: usr/bin/foo" which simply isn't
> true. There *is* a manpage for /usr/bin/foo, it simply isn't installed
> in the foo package but in the foo-data package and I even made sure that
> foo does not get installed without foo-data.
Right, the problem is that Lintian checks a package at a time, so while
it's checking foo, it has no access to foo-data. Lintian is designed to
check each package in isolation. It's difficult to do more than that and
still support things like lintian.d.o.
That being said, there is a possible hack that we can apply here that may
fix the common case of checking a *.changes file for a set of related
packages and on lintian.d.o. See the discussion in #456657 for more
details.
This is why binary-without-manpage explicitly says to add an override for
this case, though.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: