Source: cracklib2
Version: 2.9.6-3.1
Severity: serious
Tags: patch ftbfs

cracklib2 fails to build from source, because debian/rules includes a
non-existent python.mk file:

| debian/rules:6: /usr/share/python/python.mk: No such file or directory

The file should be /usr/share/python3/python.mk now and it should be
conditional to the nopython profile.

Please consider applying the attached patch.

Helmut
diff --minimal -Nru cracklib2-2.9.6/debian/changelog 
cracklib2-2.9.6/debian/changelog
--- cracklib2-2.9.6/debian/changelog    2019-11-19 16:14:51.000000000 +0100
+++ cracklib2-2.9.6/debian/changelog    2020-02-11 07:09:52.000000000 +0100
@@ -1,3 +1,10 @@
+cracklib2 (2.9.6-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with missing python.mk. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 11 Feb 2020 07:09:52 +0100
+
 cracklib2 (2.9.6-3.1) unstable; urgency=high
 
   * Non-maintainer upload.
diff --minimal -Nru cracklib2-2.9.6/debian/rules cracklib2-2.9.6/debian/rules
--- cracklib2-2.9.6/debian/rules        2019-11-19 16:14:51.000000000 +0100
+++ cracklib2-2.9.6/debian/rules        2020-02-11 07:09:50.000000000 +0100
@@ -3,13 +3,13 @@
 DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
-include /usr/share/python/python.mk
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 include /usr/share/dpkg/architecture.mk
 
 ifeq ($(filter stage1,$(DEB_STAGE))$(filter nopython,$(DEB_BUILD_PROFILES)),)
+include /usr/share/python3/python.mk
 PY3VERS := $(shell py3versions -vs)
 DH_WITH_PARAMETERS := python3
 else

Reply via email to