Bug#951101: cracklib2 FTBFS: debian/rules:6: /usr/share/python/python.mk: No such file or directory
Since this bug had no maintainer response for a month I decided to go ahead with a NMU, the debdiff is attatched (same as helmuts other than changelog tweaks). diff -Nru cracklib2-2.9.6/debian/changelog cracklib2-2.9.6/debian/changelog --- cracklib2-2.9.6/debian/changelog2019-11-19 15:14:51.0 + +++ cracklib2-2.9.6/debian/changelog2020-03-31 04:24:12.0 + @@ -1,3 +1,11 @@ +cracklib2 (2.9.6-3.2) unstable; urgency=medium + + * Non-maintainer upload. + [Helmut Grohne] + * Fix FTBFS with missing python.mk. (Closes: #951101) + + -- Peter Michael Green Tue, 31 Mar 2020 04:24:12 + + cracklib2 (2.9.6-3.1) unstable; urgency=high * Non-maintainer upload. diff -Nru cracklib2-2.9.6/debian/rules cracklib2-2.9.6/debian/rules --- cracklib2-2.9.6/debian/rules2019-11-19 15:14:51.0 + +++ cracklib2-2.9.6/debian/rules2020-03-31 04:24:10.0 + @@ -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
Bug#951101: cracklib2 FTBFS: debian/rules:6: /usr/share/python/python.mk: No such file or directory
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/changelog2019-11-19 16:14:51.0 +0100 +++ cracklib2-2.9.6/debian/changelog2020-02-11 07:09:52.0 +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 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/rules2019-11-19 16:14:51.0 +0100 +++ cracklib2-2.9.6/debian/rules2020-02-11 07:09:50.0 +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