From unknown Sun Aug 10 16:48:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#69418 <69418@debbugs.gnu.org> To: bug#69418 <69418@debbugs.gnu.org> Subject: Status: test failure when no french locale is installed Reply-To: bug#69418 <69418@debbugs.gnu.org> Date: Sun, 10 Aug 2025 23:48:53 +0000 retitle 69418 test failure when no french locale is installed reassign 69418 coreutils submitter 69418 Bruno Haible severity 69418 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 26 18:06:27 2024 Received: (at submit) by debbugs.gnu.org; 26 Feb 2024 23:06:27 +0000 Received: from localhost ([127.0.0.1]:47115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rek3H-00051k-5M for submit@debbugs.gnu.org; Mon, 26 Feb 2024 18:06:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:35708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rek3E-00051X-Nn for submit@debbugs.gnu.org; Mon, 26 Feb 2024 18:06:25 -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 1rek2o-0007v3-Ik for bug-coreutils@gnu.org; Mon, 26 Feb 2024 18:05:58 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.219]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rek2i-0002gZ-UA for bug-coreutils@gnu.org; Mon, 26 Feb 2024 18:05:58 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1708988749; cv=none; d=strato.com; s=strato-dkim-0002; b=GjugbqL3KlS39hAYCp31SoSZUSKAd+7PBKJmxybvUwNbnGAUza9qhfP84w/wrocVu+ 3BPzCnh9IaJEAYz2wIi7VplCPKlKHzHqzmRklYFnh6U9ogJvAoIS4zxot4+iRwDWBcJV SjW3SG/VYLuDOFHVyyReAXekHZnRW2G70cguaMNKDwHXd/x3favusxyc6y5BvaSrDJDK cFA/IW6193qEw1fD+VWE2DtfnBydvp2hulpEfZm10vca/uf6MwP9eSdDggH8V+4LJUzT HBxdLMj6YQ/3yqFrKJe2RpdcJSQiej8Mtk5uyoeK6PrLqxkh2oXX9qv+Uf9Hn+ZEMeJG eXuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1708988749; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=nn0ZtPfrSYKfcdNoo4gRb8wtrjgzWnjSVok3v0xb7JU=; b=dj2fJ1bRfv3sTd5rQ1vpeXCXAhtep7jyKR26VAfkQaI93ES5trQygmaAqsEIiI1uva qeCffT9niEZLM2dK6JOyNpfgoZpKZDGfFiItBZumdZekGbt/riVpIQwChJaBLlua42mF lGKLgh4ZcHiGc4Rq7nTDIqpjxEVwnBvOBpUB1oQ4Lh94pl/dDMz2x9fbse82PLvQ3NE6 /z4iZ7QZx9xaMV43+PZ29oBMi7pk+VbQ1NqkI4UwUojMcln4v6S/Rxl0mUmoJk+cHkVa Hrt+Yigoc+ExqadOwaxbFTqUZe55t+bf202EYdBdDPvxPDdj8QJglisr58irkZoaTWXV EC9w== 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=1708988749; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=nn0ZtPfrSYKfcdNoo4gRb8wtrjgzWnjSVok3v0xb7JU=; b=H6uKBGJe0CXuFzniQxlRBRYUOUcaV/Z6vxoavxmu1otQpMGBPvYezTug5EsoX+9Ls1 vah+kpRxj+DrLAktGJiRnniM5DYh/AsXZqnOOw2GDn5Ygppw0XJHZj5e4JGRQUoOS352 XEnwDJ2bIELUaXbIP82Ys+SJV7Xod7wqgTc8m0Dk3XewfMSAFpkwd5c7hFnXivjhh3Af a/QHZNkCECKrIg7T5VPa4MD1omK+JCdPGRDlM7s9ccqjVDCZ0b79xWNCSr3tzg+l5dTi Ylq9UwfCdvcABcvH59gbfLz5xVfG15pUIAN0W9jmuUezPRo3ZFMXknQ7cXj/ZLEgLX+Z ARpg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1708988749; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=nn0ZtPfrSYKfcdNoo4gRb8wtrjgzWnjSVok3v0xb7JU=; b=70bOcPZ0T3l5Z6XmWVg8kMvlUZnRjJWUOznt/AK9kHlogkmQojfXXJ9xva0PS+1F2X j04GcPLHmiSZCr2ykJAg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpPE2KTnFhiPrNYJIYWobHbXY5s6" Received: from nimes.localnet by smtp.strato.de (RZmta 50.0.4 AUTH) with ESMTPSA id m33cbe01QN5nCFv (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 27 Feb 2024 00:05:49 +0100 (CET) From: Bruno Haible To: bug-coreutils@gnu.org Subject: test failure when no french locale is installed Date: Tue, 27 Feb 2024 00:05:49 +0100 Message-ID: <9669686.MhkbZ0Pkbq@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart5538283.VLH7GnMWUR" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=81.169.146.219; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --nextPart5538283.VLH7GnMWUR Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Testing the current coreutils git master: On a Debian 12 system, in which I have not installed a French UTF-8 locale, I see a test failure of tests/misc/join-utf8. The essential lines from test-suite.log: + test set = set + LC_ALL=none ../tests/misc/join-utf8.sh: line 24: warning: setlocale: LC_ALL: cannot change locale (none): No such file or directory The cause is that on such a system, LOCALE_FR_UTF8, as determined by gnulib/m4/locale-fr.m4, is 'none', not empty or absent. The attached patch fixes the failure. --nextPart5538283.VLH7GnMWUR Content-Disposition: attachment; filename="0001-join-Avoid-test-failure-on-systems-which-have-no-Fre.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-join-Avoid-test-failure-on-systems-which-have-no-Fre.patch" >From 74be78b1efba477016c153e0eacc93a3c661e748 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 26 Feb 2024 22:33:18 +0100 Subject: [PATCH] join: Avoid test failure on systems which have no French UTF-8 locale * tests/misc/join-utf8.sh: Test the value of LOCALE_FR_UTF8 against 'none', not against a missing value. --- tests/misc/join-utf8.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/misc/join-utf8.sh b/tests/misc/join-utf8.sh index 2dbe2bb81..9af9e55ce 100755 --- a/tests/misc/join-utf8.sh +++ b/tests/misc/join-utf8.sh @@ -19,7 +19,7 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ join -test "${LOCALE_FR_UTF8+set}" = set || skip_ "French UTF-8 locale not available" +test "$LOCALE_FR_UTF8" != none || skip_ "French UTF-8 locale not available" LC_ALL=$LOCALE_FR_UTF8 export LC_ALL -- 2.34.1 --nextPart5538283.VLH7GnMWUR-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 27 09:27:35 2024 Received: (at 69418-done) by debbugs.gnu.org; 27 Feb 2024 14:27:35 +0000 Received: from localhost ([127.0.0.1]:56322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reyQf-0000ra-2H for submit@debbugs.gnu.org; Tue, 27 Feb 2024 09:27:35 -0500 Received: from mail-ej1-f46.google.com ([209.85.218.46]:54621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reyQZ-0000rA-LW for 69418-done@debbugs.gnu.org; Tue, 27 Feb 2024 09:27:31 -0500 Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a3d01a9a9a2so441211066b.1 for <69418-done@debbugs.gnu.org>; Tue, 27 Feb 2024 06:27:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709043955; x=1709648755; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=pGIzhZ8xGlzAtXzRqKYVpyAETIUzGseHsgLlz+06OM8=; b=fmr3CkOO9Z0ZdYgAXVhqrK1MjU0EqNWsx6Ah9PPmOKFHsou/rFV8Oza5mPFfYCJTTE +XMOZLDD2RZlqkEX2EAzKZKx2dCuVy0WlbfDeDKrE+3RaybqNjY6csr5YxZzr/sr8E4r sKSOVX1WMxYzPxCNVlgWEdoWTELZpLM9cZAM5l52POi/YST9zCChvIqBaEwMLGe0PiS+ YCOSPXBTFF2nZxsP+5mbMdRGPpiIt9njlk5lpsE4kamac03XLZUrfIbyBc6LkYfK7naa z9xBrxQHHhnxBJNwjWC3TWvFf+ht4kMj3hNpIN3Jf4HzkY82iohd9sA6hiEs/tdHQGRc rGVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709043955; x=1709648755; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pGIzhZ8xGlzAtXzRqKYVpyAETIUzGseHsgLlz+06OM8=; b=L190orUfSxNrhrpUGIYOyt/EC/Crsr/6/hn5icsDvZyiht8hcOtqSqK2mk+Z+qe4QP AVZzY1WbQBaWYzAWSPTcK8FZ1sHmAtToKgGU4NU1AZIYKo98DY2IkVNtg8FS2QhTruN/ BdDUeH6zTJKrZW+JD6I7Un1cgAVsCnSJ/eHdQu9giBDChrqfPl0KrEQSi1KR8I3KaExH HC+poRxrYH02rqfgDKWXYta7XI71sg3KMtT+yUIzI4PEuvrlQcJcUrmFw5rA9fJhl7V7 MGcLg5ZJmfjXnPo5BjOk+aVlLw5C9AeYyHdB45kOjhNDa2Gow1ygbUp7rwb9RS8hxkfl ptzg== X-Forwarded-Encrypted: i=1; AJvYcCUWx+hrWUHLrQml03nws5ii3Orx7mqLCKfOiqolbMldijSlin/E700uXjdfYB1G/ZjXnV9yizIM+qQAZIebk4NUdx6Kjek/Hwy5mg== X-Gm-Message-State: AOJu0YxLbRlZx8I0QXqsZdbYJNJglAR41WupsxewWo6RdZLl/sM3UUpz y5t2mQ0p0hZmqspgJljL5ikpE9NkFOzARvJz7gIN/ZUMigfWB1Rtb5vU4sYQ X-Google-Smtp-Source: AGHT+IFtuD6c9C8FMqnUlQnM7C2Z0eDcyu64mQfZLyUgfz7aG7FZuVwSytSY3gqpItSUvrGQ+KiPTg== X-Received: by 2002:a2e:9215:0:b0:2d2:91d1:a72c with SMTP id k21-20020a2e9215000000b002d291d1a72cmr2680351ljg.6.1709043507898; Tue, 27 Feb 2024 06:18:27 -0800 (PST) Received: from [192.168.1.46] (86-40-129-3-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.40.129.3]) by smtp.googlemail.com with ESMTPSA id o9-20020a5d4a89000000b0033df1dc39f0sm1761702wrq.4.2024.02.27.06.18.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Feb 2024 06:18:27 -0800 (PST) Message-ID: <63229502-7f4e-953f-45f8-146763232d03@draigBrady.com> Date: Tue, 27 Feb 2024 14:18:27 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#69418: test failure when no french locale is installed Content-Language: en-US To: Bruno Haible , 69418-done@debbugs.gnu.org References: <9669686.MhkbZ0Pkbq@nimes> From: =?UTF-8?Q?P=C3=A1draig_Brady?= In-Reply-To: <9669686.MhkbZ0Pkbq@nimes> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 69418-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On 26/02/2024 23:05, Bruno Haible wrote: > Testing the current coreutils git master: > > On a Debian 12 system, in which I have not installed a French UTF-8 locale, > I see a test failure of tests/misc/join-utf8. > > The essential lines from test-suite.log: > > + test set = set > + LC_ALL=none > ../tests/misc/join-utf8.sh: line 24: warning: setlocale: LC_ALL: cannot change locale (none): No such file or directory > > The cause is that on such a system, LOCALE_FR_UTF8, as determined by > gnulib/m4/locale-fr.m4, is 'none', not empty or absent. > > The attached patch fixes the failure. > Applied. This also indicates that gnulib ensures that LOCALE_FR_UTF8 is set to "none" when not present or usable, so I've made that simplification in other tests now. Marking this as done. thanks! Pádraig. From unknown Sun Aug 10 16:48:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Mar 2024 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator