GNU bug report logs -
#69418
test failure when no french locale is installed
Previous Next
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.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 27 Feb 2024 14:18:27 +0000
with message-id <63229502-7f4e-953f-45f8-146763232d03 <at> draigBrady.com>
and subject line Re: bug#69418: test failure when no french locale is installed
has caused the debbugs.gnu.org bug report #69418,
regarding test failure when no french locale is installed
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
69418: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69418
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (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)]
[Message part 5 (message/rfc822, inline)]
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.
This bug report was last modified 1 year and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.