From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,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.6 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 AC0191F47C for ; Sat, 14 Jan 2023 19:32:39 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=clisp.org header.i=@clisp.org header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=KiyOmGB3; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGmGM-00076O-S4; Sat, 14 Jan 2023 14:32:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGmGL-000765-Ef for bug-gnulib@gnu.org; Sat, 14 Jan 2023 14:32:21 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGmGJ-0003JI-6R for bug-gnulib@gnu.org; Sat, 14 Jan 2023 14:32:21 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1673724736; cv=none; d=strato.com; s=strato-dkim-0002; b=DEwRNyz5tAFA4xpUzemXZjwf6njVEN6b9xxXO9b/s+bPLdFAM5YKyvlXAxzpT7Wqd3 gOBOi+hrJRKns/W/J/WclOZnekp1Cxx2p3dSZIiqjb9on2uZ90aWMBz9x70EIjrpskND Zfdlbht7YR/Ft0jP8tNhigMXKPW4eiJe7XUctP5GaoOQi/0NM3mnXiE+PmuwHhha5PXk YDyv+nqzpXYmJLGsn9Slow+OCXtpNj7gf2jUhaAefr/KGjKCqx/5o6meDaZ7tZLueFd8 LvJNKc274ndrun/kdxUHXox35QYTUgQ5K5IyJAtSbDD15nUzb2A2ica2FMFqsHhkyYPV NvXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1673724736; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=sz0bsh7YcR/c0tFKgtrQhOrFnhOxXUa5gGhOe8beMcg=; b=nFAl72QHlozFwDyMFn4+Q1AlexAQDqh2v2Zyhht5AY+QBJC4fDFToiSozNHWPCMSO5 gVexkPdFksqXB41naEGTBRwO27KS/kDosVTQGY3K2JqxnpBc+2R0eZAPxz44dRCM/+S8 l+mc3IzcS9mwbMWFr75+wazVaxBKFqjDuseHEggAz3CMEH2168n6RmUAYn6fBByW8Sso 66BPxwlaAoJVB7k/QvdbCRf+//McFmlCQ+N+fr0wnGHZklkVBgkzDem4ans5eyGtt+FJ 14Vq7PkVVoIQWODs/VJW0Cqlb4yi4P9S3AEhyHZABO9ls65ttBPLXnBA8JcxlIlR+c1g czOg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1673724736; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=sz0bsh7YcR/c0tFKgtrQhOrFnhOxXUa5gGhOe8beMcg=; b=KiyOmGB3Q9RxrLTNipLlEgAPrSz1uBkL5hb8wqIpqM0wU2zWT9pri9PU13rfpeB1ed Tg8v2OU6V4/NVkNLNBgTDzXOgURFcAi9y8Yr75/PceH/LgsONn3hCn76RvXkHWoP90Fs Xand55YPJlMOuXuDxWlhKfFv8bqOHp/eh91c13rwrWaDpcenj5aaYdaMrfLie+yT4+sg kZhonSpgbVKd3bTx1b3ZNBbQQZ0NXHdXwFFogeD2HtBpFwQ5o8y6UfXFNZLfnhej0Q/x Kt/DVuojIhoIUG0GMyqqIvXXOHq4emHtD4VAhP3jbkgld2afnhicJKQybi7QiIk6HpCH 6SxA== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOSjfw0m4uruXlh4Gg94mBBqhqR" Received: from nimes.localnet by smtp.strato.de (RZmta 48.6.2 AUTH) with ESMTPSA id I8f358z0EJWGFrW (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 14 Jan 2023 20:32:16 +0100 (CET) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: error, verror: Add tests Date: Sat, 14 Jan 2023 20:32:16 +0100 Message-ID: <3386752.DjxEtc1b9c@nimes> In-Reply-To: <3640038.8FI41Ny9JD@nimes> References: <3640038.8FI41Ny9JD@nimes> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.23; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=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-bounces+normalperson=yhbt.net@gnu.org Building an m4 snapshot on FreeBSD, with GNU gettext installed, I see a link error of 'test-error', regarding the symbol 'libintl_gettext'. This patch should fix it. 2023-01-14 Bruno Haible error, verror tests: Fix link error when the package uses libintl. * modules/error-tests (Makefile.am): Link test-error with $(LIBINTL). * modules/verror-tests (Makefile.am): Link test-verror with $(LIBINTL). diff --git a/modules/error-tests b/modules/error-tests index c0cef0f9b6..58369089e3 100644 --- a/modules/error-tests +++ b/modules/error-tests @@ -10,3 +10,4 @@ configure.ac: Makefile.am: TESTS += test-error.sh check_PROGRAMS += test-error +test_error_LDADD = $(LDADD) $(LIBINTL) diff --git a/modules/verror-tests b/modules/verror-tests index e02309658a..bd76d768c1 100644 --- a/modules/verror-tests +++ b/modules/verror-tests @@ -10,3 +10,4 @@ configure.ac: Makefile.am: TESTS += test-verror.sh check_PROGRAMS += test-verror +test_verror_LDADD = $(LDADD) $(LIBINTL)