GNU bug report logs - #69418
test failure when no french locale is installed

Previous Next

Package: coreutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Mon, 26 Feb 2024 23:07:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69418 in the body.
You can then email your comments to 69418 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#69418; Package coreutils. (Mon, 26 Feb 2024 23:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 26 Feb 2024 23:07:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-coreutils <at> gnu.org
Subject: test failure when no french locale is installed
Date: Tue, 27 Feb 2024 00:05:49 +0100
[Message part 1 (text/plain, inline)]
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.

[0001-join-Avoid-test-failure-on-systems-which-have-no-Fre.patch (text/x-patch, attachment)]

Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Tue, 27 Feb 2024 14:28:02 GMT) Full text and rfc822 format available.

Notification sent to Bruno Haible <bruno <at> clisp.org>:
bug acknowledged by developer. (Tue, 27 Feb 2024 14:28:03 GMT) Full text and rfc822 format available.

Message #10 received at 69418-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Bruno Haible <bruno <at> clisp.org>, 69418-done <at> debbugs.gnu.org
Subject: Re: bug#69418: test failure when no french locale is installed
Date: Tue, 27 Feb 2024 14:18:27 +0000
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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 27 Mar 2024 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.