Bug#522384: [checks/debhelper]: Warn if compat level requires higher version than the build-depends
Bernd Zeimetz <bzed@debian.org> writes:
> packages should depend von debhelper >= X if X is listed in
> debian/compat. At the moment lintian doesn't complain if you require dh
> compat level 5 in debian/compat, but build-depend on debhelper (>= 4)
> only, which does not provide the necessary compat level.
It looks like this is currently intentional: debhelper (>= 4) will always
get you at least debhelper 5 since debhelper 5 released with oldstable,
and we had some developers who didn't want to see the warning about an
unversioned debhelper dependency when they only relied on a compat level
that was already in oldstable.
I agree that it's bad style to omit the version dependency. I think we
should probably add a new tag for this case. I'm not sure about severity
level; wishlist or pedantic, I think.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: