Re: [FYI] How I compile on SunOS 5.7 with the SUNWspro compiler and ksh
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Aug 19, 2008, 00:47 UTC
- Message-ID
- <L3gfLYBAXG5GUGcbdLqOnZab_UfskZC4FTgP9d47MJuoAiJRa2V5ZQ@cipher.nrlssc.navy.mil>
- In-Reply-To
- <20080819002047.GA15770@coredump.intra.peff.net>
Jeff King wrote:
Show 8 quoted lines
> On Mon, Aug 18, 2008 at 06:39:40PM -0500, Brandon Casey wrote: > >> 1) the t5000 tests which fail are due to the installed gnu tar being >> too old, and > > Hmm. I thought I had t5000 working on Solaris 5.7 a few months ago. > Unfortunately, the Solaris box I test on is down at the moment, so I > can't take a closer look. What is the problem?
Probably: $ gtar --version tar (GNU tar) 1.12
If I stop t5000-tar-tree.sh by inserting an exit before the 10th test (which is the first one that fails):
t5000-tar-tree.sh:
...
test_expect_success \
'git get-tar-commit-id' \
'git get-tar-commit-id <b.tar >b.commitid &&
diff .git/$(git symbolic-ref HEAD) b.commitid'exit
test_expect_success \
'extract tar archive' \
'(cd b && "$TAR" xf -) <b.tar'
...and then execute the test commands manually, I get:
$ cd t/trash\ directory $ cd b $ gtar xf - < ../b.tar /apps/bin/gtar: Unknown file type 'g' for pax_global_header, extracted as normal file /apps/bin/gtar: : Could not create directory: No such file or directory /apps/bin/gtar: Error exit delayed from previous errors $ find . . ./a ./a/a ./a/l1 ./a/substfile1 ./a/long_path_to_a_file ./a/long_path_to_a_file/long_path_to_a_file ./a/long_path_to_a_file/long_path_to_a_file/long_path_to_a_file ./a/long_path_to_a_file/long_path_to_a_file/long_path_to_a_file/long_path_to_a_file ./a/bin ./a/bin/sh ./a/substfile2 ./pax_global_header ./file_with_long_path
The native tar returns: $ tar xf - < ../b.tar tar: directory checksum error
-brandon