GNU bug report logs - #77641
[platform-testers] new snapshot available: gzip-1.13.56-e549

Previous Next

Package: gzip;

Reported by: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>

Date: Tue, 8 Apr 2025 13:13:02 UTC

Severity: normal

To reply to this bug, email your comments to 77641 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#77641; Package gzip. (Tue, 08 Apr 2025 13:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Nelson H. F. Beebe" <beebe <at> math.utah.edu>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Tue, 08 Apr 2025 13:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>
To: Jim Meyering <jim <at> meyering.net>
Cc: platform-testers <at> gnu.org, "Nelson H. F. Beebe" <beebe <at> math.utah.edu>,
 bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.13.56-e549
Date: Tue, 8 Apr 2025 07:12:23 -0600
Yesterday, I reported that the zdiff test for gzip-1.13.56-e549
failed on NetBSD 10.0.  Here is the tests/zdiff.log file:

+ initial_cwd_=/local/build/cc/gzip-1.13.56-e549/tests
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /local/build/cc/gzip-1.13.56-e549/tests gt-zdiff.XXXX
+ destdir_=/local/build/cc/gzip-1.13.56-e549/tests
+ template_=gt-zdiff.XXXX
+ MAX_TRIES_=4
+ destdir_slash_=/local/build/cc/gzip-1.13.56-e549/tests/
+ unset TMPDIR
+ using redirections: 2>/dev/null do {
+ d=/local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid
+ ':'
+ test -d /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid
+ ls -dgo /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid 2>/dev/null
+ perms='drwx------ 2 512 Apr  7 07:59 /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid'
+ ':'
+ echo /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid
+ return
+ test_dir_=/local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid
+ cd /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid
+ srcdir=../.
+ builddir=..
+ export srcdir builddir
+ gl_init_sh_nl_='
'
+ IFS=' 	
'
+ for sig_=1
+ expr 1 + 128
+ eval "trap 'Exit 129' 1"
+ trap 'Exit 129' 1
+ for sig_=2
+ expr 2 + 128
+ eval "trap 'Exit 130' 2"
+ trap 'Exit 130' 2
+ for sig_=3
+ expr 3 + 128
+ eval "trap 'Exit 131' 3"
+ trap 'Exit 131' 3
+ for sig_=13
+ expr 13 + 128
+ eval "trap 'Exit 141' 13"
+ trap 'Exit 141' 13
+ for sig_=15
+ expr 15 + 128
+ eval "trap 'Exit 143' 15"
+ trap 'Exit 143' 15
+ saved_IFS=' 	
'
+ IFS=':'
+ new_PATH=''
+ for dir=/local/build/cc/gzip-1.13.56-e549
+ IFS=' 	
'
+ test -d /local/build/cc/gzip-1.13.56-e549/.
+ new_PATH=/local/build/cc/gzip-1.13.56-e549
+ for dir=/usr/uumath/bin
+ IFS=' 	
'
+ test -d /usr/uumath/bin/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin'
+ for dir=/usr/uumath/share/bin
+ IFS=' 	
'
+ test -d /usr/uumath/share/bin/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin'
+ for dir=/usr/X11R7/bin
+ IFS=' 	
'
+ test -d /usr/X11R7/bin/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin'
+ for dir=/usr/sbin
+ IFS=' 	
'
+ test -d /usr/sbin/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin'
+ for dir=/usr/bin
+ IFS=' 	
'
+ test -d /usr/bin/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin'
+ for dir=/bin
+ IFS=' 	
'
+ test -d /bin/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin'
+ for dir=/sbin
+ IFS=' 	
'
+ test -d /sbin/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin'
+ for dir=/etc
+ IFS=' 	
'
+ test -d /etc/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc'
+ for dir=.
+ IFS=' 	
'
+ for dir=/u/sy/beebe/tex/bib
+ IFS=' 	
'
+ test -d /u/sy/beebe/tex/bib/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc:/u/sy/beebe/tex/bib'
+ for dir=/usr/pkg/bin
+ IFS=' 	
'
+ test -d /usr/pkg/bin/.
+ new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc:/u/sy/beebe/tex/bib:/usr/pkg/bin'
+ IFS=' 	
'
+ PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc:/u/sy/beebe/tex/bib:/usr/pkg/bin'
+ export PATH
+ trap remove_tmp_ EXIT
+ path_prepend_ ..
+ test 1 '!=' 0
+ path_dir_=..
+ abs_path_dir_=/local/build/cc/gzip-1.13.56-e549/tests/..
+ PATH='/local/build/cc/gzip-1.13.56-e549/tests/..:/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc:/u/sy/beebe/tex/bib:/usr/pkg/bin'
+ create_exe_shims_ /local/build/cc/gzip-1.13.56-e549/tests/..
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ echo a >a
+ echo b >b
+ cat <<... >exp
+ diff a b
+ diff exp -
+ fail=0
+ gzip a b
+ returns_ 1 zdiff a.gz b.gz >out 2>err
+ fail=1
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ compare_ exp out
+ LC_ALL=C diff -u exp out
--- exp	2025-04-07 07:59:47.788335422 -0600
+++ out	2025-04-07 07:59:47.792397950 -0600
@@ -1,4 +0,0 @@
-1c1
-< a
----
-> b
+ fail=1
+ grep -v '^+' err
+ rm -f out
+ zdiff a.gz a.gz >out 2>err
+ test -s out
+ test -s err
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ ':'
+ test '' = yes
+ cd /local/build/cc/gzip-1.13.56-e549/tests
+ chmod -R u+rwx /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid
+ rm -rf /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid
+ exit 1
FAIL zdiff (exit status: 1)

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                                                          -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe <at> math.utah.edu  -
- 155 S 1400 E RM 233                       beebe <at> acm.org  beebe <at> computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: https://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------




Information forwarded to bug-gzip <at> gnu.org:
bug#77641; Package gzip. (Tue, 08 Apr 2025 17:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 77641 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>
Cc: platform-testers <at> gnu.org, 77641 <at> debbugs.gnu.org,
 Jim Meyering <jim <at> meyering.net>
Subject: Re: bug#77641: [platform-testers] new snapshot available:
 gzip-1.13.56-e549
Date: Tue, 8 Apr 2025 10:44:02 -0700
On 2025-04-08 06:12, Nelson H. F. Beebe wrote:
> + returns_ 1 zdiff a.gz b.gz >out 2>err
> + fail=1

To help debug that, could you please run the following commands in the 
gzip source directory and tell us the output?

echo a>a
echo b>b
./gzip a b
/bin/bash -x ./zdiff a.gz b.gz

I am assuming "zdiff" starts with "#!/bin/bash"; if it starts with 
something else please use that shell instead.




Information forwarded to bug-gzip <at> gnu.org:
bug#77641; Package gzip. (Tue, 08 Apr 2025 21:00:02 GMT) Full text and rfc822 format available.

Message #11 received at 77641 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>
Cc: 77641 <at> debbugs.gnu.org
Subject: Re: bug#77641: [platform-testers] new snapshot available:
 gzip-1.13.56-e549
Date: Tue, 8 Apr 2025 13:59:40 -0700
On 2025-04-08 11:25, Nelson H. F. Beebe wrote:
> Here is the output on NetBSD 10.0 for the test script for zdiff
> behavior:

Thanks. I'm quoting it below. Apparently the equivalent of the following 
crashed:

echo b >b
gzip b
gzip_status=$(gzip -cdfq -- b.gz)

whereas the same thing succeeded if one substitutes "a" for "b". I 
suspect the problem isn't reproduced by the above commands, though, and 
don't know how to debug this further, remotely.


> % cat ~/foo.sh
> #! /bin/sh -
> echo a>a
> echo b>b
> ./gzip a b
> /usr/pkg/bin/bash -x ./zdiff a.gz b.gz
> 
> % cd /local/build/cc/gzip-1.13.56-e549
> 
> % ~/foo.sh
> + case $1 in
> + prog=diff
> + cmp='${DIFF-diff}'
> + version='zdiff (gzip) 1.13.56-e549
> Copyright (C) 2025 Free Software Foundation, Inc.
> This is free software.  You may redistribute copies of it under the terms of
> the GNU General Public License<https://www.gnu.org/licenses/gpl.html>.
> There is NO WARRANTY, to the extent permitted by law.
> 
> Written by Jean-loup Gailly.'
> + usage='Usage: ./zdiff [OPTION]... FILE1 [FILE2]
> Compare FILE1 to FILE2, using their uncompressed contents if they are
> compressed.  If FILE2 is omitted, compare FILE1 to the uncompressed
> contents of FILE1.gz.  Do comparisons like '\''diff'\'' does.
> 
> OPTIONs are the same as for '\''diff'\''.
> 
> Report bugs to<bug-gzip <at> gnu.org>.'
> + escape='
>    s/'\''/'\''\\'\'''\''/g
>    $s/X$/'\''/
> '
> + filesonly=
> + file1=
> + file2=
> + needop=
> + for arg in "$@"
> + case $filesonly$needop$arg in
> + case $needop in
> + case $arg in
> + case $file1 in
> + file1=a.gz
> + for arg in "$@"
> + case $filesonly$needop$arg in
> + case $needop in
> + case $arg in
> + case $file1 in
> + case $file2 in
> + file2=b.gz
> + case $needop in
> + cmp='${DIFF-diff} --'
> + case $file1 in
> + case $file2 in
> + gzip_status=0
> + exec
> + case $file2 in
> + case $file1,$file2 in
> + case $file1 in
> + case $file2 in
> + echo X
> + eval '${DIFF-diff} --' /dev/fd/5 -
> + echo X
> ++ exec
> ++ gzip -cdfq -- a.gz
> ++ eval '${DIFF-diff} --' /dev/fd/5 -
> ++ gzip -cdfq -- b.gz
> +++ diff -- /dev/fd/5 -
> ++ echo 0
> ++ echo 141
> + gzip_status='0
> 141'





This bug report was last modified 66 days ago.

Previous Next


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