--- Begin Message ---
Subject: |
diffutils 3.7 make check failure ppc64le opensuse on colors test |
Date: |
Wed, 3 Jul 2019 13:19:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
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
--- End Message ---
--- Begin Message ---
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 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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
Description: Text Data
--- End Message ---