Hi! On Tue, 2026-06-09 at 19:35:36 +0300, Adrian Bunk wrote: > Control: tags 1126964 + patch > Control: tags 1126964 + pending
> I've prepared an NMU for cracklib2 (versioned as 2.9.6-5.3) and uploaded > it to DELAYED/12. Please feel free to tell me if I should cancel it. Unfortunately this change introduced a regression and breaks building on musl, where the provided patch partially reverts the exiting patch that fixed this problem. > diff -Nru cracklib2-2.9.6/debian/patches/gettext0.26.patch > cracklib2-2.9.6/debian/patches/gettext0.26.patch > --- cracklib2-2.9.6/debian/patches/gettext0.26.patch 1970-01-01 > 02:00:00.000000000 +0200 > +++ cracklib2-2.9.6/debian/patches/gettext0.26.patch 2026-06-06 > 21:53:24.000000000 +0300 > @@ -0,0 +1,14 @@ > +Description: Fix FTBFS with gettext 0.26 > +Author: Adrian Bunk <[email protected]> > +Bug-Debian: https://bugs.debian.org/1126964 > + > +--- cracklib2-2.9.6.orig/configure.ac > ++++ cracklib2-2.9.6/configure.ac > +@@ -55,7 +55,6 @@ AC_CHECK_FUNCS(strdup) > + AC_CHECK_FUNCS(getpwuid_r) > + > + dnl internationalization macros > +-AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8]) > + AM_GNU_GETTEXT_VERSION([0.19.6]) > + AM_GNU_GETTEXT([external]) > + > diff -Nru cracklib2-2.9.6/debian/patches/series > cracklib2-2.9.6/debian/patches/series > --- cracklib2-2.9.6/debian/patches/series 2024-11-20 12:47:40.000000000 > +0200 > +++ cracklib2-2.9.6/debian/patches/series 2026-06-06 21:53:24.000000000 > +0300 > @@ -6,3 +6,4 @@ > fix-musl-linux-any-build > python3.12-support.patch > python3.13-unittest.patch > +gettext0.26.patch I looked at this at Helmut request, and came up with the following minimal fix (attached) which should be the correct fix to make the package be able to use latest gettext versions. For the more exhaustive autotools fixes I sent a PR upstream at <https://github.com/cracklib/cracklib/pull/128>. Thanks, Guillem
diff --git i/debian/patches/gettext0.26.patch w/debian/patches/gettext0.26.patch index 8f2e6c1..72b2a51 100644 --- i/debian/patches/gettext0.26.patch +++ w/debian/patches/gettext0.26.patch @@ -1,14 +1,63 @@ Description: Fix FTBFS with gettext 0.26 -Author: Adrian Bunk <[email protected]> + Do not use the obsolete ALL_LINGUAS which is no longer supported by newer + gettext version, and causes the build process to no longer be able to find + the locale files. +Author: Guillem Jover <[email protected]> Bug-Debian: https://bugs.debian.org/1126964 +Forwarded: https://github.com/cracklib/cracklib/pull/128 ---- cracklib2-2.9.6.orig/configure.ac -+++ cracklib2-2.9.6/configure.ac -@@ -55,7 +55,6 @@ AC_CHECK_FUNCS(strdup) - AC_CHECK_FUNCS(getpwuid_r) - - dnl internationalization macros --AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8]) - AM_GNU_GETTEXT_VERSION([0.19.6]) - AM_GNU_GETTEXT([external]) +--- + configure.ac | 3 --- + po/LINGUAS | 35 +++++++++++++++++++++++++++++++++++ + 2 files changed, 35 insertions(+), 3 deletions(-) + +--- a/configure.ac ++++ b/configure.ac +@@ -4,9 +4,6 @@ AM_INIT_AUTOMAKE + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_MACRO_DIR([m4]) +-dnl Set of available languages. +-ALL_LINGUAS="as bn_IN cs da de el es fi fr gu hi hu it ja kn ko lt nb nl ml mr or pa pl pt_BR pt ru sl_SI sk ta te tr uk zh_CN zh_TW" +- + dnl Checks for programs. + AC_PROG_LIBTOOL + AC_PROG_CC +--- /dev/null ++++ b/po/LINGUAS +@@ -0,0 +1,35 @@ ++as ++bn_IN ++cs ++da ++de ++el ++es ++fi ++fr ++gu ++hi ++hu ++it ++ja ++kn ++ko ++lt ++nb ++nl ++ml ++mr ++or ++pa ++pl ++pt_BR ++pt ++ru ++sl_SI ++sk ++ta ++te ++tr ++uk ++zh_CN ++zh_TW diff --git i/debian/rules w/debian/rules index 4fea99c..85301fd 100755 --- i/debian/rules +++ w/debian/rules @@ -29,7 +29,6 @@ export _PYTHON_HOST_PLATFORM=$(DEB_HOST_ARCH_OS)-$(DEB_HOST_GNU_CPU) export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH) override_dh_auto_configure: - aclocal && libtoolize && automake --add-missing && autoreconf mkdir -p $(CURDIR)/debian/buildtmp/base cd $(CURDIR)/debian/buildtmp/base; \ $(CURDIR)/configure \

