John,

The OP said that he gunzipped it in-place before doing tar xvf.  It -is- a bug 
in Solaris tar, and it's known in many different places.  One of which is here:
http://docs.activestate.com/activetcl/8.5/at.install.html

It appears that there are two separate issues involved.  First, Solaris tar 
doesn't deal with long paths well.  Second, Solaris tar expects a slightly 
different checksum calculation.

This is known to occur on the version of tar from Solaris 2.6.  I have not 
heard any statements that it has been fixed in Solaris 10.

Considering that a precompiled GNU tar can be obtained from http://sunfreeware.com/, I 
fail to comprehend the "Solaris is absolutely bug-free, it must be something else's 
problem" mindset which prevents this workaround's application.

From the OP's response to Eric Eberhard:

----- begin quote
Hi, Eric

That is what I did exactly and failed on "tar xvf" and I don't have problem 
with 1.2.2.

Ryan

From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Eric S. Eberhard
Sent: Monday, May 23, 2011 6:22 PM
To: openssl-users@openssl.org; openssl-users@openssl.org
Subject: Re: Download fips 1.2.3

You need to:

gunzip openssl-fips-1.2.3.tar.gz

That will create openssl-fips-1.2.3.tar

Then tar -xvf openssl-fips-1.2.3.tar


Eric
----- end quote

Maybe the entire thread should be read, rather than just picking up keywords.

To boil this down:  Solaris tar is known to be bugged by people who have to 
support GNU tar-created archives on Solaris.  Use GNU tar from sunfreeware.com, 
and it will work.

-Kyle H

On Tue, May 24, 2011 at 1:20 PM, John R Pierce <pie...@hogranch.com> wrote:
On 05/24/11 12:53 PM, Kyle Hamilton wrote:

I don't think that Solaris's tar hits the bug every time.  Do you think
Oracle (nee Sun) would ship something that failed 100% of the time instead
of 0.1% of the time?

bug? no, this is not a bug.

native posix tar doesn't read gzip files, gzip does.
gnu tar munged gzip into tar to create a hybrid.

   gunzip -c filename.tar.gz | tar xvf -

or
   gunzip filename.tar.gz
   tar xvf filename.tar

works just great on Solaris and any other Unix platform.


--
john r pierce                            N 37, W 123
santa cruz ca                         mid-left coast

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org


Attachment: Verify This Message with Penango.p7s
Description: S/MIME Cryptographic Signature

Reply via email to