GNU bug report logs - #74428
tests/printf/printf-cov failure on macOS

Previous Next

Package: coreutils;

Reported by: Grisha Levit <grishalevit <at> gmail.com>

Date: Tue, 19 Nov 2024 04:42: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

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: 74428 <at> debbugs.gnu.org, P <at> draigBrady.com, grishalevit <at> gmail.com
Subject: bug#74428: tests/printf/printf-cov failure on macOS
Date: Fri, 6 Dec 2024 08:13:01 +0100
[Message part 1 (text/plain, inline)]
On 11/19/24 19:31, Pádraig Brady wrote:
> OK I've adjusted our test to use \u00032 instead,

The bug report was talking about Macos only, but now I'm seeing this failure also
on openSUSE for Leap 16.0 on x86_64 [1] and aarch64 [2].

Using coreutils-9.5 (which has gnulib 259829e78), glibc-2.40.

[1] https://build.opensuse.org/public/build/Base:System/16.0/x86_64/coreutils/_log
    also saved/attached as 'cu-tests-printf-cov-x86_64.log.xz'.

[2] https://build.opensuse.org/public/build/Base:System/16.0/aarch64/coreutils/_log
    also saved/attached as 'cu-tests-printf-cov-aarch64.log.xz'.

Here an excerpt from the latter aarch64 build log:
  ...
  [   93s] checking for iconv... yes
  [   94s] checking for working iconv... no
  [   94s] checking whether iconv is compatible with its POSIX signature... yes
  ...
  [  376s] FAIL: tests/printf/printf-cov
  [  376s] =============================
  ...
  [  376s] U-bad-hex...
  [  376s] u4...
  [  376s] printf: test u4: stdout mismatch, comparing u4.1 (expected) and u4.O (actual)
  [  376s] *** u4.1	Thu Dec  5 21:06:59 2024
  [  376s] --- u4.O	Thu Dec  5 21:06:59 2024
  [  376s] ***************
  [  376s] *** 1 ****
  [  376s] ! 0
  [  376s] \ No newline at end of file
  [  376s] --- 1 ----
  [  376s] ! \u0030
  [  376s] \ No newline at end of file
  [  376s] U8...
  [  376s] printf: test U8: stdout mismatch, comparing U8.1 (expected) and U8.O (actual)
  [  376s] *** U8.1	Thu Dec  5 21:06:59 2024
  [  376s] --- U8.O	Thu Dec  5 21:06:59 2024
  [  376s] ***************
  [  376s] *** 1 ****
  [  376s] ! 0
  [  376s] \ No newline at end of file
  [  376s] --- 1 ----
  [  376s] ! \u0030
  [  376s] \ No newline at end of file
  [  376s] u-invalid...
  ...
  [  376s] FAIL tests/printf/printf-cov.pl (exit status: 1)

Is this an FP on more platforms than Macos now, or another issue like wrong iconv() selection?

Have a nice day,
Berny
[cu-tests-printf-cov-x86_64.log.xz (application/x-xz, attachment)]
[cu-tests-printf-cov-aarch64.log.xz (application/x-xz, attachment)]

This bug report was last modified 219 days ago.

Previous Next


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