Source: xz-utils
Version: 5.2.4-1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

xz-utils fails to build from source for musl-linux-any, because it uses
an old version of the gettext check that is not yet aware of C libraries
other than glibc and therefore thinks that musl didn't have a gettext.
Consequently, it opts out of using gettext and skips locale generation,
which ultimately makes the build fail.

Fortunately, the gettext macros have been fixed now and all we need to
do here is bump up the macro version being used. Note that there are
still symbol issues for xz-utils, which are not part of this bug. Please
consider applying the attached patch and close this bug when doing so.

Helmut
--- a/configure.ac
+++ b/configure.ac
@@ -609,7 +609,8 @@

 echo
 echo "Initializing gettext:"
-AM_GNU_GETTEXT_VERSION([0.19])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
+AM_GNU_GETTEXT_VERSION([0.19.6])
 AM_GNU_GETTEXT([external])


Reply via email to