Re: [FYI] How I compile on SunOS 5.7 with the SUNWspro compiler and ksh
From: Jeff King <hidden>
Date: 2016-06-15 22:45:11
On Mon, Aug 18, 2008 at 07:47:39PM -0500, Brandon Casey wrote:
quoted
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
Ah, I found out the difference: my box is actually Solaris 5.8. The gtar version there is 1.13 (which is also the version that ships with Solaris 5.9).
$ 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
I get the pax header warning, but nothing else. Judging from your find results:
./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
There should be another directory that is one level deeper, with "file_with_long_path" in it...
./file_with_long_path
which seems to have been extracted in the root instead! So perhaps you are hitting some length limitation in gtar. -Peff