(address . bug-guix@gnu.org)
On ‘core-updates’ ca. 68b0e0d511c2873603636e9f783ff59aac4b7612,
(@@ (gnu packages commencement) coreutils-final) fails Gnulib tests like
so, when running “natively” on an OverDrive (aarch64):
Toggle snippet (13 lines)
FAIL: test-perror2
==================
test-perror2.c:84: assertion 'msg3 == msg4 || STREQ (msg3, str3)' failed
FAIL test-perror2 (exit status: 134)
FAIL: test-strerror_r
=====================
test-strerror_r.c:170: assertion 'msg3 == msg4 || STREQ (msg3, str3)' failed
FAIL test-strerror_r (exit status: 134)
Regarding ‘test-strerror_r’, this is what I see with Guile:
Toggle snippet (8 lines)
scheme@(guile-user)> %host-type
$1 = "arm-unknown-linux-gnueabihf"
scheme@(guile-user)> (strerror -4)
$2 = "Unknown error -4"
scheme@(guile-user)> (strerror 1729576)
$3 = "Unknown error 1729576"
This is apparently fixed by this Gnulib commit:
commit 175e0bc72808d564074c4adcc72aeadb74adfcc6
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu Aug 27 17:52:58 2020 -0700
perror, strerror_r: remove unportable tests
Problem reported by Florian Weimer in:
* tests/test-perror2.c (main):
* tests/test-strerror_r.c (main): Omit unportable tests.
Ludo’.