From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 74DB71F953 for ; Tue, 23 Nov 2021 20:02:59 +0000 (UTC) Received: from localhost ([::1]:38480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpc0I-0000zQ-C7 for normalperson@yhbt.net; Tue, 23 Nov 2021 15:02:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpbzi-0000dD-Kd for bug-gnulib@gnu.org; Tue, 23 Nov 2021 15:02:22 -0500 Received: from uggla.sjd.se ([178.174.241.107]:51300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpbze-0007UK-Va for bug-gnulib@gnu.org; Tue, 23 Nov 2021 15:02:22 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=Pa6XKztP3R2MJZ+Kma2u/9WvCiyjg1rH7P7blH+/OMQ=; t=1637697736; x=1638907336; b=mpLLFPuqCRiENCBRXD+bXbVQwrOeOyGEyv5sNz6uUoK4Ucz XqWNWYlrtA3JMZ4VCd2bolhPZN75Zqk7DVRr5Dw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=Pa6XKztP3R2MJZ+Kma2u/9WvCiyjg1rH7P7blH+/OMQ=; t=1637697736; x=1638907336; b=RMTe3sJiU49lWzv2UPnSJna93+DgXivFHWCB6L+GRBhIrk2 pW6bgcnATyst/jXXtF6xXTIuwiZq/TA4D3kwB8ysU7+h3pCA0LIX9hFtNfCAAqsT+so/vW5r7BN+x 6NKin4AjMZ0qdN723qQtJdb5cB9AKdX2IXSSbE7wgVQYUlTiY/UHPMxp0QZoygs95uq/SmAOFdaky 3AfqKwiGyMf3drijO30kamF6XaOVzO7mG0OeS4xgi2p24b1cSJvk2lPXeo+6Rgq2jakqroIGaf9zZ hDFFMhzhXI5XN9LXMp6iiTDVWypjMvi1rIclt/VhxqEmE/zvtzhfY1EFykE68e/1yZRKok2OdNw8K +LB3kFsKiAPcPe4HOcGrGfwD+kFxgtm77YYniLa3ww4n0HiQNek39mTa5BJe4Ow5W+8U6meZdNfzQ wC3SFLKPTtCRFlXbGXL2ekNO; Received: from [2001:9b1:41ac:ff00:3569:bb43:87ab:f518] (port=32996 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mpbzW-004znE-Az for bug-gnulib@gnu.org; Tue, 23 Nov 2021 21:02:10 +0100 X-Hashcash: 1:22:211123:bug-gnulib@gnu.org::42irPRds9bnOhVXZ:7RN1 To: bug-gnulib@gnu.org Subject: Prefer AM_GNU_GETTEXT_REQUIRE_VERSION? OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Tue, 23 Nov 2021 21:02:09 +0100 Message-ID: <87ee76wshq.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=178.174.241.107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Reply-to: Simon Josefsson From: Simon Josefsson via Gnulib discussion list --=-=-= Content-Type: text/plain Hi. This may mostly be for Bruno, but I believe it is more relevent to gnulib than gettext, even though it is gettext-related, and maybe others on this list can provide feedback too. I got a bug report that suggested using AM_GNU_GETTEXT_REQUIRE_VERSION: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999510 The suggestion boils down to: -AM_GNU_GETTEXT_VERSION([0.19.3]) +AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8]) +AM_GNU_GETTEXT_VERSION([0.19.6]) Libidn2 (and many other packages) contains: AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.19.3]) Reading gettext NEWS suggests to me that 0.19.8 fixed something for musl, and that this gettext fix is what is needed to build packages using gettext on that platform. Am I understanding correct? If so, my usage of AM_GNU_GETTEXT_VERSION([0.19.3]) seems indeed problematic because it leads to a too old gettext infrastructure being pulled in. It would be nice if my package used the latest available gettext files during bootstrapping, so I should use this: AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6]) AM_GNU_GETTEXT_VERSION([0.19.6]) Then assuming the person rebootstrapping libidn2 using a sufficiently modern gettext (>=0.19.8) will get the acceptable fixes for musl. Before fixing this, it occured to me that this seems like something that should be generally true for any project using gettext. Thoughts? Why wouldn't you want gettext to use the latest available infrastructure files? The situation seems similar to libtool's M4 handling. Thus I would prefer to write a 'make syntax-check' rule to catch this, and suggest that all packages should use AM_GNU_GETTEXT_REQUIRE_VERSION to get latest gettext files included in them. Thoughts? /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYZ1IwRQcc2ltb25Aam9z ZWZzc29uLm9yZwAKCRBRcisI/kdFoidYAQDXnaTkXlUqeCt2ZtVkcx+OQL4gvjrr pVHTd6wYyTqB3QD/beW9QN/AE+SY5c5yxQ+NLbrfzNEJjOBxWkSjjzY0DQQ= =ABwM -----END PGP SIGNATURE----- --=-=-=--