GNU bug report logs -
#36488
diffutils 3.7 make check failure ppc64le opensuse on colors test
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#36488: diffutils 3.7 make check failure ppc64le opensuse on colors test
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 36488 <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)]
[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)]
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
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.