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

Bug#360711: lintian: [lintian-info] improve diagnostics of package-uses-deprecated-debhelper-compat-version



Jari Aalto <jari.aalto@cante.net> writes:

> The problem is that neither debian/compat exists or DH_COMPAT is defined
> int debian/rules.

Which means that debhelper uses its default compatibility level of 1,
which is deprecated.  That's what the warning is trying to tell you in
this case.  One should either set DH_COMPAT or (preferred) create
debian/compat when using debhelper.

I'll adjust the message to make that clear.

> Please consider using message like:

>     N:   The debhelper compatibility version used by this package is
>     N:   marked as deprecated by the debhelper developer. You should
>     N:   really consider using a newer compatibility version. Possible
>     N:   causes: 1) content of debian/compat 2) DH_COMPAT is defined in
>     N:   debian/rules 3) debian/control::Buil-Depends does not include
>     N:   version number for debhelper, like (>= 4.0.0)

> It was a little difficult to find out, that the problem lied in
> debian/control::Buil-Depends

So far as I can tell from looking at the lintian source, Build-Depends
cannot create or solve this problem.  That's a different warning.

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



Reply to: