Re: texinfo-6.8: Test failing

2021-07-06 Thread Eli Zaretskii
> From: Gavin Smith > Date: Tue, 6 Jul 2021 13:10:59 +0100 > Cc: pertu...@free.fr, chris2...@googlemail.com, bug-texinfo@gnu.org > > > What will happen on platforms that don't have the 'locale' command > > installed (MS-Windows)? Should the code perhaps refrain from invoking > > the command if i

Re: texinfo-6.8: Test failing

2021-07-06 Thread Gavin Smith
On Tue, Jul 06, 2021 at 02:39:09PM +0300, Eli Zaretskii wrote: > > From: Gavin Smith > > Date: Mon, 5 Jul 2021 23:09:10 +0100 > > > > In commit 8e53ffed59 I added code to run "locale -a" as a backup; hopefully > > this will mostly resolve this issue. > > What will happen on platforms that don't

Re: texinfo-6.8: Test failing

2021-07-06 Thread Eli Zaretskii
> From: Gavin Smith > Date: Mon, 5 Jul 2021 23:09:10 +0100 > > In commit 8e53ffed59 I added code to run "locale -a" as a backup; hopefully > this will mostly resolve this issue. What will happen on platforms that don't have the 'locale' command installed (MS-Windows)? Should the code perhaps re

Re: texinfo-6.8: Test failing

2021-07-06 Thread Patrice Dumas
On Mon, Jul 05, 2021 at 11:09:10PM +0100, Gavin Smith wrote: > > In commit 8e53ffed59 I added code to run "locale -a" as a backup; hopefully > this will mostly resolve this issue. Looks good to me. Some testing on platforms that do not have the en_US locales and also do not have locale -a (if su

Re: texinfo-6.8: Test failing

2021-07-06 Thread Chris Clayton
On 05/07/2021 23:09, Gavin Smith wrote: > On Mon, Jul 05, 2021 at 06:09:37PM +0200, Patrice Dumas wrote: >> On Mon, Jul 05, 2021 at 11:36:55AM +0100, Gavin Smith wrote: >>> >>> Yes I agree, if we can't make the test pass in the case that no locales >>> are installed. >>> >>> It's a frustrating pr

Re: texinfo-6.8: Test failing

2021-07-05 Thread Gavin Smith
On Mon, Jul 05, 2021 at 06:09:37PM +0200, Patrice Dumas wrote: > On Mon, Jul 05, 2021 at 11:36:55AM +0100, Gavin Smith wrote: > > > > Yes I agree, if we can't make the test pass in the case that no locales > > are installed. > > > > It's a frustrating problem as we aren't using the locale informa

Re: texinfo-6.8: Test failing

2021-07-05 Thread Patrice Dumas
On Mon, Jul 05, 2021 at 11:36:55AM +0100, Gavin Smith wrote: > > Yes I agree, if we can't make the test pass in the case that no locales > are installed. > > It's a frustrating problem as we aren't using the locale information for > the user, we are using it for a document that is being produced

Re: texinfo-6.8: Test failing

2021-07-05 Thread Gavin Smith
On Mon, Jul 05, 2021 at 10:57:21AM +0100, Chris Clayton wrote: > > This isn't what I expected as you have a locale "en_US.utf8" which I > > understand is the same thing as "en_US.UTF-8", which is one of the > > locales tried in 'gdt' in tp/Texinfo/Report.pm. > > That's not a surprise to me. My sys

Re: texinfo-6.8: Test failing

2021-07-04 Thread Norbert Preining
On Sun, 04 Jul 2021, Gavin Smith wrote: > I wonder if we could eschew the use of LANGUAGE and use LANG instead > or one of the other variables > (https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html#Locale-Environment-Variables) > to avoid this problem. This is as

Re: texinfo-6.8: Test failing

2021-07-04 Thread Gavin Smith
> If it is this part of the code that > is causing the test failure then it would be due to upgrading the > bundled version of libintl-perl, due to a fix for the issue at > https://rt.cpan.org/Public/Bug/Display.html?id=81315 > > I reported the issue here > https://lists.gnu.org/archive/html/bug-te