Bug#393975: lintian: [checks/po-debconf] po-debconf is now installed by debhelper
Aurelien Jarno <aurel32@debian.org> writes:
> Package: lintian
> Version: 1.23.25
> Severity: normal
> If a package uses debconf templates without depending on po-debconf,
> lintian returns an error like this one:
> E: nagios2 source: missing-build-dependency po-debconf
> However, as debhelper is now depending on po-debconf, this is not a
> problem for most of the packages.
> In my opinion, the check has to be updated.
Lintian intentionally doesn't take into account transitive build
dependencies. I've improved the long description of this tag to explain
why, adding the following:
lintian intentionally does not take into account transitive
dependencies. Even if the package build-depends on some package that in
turn build-depends on the needed package, an explicit build dependency
should be added. Otherwise, a latent bug is created that will appear
without warning if the other package is ever updated to change its
dependencies. Even if this seems unlikely, please always add explicit
build dependencies on every non-essential, non-build-essential package
that is used directly during the build.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: