GNU bug report logs - #65310
test failure on Alpine Linux: tests/sort/sort-debug-keys

Previous Next

Package: coreutils;

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

Date: Tue, 15 Aug 2023 13:16:02 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 65310 in the body.
You can then email your comments to 65310 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#65310; Package coreutils. (Tue, 15 Aug 2023 13:16:02 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. (Tue, 15 Aug 2023 13:16:02 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 on Alpine Linux: tests/sort/sort-debug-keys
Date: Tue, 15 Aug 2023 15:14:44 +0200
[Message part 1 (text/plain, inline)]
Hi,

Doing "make check" of current coreutils on Alpine Linux 3.18, I see a
test failure that I didn't see with the coreutils-9.3 release:

FAIL: tests/sort/sort-debug-keys

I'm attaching the relevant part of tests/test-suite.log.

Bruno

[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#65310; Package coreutils. (Tue, 15 Aug 2023 15:51:01 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: Bruno Haible <bruno <at> clisp.org>, 65310 <at> debbugs.gnu.org
Subject: Re: bug#65310: test failure on Alpine Linux:
 tests/sort/sort-debug-keys
Date: Tue, 15 Aug 2023 16:50:31 +0100
[Message part 1 (text/plain, inline)]
On 15/08/2023 14:14, Bruno Haible wrote:
> Hi,
> 
> Doing "make check" of current coreutils on Alpine Linux 3.18, I see a
> test failure that I didn't see with the coreutils-9.3 release:
> 
> FAIL: tests/sort/sort-debug-keys
> 
> I'm attaching the relevant part of tests/test-suite.log.

In the log we have:

  + LC_ALL=fr_FR.UTF-8 sort --debug -k2g -k1b,1
  sort: text ordering performed using ‘fr_FR.UTF-8’ sorting rules
  sort: note numbers use ‘.’ as a decimal point in this locale

The fact that ',' isn't used as the decimal point is surprising,
and is what's causing the test to fail.
The attached adds an extra guard to the test to skip this portion
if ',' is not in fact the decimal point.

cheers,
Pádraig
[coreutils-alpine-decimal-test.patch (text/x-patch, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#65310; Package coreutils. (Tue, 15 Aug 2023 21:43:02 GMT) Full text and rfc822 format available.

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

From: Bruno Haible <bruno <at> clisp.org>
To: 65310 <at> debbugs.gnu.org, Pádraig Brady <P <at> draigbrady.com>
Subject: Re: bug#65310: test failure on Alpine Linux:
 tests/sort/sort-debug-keys
Date: Tue, 15 Aug 2023 23:42:14 +0200
Pádraig Brady wrote:
> The fact that ',' isn't used as the decimal point is surprising,
> and is what's causing the test to fail.

Ah, I see. Yes, for some tests one only needs a fr_FR.UTF-8 that supports
UTF-8 in LC_CTYPE, whereas for other tests it also needs to support the
LC_NUMERIC category correctly.

> The attached adds an extra guard to the test to skip this portion
> if ',' is not in fact the decimal point.

Thanks!

Bruno







bug closed, send any further explanations to 65310 <at> debbugs.gnu.org and Bruno Haible <bruno <at> clisp.org> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Tue, 15 Aug 2023 21:58:02 GMT) Full text and rfc822 format available.

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

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

Previous Next


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