> Hello,
> many packages are now migrating to use debhelper-compat (= VERSION) in their
> biuld-depends, but it looks like cdbs still expects to find a debian/compat 
> file
> to define the compatibility and if missing, it creates one with default value 
> of
> 5.
>
> This leads to FTBFS with
>
> ```
> dh_clean -k
> dh_clean: Please specify the debhelper compat level exactly once.
> dh_clean:  * debian/compat requests compat 5.
> dh_clean:  * debian/control requests compat 9 via "debhelper-compat (= 9)"
> dh_clean: debhelper compat level specified both in debian/compat and via 
> build-dependency on debhelper-compat
> make: *** [/usr/share/cdbs/1/rules/debhelper.mk:214: 
> common-install-prehook-impl] Error 255
> ```
>
> please update cdbs to support debhelper-compat

https://salsa.debian.org/build-common-team/cdbs/blob/master/1/rules/debhelper.mk.in#L85-88

not even `export DH_COMPAT=VERSION` in debian/rules helps, as packages
still FTBFS with

dh_prep: Please specify the debhelper compat level exactly once.
dh_prep:  * debian/compat requests compat 9.
dh_prep:  * debian/control requests compat 9 via "debhelper-compat (= 9)"
dh_prep: debhelper compat level specified both in debian/compat and
via build-dependency on debhelper-compat


-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi

Reply via email to