#1006573 haskell-devscripts: CDBS module incompatible with debhelper-compat (= 10)

#1006573#5
Date:
2022-02-27 22:19:57 UTC
From:
To:
Hi,

In my 'kickoff' sources, which use the CDBS module hlibrary.mk, the
d/compat file must be present. When I delete d/compat and instead
specify debhelper-compat (= 10) in Build-Depends, a d/compat file with
the value '5' is created. That causes follow-on issues like the one at
the bottom of this message.

This bug is merely a wishlist item in case someone plans to fix
hlibrary.mk. The issue goes away with the dh sequencer from
dh-haskell, which may be a better option for other reasons, as well.

Kind regards
Felix Lechner

* * *

➤ debclean
Cleaning in directory /lcl/lechner/lintian/kickoff
 dpkg-buildpackage --rules-target clean -rfakeroot -us -uc -ui
dpkg-buildpackage: info: source package kickoff
dpkg-buildpackage: info: source version 0.1.0
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Felix Lechner
<felix.lechner@lease-up.com>
 debian/rules clean
test -x debian/rules
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make -C . CFLAGS="-g -O2
-ffile-prefix-map=/lcl/lechner/lintian/kickoff=.
-fstack-protector-strong -Wformat -Werror=format-security"
CXXFLAGS="-g -O2 -ffile-prefix-map=/lcl/lechner/lintian/kickoff=.
-fstack-protector-strong -Wformat -Werror=format-security"
CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" -k
clean
make[1]: Entering directory '/lcl/lechner/lintian/kickoff'
cabal clean
make[1]: Leaving directory '/lcl/lechner/lintian/kickoff'
dh_clean
dh_clean: warning: Please specify the debhelper compat level exactly once.
dh_clean: warning:  * debian/compat requests compat 5.
dh_clean: warning:  * debian/control requests compat 10 via
"debhelper-compat (= 10)"
dh_clean: warning:
dh_clean: warning: Hint: If you just added a build-dependency on
debhelper-compat, then please remember to remove debian/compat
dh_clean: warning:
dh_clean: error: debhelper compat level specified both in
debian/compat and via build-dependency on debhelper-compat
make: *** [/usr/share/cdbs/1/rules/debhelper.mk:211: clean] Error 255
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage --rules-target clean -rfakeroot -us -uc -ui failed

#1006573#12
Date:
2025-11-11 20:12:24 UTC
From:
To:
Hi,

Tagging this wontfix for now.

The bug can be closed when hlibrary.mk is removed altogether.

Greeetings

#1006573#19
Date:
2026-03-10 23:06:47 UTC
From:
To:
Hi,

/usr/share/cdbs/1/class/hlibrary.mk has no user left and can now be dropped.

I'm tagging the 1055980 bug of pandoc-sidenote as FTBFS to mark it unbuildable.

https://codesearch.debian.net/search?q=%2Fusr%2Fshare%2Fcdbs%2F1%2Fclass%2Fhlibrary.mk+-path%3Adebian%2Fchangelog&literal=1


Greetings

Alexandre

#1006573#24
Date:
2026-03-10 23:09:42 UTC
From:
To:
The plan is for haskell-devscripts to be dropped completely soon, once we
copy it's dh_haskell scripts to dh-haskelll.

Regards,
Scott

#1006573#29
Date:
2026-03-11 16:02:46 UTC
From:
To:
Nice, no package, no bugs

Le mer. 11 mars 2026 à 00:09, Scott Talbert <swt@techie.net> a écrit :