Your message dated Thu, 25 Aug 2016 16:35:26 +0000
with message-id <[email protected]>
and subject line Bug#792860: fixed in cracklib2 2.9.2-3
has caused the Debian Bug report #792860,
regarding FTCBFS: invokes host-arch executable cracklib-packer
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.)
--
792860: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792860
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cracklib2
Version: 2.9.2-1
Tags: patch
User: [email protected]
Usertags: rebootstrap
Dear cracklib2 maintainers,
I noticed that cracklib2 fails to cross build from source. The culprit
is that the cross built cracklib-packer gets executed as part of the
build, but cross builds do not allow executing host arch executables.
Unfortunately, cracklib-packer is both installed into cracklib-runtime
and used as a build tool, so simply switching to the build arch compiler
would be wrong.
Instead, I am proposing to add a build dependency on
"cracklib-runtime:native <cross>". The "cross" build profile ensures
that during native builds there is no cyclic build dependency. The
":native" annotation ensures that the build arch version is selected.
Furthermore, debian/rules need to be adapted to use
/usr/sbin/cracklib-packer during cross builds.
I am attaching a patch that implements the above plan. Please consider
applying it. If in doubt, don't hesitate to ask for more details
concerning the identified problem or the proposed solution.
Helmut
diff -Nru cracklib2-2.9.2/debian/changelog cracklib2-2.9.2/debian/changelog
--- cracklib2-2.9.2/debian/changelog
+++ cracklib2-2.9.2/debian/changelog
@@ -1,3 +1,10 @@
+cracklib2 (2.9.2-1.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Use build arch cracklib-packer during cross compilation. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Sun, 19 Jul 2015 09:06:24 +0200
+
cracklib2 (2.9.2-1) unstable; urgency=medium
* New upstream version (Closes: #724570)
diff -Nru cracklib2-2.9.2/debian/control cracklib2-2.9.2/debian/control
--- cracklib2-2.9.2/debian/control
+++ cracklib2-2.9.2/debian/control
@@ -8,6 +8,7 @@
automake (>= 1.10),
autotools-dev,
chrpath,
+ cracklib-runtime:native <cross>,
debhelper (>= 9),
docbook-utils,
docbook-xml,
diff -Nru cracklib2-2.9.2/debian/rules cracklib2-2.9.2/debian/rules
--- cracklib2-2.9.2/debian/rules
+++ cracklib2-2.9.2/debian/rules
@@ -17,6 +17,12 @@
NOPYTHON_OPTIONS = -Npython-cracklib -Npython3-cracklib
endif
+ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CRACKLIB_PACKER=$(CURDIR)/debian/buildtmp/base/util/cracklib-packer
+else
+CRACKLIB_PACKER=/usr/sbin/cracklib-packer
+endif
+
override_dh_auto_configure:
aclocal && libtoolize && automake --add-missing && autoreconf
mkdir -p $(CURDIR)/debian/buildtmp/base
@@ -57,7 +63,7 @@
override_dh_auto_test:
mkdir $(CURDIR)/debian/tmp
ifneq ($(DEB_STAGE),stage1)
- $(CURDIR)/debian/buildtmp/base/util/cracklib-packer
$(CURDIR)/debian/tmp/cracklib_dict < \
+ $(CRACKLIB_PACKER) $(CURDIR)/debian/tmp/cracklib_dict < \
$(CURDIR)/dicts/cracklib-small
for i in $(PYVERS) $(PY3VERS); do \
cd $(CURDIR)/debian/buildtmp/python$$i/python/$(call
py_builddir_sh,$$i); \
@@ -91,7 +97,7 @@
$(CURDIR)/debian/libcrack2-udeb/usr/lib/$(DEB_HOST_MULTIARCH)
cp -r $(CURDIR)/debian/libcrack2/usr/share/locale/* \
$(CURDIR)/debian/libcrack2-udeb/usr/share/locale
- $(CURDIR)/debian/buildtmp/base/util/cracklib-packer
$(CURDIR)/debian/libcrack2-udeb/var/cache/cracklib/cracklib_dict < \
+ $(CRACKLIB_PACKER)
$(CURDIR)/debian/libcrack2-udeb/var/cache/cracklib/cracklib_dict < \
$(CURDIR)/dicts/cracklib-small
# move files to libcrack2-dev
mkdir -p $(CURDIR)/debian/libcrack2-dev/usr/lib/$(DEB_HOST_MULTIARCH)
--- End Message ---
--- Begin Message ---
Source: cracklib2
Source-Version: 2.9.2-3
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.
Jan Dittberner <[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: Thu, 25 Aug 2016 17:29:17 +0200
Source: cracklib2
Binary: libcrack2 libcrack2-udeb libcrack2-dev cracklib-runtime python-cracklib
python3-cracklib
Architecture: source amd64
Version: 2.9.2-3
Distribution: unstable
Urgency: medium
Maintainer: Jan Dittberner <[email protected]>
Changed-By: Jan Dittberner <[email protected]>
Description:
cracklib-runtime - runtime support for password checker library cracklib2
libcrack2 - pro-active password checker library
libcrack2-dev - pro-active password checker library - development files
libcrack2-udeb - pro-active password checker library (udeb)
python-cracklib - Python bindings for password checker library cracklib2
python3-cracklib - Python3 bindings for password checker library cracklib2
Closes: 792860 835386
Changes:
cracklib2 (2.9.2-3) unstable; urgency=medium
.
* Fix "Buffer overflow processing long words" by applying patch from
https://build.opensuse.org/package/view_file/Base:System/cracklib/
0004-overflow-processing-long-words.patch (Closes: #835386)
* remove obsolete debian/pycompat
* change Vcs-* fields to https variants
* Bump Standards-Version to 3.9.8 (no changes)
* Fix "FTCBFS: invokes host-arch executable cracklib-packer" by applying
Helmut Grohne's patch to fix cross compilation (Closes: #792860)
Checksums-Sha1:
8735e2129d321f1b149208f8cedc39818332f77d 2135 cracklib2_2.9.2-3.dsc
66187945fddab66d06ca5c26ee89c8c21576628c 26076 cracklib2_2.9.2-3.debian.tar.xz
0ef72460543939650683410f4dadddb26c076474 10462
cracklib-runtime-dbgsym_2.9.2-3_amd64.deb
7d7446cc7959d3c5123c1a1407fa93a8791bdb83 148288
cracklib-runtime_2.9.2-3_amd64.deb
9c09decb5ebfc7cd37835f4d65b07b0c055842e2 21484
libcrack2-dbgsym_2.9.2-3_amd64.deb
9a512ab4ae1fe02e98a696d0936afbb4f745cbc6 31518 libcrack2-dev_2.9.2-3_amd64.deb
04eaf761e6d0ddd3c5edf5559fc5fd15cf47e304 119980
libcrack2-udeb_2.9.2-3_amd64.udeb
a73b88bd3f55650c725bf1ae97033e53dd8b8e9c 54666 libcrack2_2.9.2-3_amd64.deb
02b0759154380b4416ca8e9cd6c7e3bdeabb328a 13106
python-cracklib-dbgsym_2.9.2-3_amd64.deb
3ac03f8ca8e8499c02a36f06c0cb4eb91b67ffc5 23050
python-cracklib_2.9.2-3_amd64.deb
70a3bd21f18533da31d26d014451231c29a49976 14078
python3-cracklib-dbgsym_2.9.2-3_amd64.deb
ee34b9f177d00648c642c53202577992a12a2ec8 23106
python3-cracklib_2.9.2-3_amd64.deb
Checksums-Sha256:
787f139a38ca2aca075d1bde8f3f54ec967ad7f1ae550170a73c18b2104ac045 2135
cracklib2_2.9.2-3.dsc
3d7974ef20ce8e060da5138527453e4e80b7d0ed0139137b2fa30115188569e1 26076
cracklib2_2.9.2-3.debian.tar.xz
c9ac3c26503173f2f7a7ffe973426bb88adca719f36820f7a0887d04c27b34d2 10462
cracklib-runtime-dbgsym_2.9.2-3_amd64.deb
84e0de787b633d7c699489cb32b6122736b5e340cc0ec97b897bbbb75447e365 148288
cracklib-runtime_2.9.2-3_amd64.deb
3016a4c7c9294f77205fd3ad60712de64b8a2a1afd3991c7023572b46186e0e6 21484
libcrack2-dbgsym_2.9.2-3_amd64.deb
0c4e583df6d47417a048c202ca2203e18a744ac86d6909b7e4337c2519e9b757 31518
libcrack2-dev_2.9.2-3_amd64.deb
31098e4022440071291b5c94b4c5d38a08b050b64bd85d3095ed8c61b37ba0f8 119980
libcrack2-udeb_2.9.2-3_amd64.udeb
b243e24dc5ff96dbc3f522a360946a0b6d2db3e583ead518652b2c9eebe75f34 54666
libcrack2_2.9.2-3_amd64.deb
2ac13ed546750cc50ef4a32a7096b5a1edaab13b7389a028b2d48ca3c50fade9 13106
python-cracklib-dbgsym_2.9.2-3_amd64.deb
4939402d07f79b4d2e9f1f4ae7dc92c23220cc6594a9bdf8675b13de773a3ecf 23050
python-cracklib_2.9.2-3_amd64.deb
de3345f8da93306f1d9cba8f64fe5b190c028f97ef9d8af85518e911e225a929 14078
python3-cracklib-dbgsym_2.9.2-3_amd64.deb
2805738f52794d526f90ea44f24f47ce0d47b3d2c09b2a17fe77d7e135c3c329 23106
python3-cracklib_2.9.2-3_amd64.deb
Files:
8d457bc8e5d52242ee56aa576bfedc12 2135 libs optional cracklib2_2.9.2-3.dsc
f1595bee22a2426355be686b7597fb13 26076 libs optional
cracklib2_2.9.2-3.debian.tar.xz
e2ed470ef657ccebcf9e586151b00c5e 10462 debug extra
cracklib-runtime-dbgsym_2.9.2-3_amd64.deb
4bac2af4a82271866376d3d69ae4e0fa 148288 admin optional
cracklib-runtime_2.9.2-3_amd64.deb
be4a55f12946c63cf0826e556f6e75d4 21484 debug extra
libcrack2-dbgsym_2.9.2-3_amd64.deb
e710fbdd95b764e25c0116ca05e0ade8 31518 libdevel extra
libcrack2-dev_2.9.2-3_amd64.deb
3ad0b0020b4a8c018b53726de6165360 119980 debian-installer optional
libcrack2-udeb_2.9.2-3_amd64.udeb
2bc6c3c32822551a87a272a6397232e8 54666 libs optional
libcrack2_2.9.2-3_amd64.deb
d9a75cb995267cb00fd8606b53a5904c 13106 debug extra
python-cracklib-dbgsym_2.9.2-3_amd64.deb
4992564de75bf4bd216c7de60a732c77 23050 python optional
python-cracklib_2.9.2-3_amd64.deb
df0f147c85b3fd93d3303aaae5b3ee3c 14078 debug extra
python3-cracklib-dbgsym_2.9.2-3_amd64.deb
5cb529ce8e5be640f0136f28c9eab3ee 23106 python optional
python3-cracklib_2.9.2-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCgAGBQJXvxMJAAoJEA15HcjXN8HZmfQH/jEwO4tbCyxl7x8cMmh2e0Ji
rgxfUQtIFLr0iGKLNAQBZgoWZhnqqDKVoRCvHPrghOYBwkCPuI5DIXd5ZfKGXX6q
7w/EesfRmji12v8ceCUbzhPPMWafwK3rygQJEtXubcfdo0naudymOQccmp4a9D7a
yc+Kf9XlT1EA4QQjewu1slBU4FbGlURaPyH73Wz1hv6NW/Nx3f+O6SECG2JlMTIP
9WQnCoLev6u0z9uPNfsg632XJ+rkMODWn6coFbpBKj/XSUPHfHz4bQvYhIcYwm+e
VfAgAqtoCpaI0YMNBTDGB83AvDeXLtcRLObEIFHD7jbLOrenFnmpjVRzWJpahwE=
=hOWW
-----END PGP SIGNATURE-----
--- End Message ---