Your message dated Sun, 27 Dec 2020 09:03:25 +0000
with message-id <[email protected]>
and subject line Bug#943500: fixed in cracklib2 2.9.6-3.3
has caused the Debian Bug report #943500,
regarding cracklib2 FTCBFS: cross building support got removed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
943500: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943500
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cracklib2
Version: 2.9.6-3
Severity: important
Tags: patch
User: [email protected]
Usertags: ftcbfs

cracklib2 fails to cross build from source, because the cross building
support was removed in the most recent upload. It did break python3.8,
because 3.8 dropped an "m" after _sysconfigdata_. I understand that
python's cross build APIs are less than ideal, but cracklib2 is relevant
to bootstrapping and thus needs to support cross building. Here is a
patch to add the support back in a way that is compatible with 3.8.

Helmut
diff --minimal -Nru cracklib2-2.9.6/debian/changelog 
cracklib2-2.9.6/debian/changelog
--- cracklib2-2.9.6/debian/changelog    2019-10-23 13:02:23.000000000 +0200
+++ cracklib2-2.9.6/debian/changelog    2019-10-25 15:56:49.000000000 +0200
@@ -1,3 +1,10 @@
+cracklib2 (2.9.6-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Revert removal of _PYTHON_* variables.
+
+ -- Helmut Grohne <[email protected]>  Fri, 25 Oct 2019 15:56:49 +0200
+
 cracklib2 (2.9.6-3) unstable; urgency=medium
 
   * Fix "fails to build Python 3.8 extensions" by removing the
diff --minimal -Nru cracklib2-2.9.6/debian/rules cracklib2-2.9.6/debian/rules
--- cracklib2-2.9.6/debian/rules        2019-10-23 13:02:23.000000000 +0200
+++ cracklib2-2.9.6/debian/rules        2019-10-25 15:56:49.000000000 +0200
@@ -33,6 +33,8 @@
                --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
                --with-default-dict=/var/cache/cracklib/cracklib_dict \
                CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
+       # The _PYTHON_* asssignments are required for cross building. Don't
+       # delete them unless you verify that cross building keeps working.
        set -e; \
        for i in $(PY3VERS); do \
                mkdir -p $(CURDIR)/debian/buildtmp/python$$i; \
@@ -42,6 +44,8 @@
                        --prefix=/usr --disable-rpath \
                        --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
                        --with-default-dict=/var/cache/cracklib/cracklib_dict \
+                       
_PYTHON_HOST_PLATFORM=$(DEB_HOST_ARCH_OS)-$(DEB_HOST_GNU_CPU) \
+                       _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$$(test "$$i" 
= 3.7 && echo m)_$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH) \
                        PYTHON_PREFIX=$(call py_builddir_sh,$$i) \
                        PYTHON=/usr/bin/python$$i \
                        CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" 
LDFLAGS="$(LDFLAGS)"; \
@@ -56,6 +60,8 @@
                cd $(CURDIR)/debian/buildtmp/python$$i; \
                rm -rf lib; ln -s $(CURDIR)/debian/buildtmp/base/lib lib; \
                cd python; \
+               _PYTHON_HOST_PLATFORM=$(DEB_HOST_ARCH_OS)-$(DEB_HOST_GNU_CPU) \
+               _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$$(test "$$i" = 3.7 
&& echo m)_$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH) \
                CFLAGS="-I$(CURDIR)/lib $(CFLAGS)" LDFLAGS="$(LDFLAGS)" 
CPPFLAGS="$(CPPFLAGS)" python$$i setup.py build ; \
        done
 endif
@@ -71,6 +77,8 @@
        set -e; \
        for i in $(PY3VERS); do \
                cd $(CURDIR)/debian/buildtmp/python$$i/python/$(call 
py_builddir_sh,$$i); \
+               _PYTHON_HOST_PLATFORM=$(DEB_HOST_ARCH_OS)-$(DEB_HOST_GNU_CPU) \
+               _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$$(test "$$i" = 3.7 
&& echo m)_$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH) \
                LD_LIBRARY_PATH=$(CURDIR)/debian/buildtmp/base/lib/.libs 
python$$i \
                -c 'import cracklib; 
cracklib.test(dictpath="$(CURDIR)/debian/tmp/cracklib_dict")'; \
        done
@@ -129,6 +137,8 @@
        set -e; \
        for i in $(PY3VERS); do \
                cd $(CURDIR)/debian/buildtmp/python$$i/python; \
+               _PYTHON_HOST_PLATFORM=$(DEB_HOST_ARCH_OS)-$(DEB_HOST_ARCH) \
+               _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$$(test "$$i" = 3.7 
&& echo m)_$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH) \
                python$$i setup.py install --install-layout=deb --root 
$(CURDIR)/debian/python3-cracklib; \
        done
 endif

--- End Message ---
--- Begin Message ---
Source: cracklib2
Source-Version: 2.9.6-3.3
Done: Helmut Grohne <[email protected]>

We believe that the bug you reported is fixed in the latest version of
cracklib2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Helmut Grohne <[email protected]> (supplier of updated cracklib2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 26 Dec 2020 13:42:43 +0100
Source: cracklib2
Architecture: source
Version: 2.9.6-3.3
Distribution: unstable
Urgency: medium
Maintainer: Jan Dittberner <[email protected]>
Changed-By: Helmut Grohne <[email protected]>
Closes: 928436 943500
Changes:
 cracklib2 (2.9.6-3.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Mark libcrack2-dev Multi-Arch: same.
   * Fix FTCBFS: Revert removal of _PYTHON_* variables. (Closes: #943500)
   * Explicitly disable zlib support. (Closes: #928436)
Checksums-Sha1:
 0ae57fd3ba4f880ce88d04915790acd3380a178e 2451 cracklib2_2.9.6-3.3.dsc
 d5924a91849788880f5d92b9798ef6d15626f28e 27204 
cracklib2_2.9.6-3.3.debian.tar.xz
 2166342da6d8621999cbbfe2232bc9b00973cb3a 10824 
cracklib2_2.9.6-3.3_amd64.buildinfo
Checksums-Sha256:
 5ffb2b4a6cd5e2924f17e655aae80db7382a356b377a0db233891cbcc75f8b90 2451 
cracklib2_2.9.6-3.3.dsc
 ce54f992fc6bcddf816672d5e5e740d6b54ce3244e5d8ab5e0352076ac33d9c5 27204 
cracklib2_2.9.6-3.3.debian.tar.xz
 0635bbf306d8242a628e2c06f5d07316ff1b226fee042e9bb4c170287880eb0c 10824 
cracklib2_2.9.6-3.3_amd64.buildinfo
Files:
 923d998fd956b84356530394b7e4636d 2451 libs optional cracklib2_2.9.6-3.3.dsc
 98aa5950251619deb94b22b2975cc42d 27204 libs optional 
cracklib2_2.9.6-3.3.debian.tar.xz
 31513cd1cd87b483179d06655315549e 10824 libs optional 
cracklib2_2.9.6-3.3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETMLS2QqNFlTb+HOqLRqqzyREREIFAl/nZXoACgkQLRqqzyRE
REKOPBAAidZBmeA7xEYj6vwzwj8td2GQxlgteTLsgSW+xwK/qM/fK1JP98MxAPZj
0aoa/9MrLw+E+ssMZvtG1tcAtho3BsKbKGXxA7c0TEV8FCRxFSVs+WRSwmb0jIIN
piKb40nm16RWNw1GNFVgBm0OART3MCeGyMA40MFIi7HhfjJHCBhm3uWlO+gOmOE+
l3BOVuOflyMTsJ0jdUp/yISUbAqFnmtRczithOZDjNYxB+bsqFNP3H8feniVtrbs
8JMBMgfdWhKGVUTnNf1EEqWaVPPY4Pn3dG8g7LF2tQxemxf2c4gyTbCNo6klLnqQ
mgR7v5hhrRqCsrQd7VNn6lRim94PVX3EZLASR/W6JvkHAXyngNEqDPUxgtBQskAn
fAKRchlHgbaKH9Nyr6S7xBAlIY4a4hmqfb8++ydITYTzV4qnBiLQm4k7vXqJaRzx
rC5RPvqjLMIYy2zvQcRoWbvBDeKCvFx9Mkk0TwyaY7AU/Brf0zFOUjchJ3uYZoh6
cBiH1i+cUwXdn9avPylVftFt2HqXmOf6Opn94GJkPTtxd5fAzfeCZ4vPrr/NykNn
XNhHXGL9tjZLVZh0mG4Coo2TFSclSFesw/SRoHOdOqLkF9n3jPHjuPB8JRAelh+d
Grqbd5FCSzamsIX5hnmIQzuaF2vrWd/GNkwAku70icif06ZzKSU=
=ISjg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to