El 21/1/25 a las 14:18, Santiago Vila escribió:
I contacted bug-autom...@gnu.org as suggested by the error message
and they told me to try automake 1.18, but I have not had time
to do that.
After that, Holger Hoffstätte, from Gentoo, who had the same problem,
was very kind to contact me to share his findings. This is a summary.
- The automake error is triggered by the new gettext, it does not go away
when using automake 1.17 (already in unstable), and the easy fix is to use
AM_GNU_GETTEXT_REQUIRE_VERSION, as in the attached patch.
- After fixing the gettext issue, it fails in the original way again.
They managed to fix it in Gentoo, this is the URL of the Gentoo alpine
package:
https://gitweb.gentoo.org/repo/gentoo.git/tree/mail-client/alpine/alpine-2.26-r5.ebuild
Quoting Holger:
The actual compilation happens in src_compile(), where I had to split
it into 2 steps: one single-threaded, one as parallel as the system
is configured. Works fine.
Other than that we also apply all patches from upstream git to
fix building with clang-18/19 and gcc-14/15 (which I created and sent
upstream last year). I also updated the extra "chappa" patch set to
cleanly apply on top of it all.
Thanks.
--- a/configure.ac
+++ b/configure.ac
@@ -58,7 +58,7 @@ AC_PATH_PROG(MAKE, make)
dnl COMPILE-TIME OPTIONS
-AM_GNU_GETTEXT_VERSION([0.16.1])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.21])
AM_GNU_GETTEXT([external])
dnl enable dmalloc per http://dmalloc.com