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

Bug#958410: lintian: please warn about about duplicated debhelper build-deps



[I renamed this bug away from "nag" as that is not how we wish Lintian to be viewed]


Hi Mattia,

>  Build-Depends: autoconf-archive,
> -               debhelper (>= 11),
> +               debhelper (>= 12),
> +               debhelper-compat (= 12),
>                 libbz2-dev,
>                 libtar-dev,

Interesting, I would have thought debhelper would FTBFS this with:

    dh: warning: Please specify the debhelper compat level exactly once.
    dh: warning:  * debian/compat requests compat 12.
    dh: warning:  * debian/control requests compat 12 via "debhelper-compat (= 12)"
    dh: warning: 
    dh: warning: Hint: If you just added a build-dependency on debhelper-compat, then please remember to remove debian/compat
    dh: warning: 
    dh: error: debhelper compat level specified both in debian/compat and via build-dependency on debhelper-compat

Alternatively, if the build-profile means that the *debhelper-compat*
dependency is ignored and there is no debian/compat, would it not mean
that it would FTBFS with a "no debian/compat file"?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-


Reply to: