Source: cracklib2 Version: 2.9.6-1 Tags: ftbfs patch User: [email protected] Usertags: rebootstrap
cracklib2 fails to build from source with the nopython build profile. The recent refactoring causes the following invocation: | dh clean --with -Npython-cracklib -Npython3-cracklib This is due to DH_WITH_PARAMETERS becoming empty. Thus dh treats "-Npython-cracklib" as an addon and gives up. The attached patch fixes the nopython build in a trivial way. Please fix this for buster as cracklib2 is part of the architecture bootstrap. Helmut
diff --minimal -Nru cracklib2-2.9.6/debian/changelog cracklib2-2.9.6/debian/changelog --- cracklib2-2.9.6/debian/changelog 2018-12-28 23:19:25.000000000 +0100 +++ cracklib2-2.9.6/debian/changelog 2018-12-30 20:16:13.000000000 +0100 @@ -1,3 +1,10 @@ +cracklib2 (2.9.6-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with nopython build profile. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 30 Dec 2018 20:16:13 +0100 + cracklib2 (2.9.6-1) unstable; urgency=medium [ Jan Dittberner ] diff --minimal -Nru cracklib2-2.9.6/debian/rules cracklib2-2.9.6/debian/rules --- cracklib2-2.9.6/debian/rules 2018-12-28 23:19:25.000000000 +0100 +++ cracklib2-2.9.6/debian/rules 2018-12-30 20:16:11.000000000 +0100 @@ -153,4 +153,4 @@ endif %: - dh $@ --with $(DH_WITH_PARAMETERS) $(NOPYTHON_OPTIONS) + dh $@ --with=$(DH_WITH_PARAMETERS) $(NOPYTHON_OPTIONS)

