Thread View: linux.debian.bugs.dist
3 messages
3 total messages
Started by Guillem Jover
Sat, 17 Oct 2026 22:50
Bug#1126964: cracklib2: diff for NMU version 2.9.6-5.3
Author: Guillem Jover
Date: Sat, 17 Oct 2026 22:50
Date: Sat, 17 Oct 2026 22:50
149 lines
6413 bytes
6413 bytes
--x0q/ZUi/Ala0aTlQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 <bunk@debian.org> > +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 --x0q/ZUi/Ala0aTlQ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename=cracklib2-musl-regression.patch 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 <bunk@debian.org> + 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 <guillem@hadrons.org> 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 \ --x0q/ZUi/Ala0aTlQ--
Bug#1126964: cracklib2: diff for NMU version 2.9.6-5.3
Author: Helmut Grohne
Date: Tue, 10 Nov 2026 19:00
Date: Tue, 10 Nov 2026 19:00
6 lines
2057 bytes
2057 bytes
Control: severity -1 normal As much as I'd like to see this fixed, serious is not the correct severity for a musl porting bug. Helmut
Bug#1126964: cracklib2: diff for NMU version 2.9.6-5.3
Author: Helmut Grohne
Date: Tue, 10 Nov 2026 20:00
Date: Tue, 10 Nov 2026 20:00
6 lines
2150 bytes
2150 bytes
Control: severity 1126964 serious Control: severity 1153664 normal Hopefully, I get it right this time. Helmut
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads