GNU bug report logs - #49459
[core-updates] Coreutils 8.32 test failures on armhf-linux

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Wed, 7 Jul 2021 23:33:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: [core-updates] Coreutils 8.32 test failures on armhf-linux
Date: Thu, 08 Jul 2021 01:31:50 +0200
On ‘core-updates’ ca. 68b0e0d511c2873603636e9f783ff59aac4b7612,
(@@ (gnu packages commencement) coreutils-final) fails Gnulib tests like
so, when running “natively” on an OverDrive (aarch64):

--8<---------------cut here---------------start------------->8---
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)
--8<---------------cut here---------------end--------------->8---

Regarding ‘test-strerror_r’, this is what I see with Guile:

--8<---------------cut here---------------start------------->8---
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"
--8<---------------cut here---------------end--------------->8---

This is apparently fixed by this Gnulib commit:

  commit 175e0bc72808d564074c4adcc72aeadb74adfcc6
  Author: Paul Eggert <eggert <at> cs.ucla.edu>
  Date:   Thu Aug 27 17:52:58 2020 -0700

      perror, strerror_r: remove unportable tests

      Problem reported by Florian Weimer in:
      https://lists.gnu.org/r/bug-gnulib/2020-08/msg00220.html
      * tests/test-perror2.c (main):
      * tests/test-strerror_r.c (main): Omit unportable tests.

Ludo’.




This bug report was last modified 3 years and 313 days ago.

Previous Next


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