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: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#36488: closed (diffutils 3.7 make check failure ppc64le
 opensuse on colors test)
Date: Sun, 29 Aug 2021 07:23:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 29 Aug 2021 00:22:27 -0700
with message-id <3a207779-c39f-55c0-2f27-d675da6df96f <at> cs.ucla.edu>
and subject line Re: [bug-diffutils] bug#36488: diffutils 3.7 make check failure ppc64le opensuse on colors test
has caused the debbugs.gnu.org bug report #36488,
regarding diffutils 3.7 make check failure ppc64le opensuse on colors test
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: Normand <normand <at> linux.vnet.ibm.com>
To: bug-diffutils <at> gnu.org
Subject: diffutils 3.7 make check failure ppc64le opensuse on colors test
Date: Wed, 3 Jul 2019 13:19:55 +0200
diffutils 3.7  make check failure ppc64le opensuse on colors test as 
reported in OBS tool (1)


The extracted failure is a "Broken pipe"
```
[  185s] XFAIL: large-subopt
[  185s] PASS: new-file
[  185s] PASS: no-dereference
[  186s] PASS: no-newline-at-eof
[  186s] PASS: stdin
[  186s] PASS: strcoll-0-names
[  186s] PASS: filename-quoting
[  187s] strip-trailing-cr: skipped test: requires a working valgrind
[  187s] SKIP: strip-trailing-cr
[  187s] FAIL: colors
[  187s] =============================================
[  187s]    GNU diffutils 3.7: tests/test-suite.log
[  187s] =============================================
[  187s]
[  187s] # TOTAL: 22
[  187s] # PASS:  19
[  187s] # SKIP:  1
[  187s] # XFAIL: 1
[  187s] # FAIL:  1
[  187s] # XPASS: 0
[  187s] # ERROR: 0
...

[  187s] FAIL: colors
[  187s] ============
...
[  187s] + compare exp out
[  187s] + compare_dev_null_ exp out
[  187s] + test 2 = 2
[  187s] + test xexp = x/dev/null
[  187s] + test xout = x/dev/null
[  187s] + return 2
[  187s] + case $? in
[  187s] + compare_ exp out
[  187s] + diff -u exp out
[  187s] + mkfifo fifo
[  187s] + printf %1000000s-a
[  187s] + printf %1000000s-b
[  187s] + diff --color=always ---presume-output-tty a b
[  187s] + head -c 10
[  187s] diff: standard output: Broken pipe
[  187s] + test 2 = 141
[  187s] + fail=1
[  187s] + Exit 1
```


(1) 
https://build.opensuse.org/package/live_build_log/home:michel_mno:branches:Base:System/diffutils/openSUSE_Factory_PowerPC/ppc64le



-- 
Michel Normand



[Message part 3 (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 4 (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)]

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.