[From nobody Sun May 24 14:41:06 2026
Received: (at 1137421-forwarded) by bugs.debian.org; 24 May 2026 13:40:14 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-111.6 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FROMDEVELOPER,HAS_BUG_NUMBER,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 150; neutral, 102; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;sanvila@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:46714)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wR93u-002aAj-0O;
 Sun, 24 May 2026 13:40:14 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=hjxRq0Fmq+g9s0H+c8j2aCGbczVYVCpHUxW6Ms6CKAs=; b=tIR2rs/4z1HLUcWcBeSUUVuHea
 8NlyiluZW60042xXKEi7kfGbSoqAExpbP0v0R+51BJjokfpnxMp8PIjsbt80Kx/ZkQ23Jcgafl4lC
 eJqCSljePVGX+jfEZzUPLvP9eRROGEihWHymi6D8aSr0HfBBEC8G3A9GMZRuCJRDsVqOfXdxdzUyT
 IK3Ghca63qPesj0h0T12cd61QaFvT3D3x06c36mofQDlvQA6hcZ2gG3wX0bG9mpegnJa10P92TpkC
 oEiGhepWcFL6zVTJUYPaLXTUg7wSe1NcNOX7dtorkoqJGqWFKaMNkpoAEYyTJdF2pjbBySvTxD6vN
 mJjFXJyg==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wR93r-000pz4-38;
 Sun, 24 May 2026 13:40:12 +0000
Date: Sun, 24 May 2026 15:40:10 +0200
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: bug-gettext@gnu.org
Cc: 1137421@bugs.debian.org, Andreas Metzler &lt;ametzler@bebt.de&gt;
Subject: Re: Bug#1137421: p11-kit: FTBFS with gettext 1.0
Message-ID: &lt;ahL_ugn-Dax70sHk@nuc&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Debian-User: sanvila
X-CrossAssassin-Score: 2

Hello.

I found four packages in Debian which fail to build with gettext 1.0,
the bugs are available here:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-qa@lists.debian.org;tag=gettext-1.0

After filing those bugs, I received the reply below from Andreas Metzler,
maintainer of p11-kit, one of the affected packages.

So: Is this a bug in p11-kit or a bug in gettext?

Thanks.

----- Forwarded message from Andreas Metzler &lt;ametzler@bebt.de&gt; -----

Date: Sun, 24 May 2026 14:09:14 +0200
From: Andreas Metzler &lt;ametzler@bebt.de&gt;
To: Santiago Vila &lt;sanvila@debian.org&gt;, 1137421@bugs.debian.org
Subject: Re: Bug#1137421: p11-kit: FTBFS with gettext 1.0

On 2026-05-23 Santiago Vila &lt;sanvila@debian.org&gt; wrote:
&gt; Package: src:p11-kit
&gt; Version: 0.26.2-2
[...]
&gt; During a rebuild of all packages in unstable using gettext 1.0
&gt; (yet to be uploaded for Debian), this package failed to build.
[...]
&gt; autoreconf: Entering directory '.'
&gt; autoreconf: running: autopoint --force
&gt; autopoint: *** found more than one invocation of AM_GNU_GETTEXT_REQUIRE_VERSION
&gt; autopoint: *** Stop.
&gt; autoreconf: error: autopoint failed with exit status: 1
&gt; dh_autoreconf: error: autoreconf -f -i -v returned exit code 1
&gt; make: *** [debian/rules:28: binary] Error 255
&gt; dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
&gt; --------------------------------------------------------------------------------

The triggering code in p11-kit is

AM_GNU_GETTEXT_VERSION([0.19.8])
m4_ifdef([AM_GNU_GETTEXT_REQUIRE_VERSION],[
AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
])


i.e. autopoint throws an error about duplicate
AM_GNU_GETTEXT_REQUIRE_VERSION but it seems to be a false alarm.

This can be probanly worked around excatly like gnutls did in
https://gitlab.com/gnutls/gnutls/-/commit/38e5fb6613666df96cc5851ab32d4db1313ffd02
with quoting:
 AM_GNU_GETTEXT_VERSION([0.19])
-m4_ifdef([AM_GNU_GETTEXT_REQUIRE_VERSION],[
+m4_ifdef([AM_GNU_GET][TEXT_REQUIRE_VERSION],[

but isn't this an autopoint bug?

cu Andreas
-- 
&quot;You people are noisy,&quot; Nia said.
I made the gesture of agreement.

----- End forwarded message -----]