Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-20 Thread Eric Blake
On 06/20/2012 08:45 AM, Paul Eggert wrote: > More generally, the problem is that often people use scripts > in Perl or Python or whatnot to run a test, or run a test from > a shell spawned by a terminal emulator, and these scripts > or terminal emulators may execute chdir without updating PWD, > s

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-20 Thread Paul Eggert
On 06/20/2012 07:16 AM, Eric Blake wrote: > do we know which shells suffer from this > POSIX non-compliance bug, and whether they are still in active use Sorry, I don't know of a list of such shells. The problem is documented in the Autoconf manual, without listing shells. I have verified that th

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-20 Thread Eric Blake
[adding bug-autoconf] On 06/20/2012 08:10 AM, Paul Eggert wrote: > This addresses symptoms of the problem reported by Nelson H.F. Beebe in > . > Although Nelson's bug was not necessarily fixed by this patch, > it seems wise to make

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-20 Thread Paul Eggert
On 06/20/2012 06:38 AM, Nelson H. F. Beebe wrote: > This time, the runs succeeded, without > any infinite loops (though that could be because /usr/local/bin/zdiff > is now the latest version). OK, thanks, I've pushed the following change to gnulib and it should percolate to gzip on the next sync.

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-20 Thread Nelson H. F. Beebe
Thanks, Paul, for the patch to tests/init.sh. I've just applied that and prepared gzip-1.5.p1.tar.gz that I then configured and built on both FreeBSD and NetBSD. This time, the runs succeeded, without any infinite loops (though that could be because /usr/local/bin/zdiff is now the latest version)

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-19 Thread Paul Eggert
On 06/19/2012 10:58 AM, Nelson H. F. Beebe wrote: > Why is the old /usr/local/bin/zdiff being used in the validation > suite checks, instead of the newly-built one? Good question. I suspect $PWD malfunction. Does the following patch fix it? diff --git a/tests/init.sh b/tests/init.sh ind

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-19 Thread Nelson H. F. Beebe
>> Can you show us the process tree when bash is looping? Here it is on FreeBSD: -+= 1 root /sbin/init -- \-+= 00944 root /usr/sbin/sshd \-+= 14933 root sshd: beebe [priv] (sshd) \-+- 14935 beebe sshd: beebe@pts/1 (sshd) \-+= 14936 beebe -tcsh (tcsh) \-+= 80968 beebe

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-19 Thread Paul Eggert
On 06/19/2012 06:40 AM, Nelson H. F. Beebe wrote: > PID USERNAME THR PRI NICE SIZE RES STATETIMECPU COMMAND >80442 beebe 1 2010 3732K 2092K RUN 0:27 99.89% bash-4.2 Thanks for reporting this. The symptoms are of a bug in the test suite, not in gzip itsel

[bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-19 Thread Nelson H. F. Beebe
I got successful builds and validations last night on more than 20 flavors of Unix for the new gzip-1.5 release, and installed them this morning. However, on FreeBSD 9.0 and NetBSD 5.1 (both x86), multiple builds have gone into infinite loops at the same point, running for hours until I killed the