Re: AW: Slightly funny tar ball for openssl 1.1.1c ?

2019-05-28 Thread Dennis Clarke




beta $ gzip -dc ../src/openssl-1.1.1c.tar.gz | tar -xf -
tar: pax_global_header: typeflag 'g' not recognized, converting to
regular file
beta $

Must be a gnu tar thing?


Hi Dennis,

it's not a bug, it's a feature.  ;-)

No seriously: it's the `git archive` command which is used to export the tree
into a tarfile. It adds an extended header containing the commit hash of the
commit which was exported. Older tar programs don't know how to deal
with that header and are a bit confused about it.


Yep.  Old POSIX tar just coughed up a one line pax_global_header file :

52 comment=97ace46e11dba4c4c2b7cb67140b6ec152cfaaf4




We had a similar discussion after 1.1.1b was released, it started here
https://mta.openssl.org/pipermail/openssl-users/2019-February/009936.html

see in particular reply
https://mta.openssl.org/pipermail/openssl-users/2019-February/009949.html

and the links to the LKML which it contains
https://lkml.org/lkml/2005/6/18/5
https://marc.info/?l=linux-kernel=111909182607985=2



Perfectly harmless feature.  Thank you for the detailed reply.

Dennis



AW: Slightly funny tar ball for openssl 1.1.1c ?

2019-05-28 Thread Dr. Matthias St. Pierre
> -Ursprüngliche Nachricht-
> I don't thing I have seen this before :
> 
> beta $ gzip -dc ../src/openssl-1.1.1c.tar.gz | tar -xf -
> tar: pax_global_header: typeflag 'g' not recognized, converting to
> regular file
> beta $
> 
> Must be a gnu tar thing?

Hi Dennis,

it's not a bug, it's a feature.  ;-)

No seriously: it's the `git archive` command which is used to export the tree
into a tarfile. It adds an extended header containing the commit hash of the
commit which was exported. Older tar programs don't know how to deal
with that header and are a bit confused about it.

We had a similar discussion after 1.1.1b was released, it started here
https://mta.openssl.org/pipermail/openssl-users/2019-February/009936.html

see in particular reply
https://mta.openssl.org/pipermail/openssl-users/2019-February/009949.html

and the links to the LKML which it contains
https://lkml.org/lkml/2005/6/18/5
https://marc.info/?l=linux-kernel=111909182607985=2

HTH,
Matthias