GNU bug report logs - #22900
new snapshot available: gzip-1.6.42-d6d4

Previous Next

Package: gzip;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Fri, 4 Mar 2016 02:19:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Assaf Gordon <assafgordon <at> gmail.com>, jim <at> meyering.net, 22900 <at> debbugs.gnu.org
Subject: bug#22900: [platform-testers] new snapshot available: gzip-1.6.42-d6d4
Date: Sun, 6 Mar 2016 00:23:58 -0800
[Message part 1 (text/plain, inline)]
Assaf Gordon wrote:
> On OpenSoalris 5.11, both i86pc and sun4u, test 'zgrep-signal' fails. log attached.
> (note: no failure on OpenSolaris 5.10).

I looked into this. First I ran into a different problem; several tests failed 
because my default installation directory (/usr/local/bin) had some nonworking 
gzip in it, which 'make check' used during its tests. I installed the first 
attached patch to fix this.

The problem you reported is because Solaris 5.11 uses ksh for /usr/bin/sh, and 
this ksh has a funky treatment for exit status of programs that die due to 
signals like SIGPIPE: the exit status is 256 + signal number.  Unfortunately 
'exit 257' is equivalent to 'exit 1', i.e., when the shell exits it turns the 
SIGPIPE into some random nonzero status.  I installed the second attached patch, 
which fixed the problem for me.
[0001-gzip-remove-__bindir.patch (text/x-diff, attachment)]
[0002-gzip-port-zgrep-to-Solaris-11.2.patch (text/x-diff, attachment)]

This bug report was last modified 9 years and 65 days ago.

Previous Next


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