On Tue, Apr 07, 2026 at 11:13:52PM +0200, Santiago Vila wrote:
> tags 1126962 patch
> thanks
> 
> I've posted the patch below in the github issue where this was forwarded.
> 
> Thanks.
> 
> --- a/configure.ac
> +++ b/configure.ac
> @@ -237,7 +237,7 @@ AS_IF([test "x$with_ssl" != xno], [
>  
>  # Add Gettext
>  AM_GNU_GETTEXT([external])
> -AM_GNU_GETTEXT_VERSION([0.11.1])
> +AM_GNU_GETTEXT_VERSION([0.23])
>...

There is a major difference between what Debian wants and what
autopoint does.

"autopoint --force" does *not* copy the gettext files from the latest 
gettext version, it copies the files from the exact gettext version
in AM_GNU_GETTEXT_VERSION.

E.g. AM_GNU_GETTEXT_VERSION([0.11.4]) also fixes the build since that's 
when AM_GNU_GETTEXT_VERSION was added to gettext.m4, but the package 
will be built with the gettext files from 0.11.4 (released in 2002).

This happened to work with older gettext versions where the gettext
m4 macros were shipped in the global search path.

Omitting AM_GNU_GETTEXT_VERSION works, but uses the files from 0.23.1
(not the current version 0.26).

The first question is whether this behaviour is wanted in Debian,
or whether Debian package builds should use the latest version.

cu
Adrian

Reply via email to