bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] GNU tar Build failure in rmt/rmt.c (patch included)


From: Giles Lean
Subject: Re: [Bug-tar] GNU tar Build failure in rmt/rmt.c (patch included)
Date: Thu, 03 May 2007 22:17:08 +1000

Hi Paul,

> Thanks; we've fixed that in the CVS sources.

Great.

> > The workaround for the configure failure is to comment out the test of
> > "ls -t".  (Fix unknown).
> 
> This most likely indicates that you have a nonstandard version of 'ls'
> in your PATH, which can break later tests.  Please try to see why 'ls
> -t' isn't working for you: it may explain some of the later failures.

This turned out to be ... complicated.  Despite setting SHELL=/bin/sh
and unsetting ENV, as you surmised configure was still managing to run
a shell which read $HOME/.kshrc and finding a ls alias which broke the
ls -t test.

Whatever that problem is, it's not going to be with tar: maybe
autoconf, maybe NetBSD's /bin/sh or /bin/ksh, but tar's innocent this
time I would bet.

Running configure in an account with /bin/sh as its login shell and no
aliases anywhere let it work.  'gmake check' then also passed all but
one test (21).  (Full output of .../21/run included below.)

It is arguable if test 21's failure is a bug in the GNU tar test suite
or a bug in NetBSD's gzip(1); since NetBSD appears to have replaced
gzip(1) with their own zlib based version, I lean toward thinking that
it is a NetBSD bug, and will report it to the NetBSD project.

    $ gzip --version
    NetBSD gzip 20060927

Thanks for your help,

Giles

 ./run
## ------------------------ ##
## GNU tar 1.16 test suite. ##
## ------------------------ ##
21. gzip.at:23: testing ...
./gzip.at:40:

cat /dev/null | gzip - > /dev/null 2>&1 || exit 77

tar xfvz /dev/null
test $? = 2 || exit 1

--- -   2007-05-03 22:05:36.000000000 +1000
+++ /usr/local/src/tar-1.16/tests/testsuite.dir/at-stderr
2007-05-03 22:05:36.000000000 +1000
@@ -1,5 +1,4 @@
-
-gzip: stdin: unexpected end of file
+gzip: (stdin): unexpected end of file
 tar: Child returned status 1
 tar: Error exit delayed from previous errors
 
21. gzip.at:23:  FAILED (gzip.at:40)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 1 test was run,
1 failed unexpectedly.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might
help:

   To: <address@hidden>
   Subject: [GNU tar 1.16] testsuite: 21 failed

--
Giles Lean <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]