GNU bug report logs - #36488
diffutils 3.7 make check failure ppc64le opensuse on colors test

Previous Next

Package: diffutils;

Reported by: Normand <normand <at> linux.vnet.ibm.com>

Date: Wed, 3 Jul 2019 11:21:01 UTC

Severity: normal

Merged with 25402, 34519

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Santiago Vila <sanvila <at> unex.es>
Subject: bug#34519: closed (Re: [bug-diffutils] bug#36488: diffutils 3.7
 make check failure ppc64le opensuse on colors test)
Date: Sun, 29 Aug 2021 07:23:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#36488: Test "colors" fails on Debian/ppc64el

which was filed against the diffutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 34519 <at> debbugs.gnu.org.

-- 
36488: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36488
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Thiago Jung Bauermann <bauermann <at> kolabnow.com>
Cc: Frédéric Bonnard <frediz <at> debian.org>,
 922552 <at> bugs.debian.org, Santiago Vila <sanvila <at> unex.es>,
 36488-done <at> debbugs.gnu.org, Normand <normand <at> linux.vnet.ibm.com>
Subject: Re: [bug-diffutils] bug#36488: diffutils 3.7 make check failure
 ppc64le opensuse on colors test
Date: Sun, 29 Aug 2021 00:22:27 -0700
[Message part 3 (text/plain, inline)]
On 8/28/21 8:40 AM, Thiago Jung Bauermann via bug-diffutils via All 
diffutils discussion. wrote:

> I believe this is the same problem reported in bug 34519.
> The Debian build also fails with "diff: standard output: Broken pipe".

Thanks for tracking that down. Frédéric's analysis in 
<https://bugs.debian.org/922552#19> was helpful.

I found some time to look into this bug, and installed into 
Savannah.gnu.org diffutils the attached patch, which I hope fixes the 
bug although I don't have the relevant platform to test it. Please give 
it a try.

Once this patch is part of a release, Debian shouldn't need any patches 
for diffutils.

For now I am closing the diffutils bug report 
<https://bugs.gnu.org/36488>; if I was too optimistic and the patch 
doesn't fix things we can always reopen it.
[0001-diff-cleanup-signal-handling-just-before-exit.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Santiago Vila <sanvila <at> unex.es>
To: bug-diffutils <at> gnu.org
Subject: Test "colors" fails on Debian/ppc64el
Date: Mon, 18 Feb 2019 01:57:09 +0100 (CET)
Hello.

I've just uploaded diffutils 3.7 for Debian unstable (hopefully to be
part of Debian 10, since it contains only small fixes).

But there is a problem: The build in the ppc64el autobuilder failed:

https://buildd.debian.org/status/logs.php?pkg=diffutils&ver=1%3A3.7-1&arch=ppc64el

In tests/colors there was a race condition which I tried to fix
by adding a "sleep 1", like this:

mkfifo fifo
printf '%1000000s-a' > a
printf '%1000000s-b' > b
head -c 10 < fifo > /dev/null &
sleep 1
diff --color=always ---presume-output-tty a b > fifo
test $? = 141 || fail=1

It is possible that the "head" command takes (sometimes) more than one second to
complete on ppc64el?

Are there any other places in the test where a race condition could be
happening?

Thanks.



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

Previous Next


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