Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2016 12:13:42 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Martin Matuska <mm@freebsd.org>, Mathieu Arnold <mat@freebsd.org>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: tar: Error opening archive: Unrecognized archive format
Message-ID:  <899e5818-edac-ac6b-549d-f3f8b880b2f0@freebsd.org>
In-Reply-To: <20161201123609.Horde.LmGPdPH02UD1b2VedaBup55@mail.vx.sk>
References:  <20161201104951.Horde.unleJphcpAPyU0zOiv1YXGY@mail.vx.sk> <c2fe3bd5-959d-1ac7-2bce-2e0353d399f1@FreeBSD.org> <20161201123609.Horde.LmGPdPH02UD1b2VedaBup55@mail.vx.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Bkqu10h9EWR3Nf32LnoWOREF8QBgE41d4
Content-Type: multipart/mixed; boundary="dPgiM2HWg3pCjPrO74lbtQQsgM4LckgbW";
 protected-headers="v1"
From: Matthew Seaman <matthew@freebsd.org>
To: Martin Matuska <mm@freebsd.org>, Mathieu Arnold <mat@freebsd.org>
Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org>
Message-ID: <899e5818-edac-ac6b-549d-f3f8b880b2f0@freebsd.org>
Subject: Re: tar: Error opening archive: Unrecognized archive format
References: <20161201104951.Horde.unleJphcpAPyU0zOiv1YXGY@mail.vx.sk>
 <c2fe3bd5-959d-1ac7-2bce-2e0353d399f1@FreeBSD.org>
 <20161201123609.Horde.LmGPdPH02UD1b2VedaBup55@mail.vx.sk>
In-Reply-To: <20161201123609.Horde.LmGPdPH02UD1b2VedaBup55@mail.vx.sk>

--dPgiM2HWg3pCjPrO74lbtQQsgM4LckgbW
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 12/01/16 11:36, Martin Matuska wrote:
>  I have found the cause. The recently introduced field checks are not
> compatible with archives created by Archive::Tar.
> To be true, Archive::Tar violates the ustar tar header specification.
> I will take a look how to solve this.

Great, thanks.  Somehow I doubt that getting Archive::Tar fixed upstream
is going to be particularly easy. Or quick.  Seems they've got open bugs
from more than a decade ago, including some marked Critical.

https://rt.cpan.org/Public/Dist/Display.html?Name=3DArchive-Tar

Would it be an idea to change the EXTRACT_CMD to use ptar(1) (comes with
Archive::Tar) for perl modules, even if only temporarily?

	Cheers,

	Matthew




--dPgiM2HWg3pCjPrO74lbtQQsgM4LckgbW--

--Bkqu10h9EWR3Nf32LnoWOREF8QBgE41d4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlhAE/YACgkQAFE/EOCp
5OcyyBAAq2ZPfQ1BaZHaR811fro9B8m55NJVZMjEQEcYI0q5VH1rNiGW0a1+SxER
xzCz/qB2hqb6DPyOpFi4vUwDh76qR2qSplUw5NQ82Ibhvn5JNJ4lzZvVYWoI0+Wb
dFoZIuWWpjeUQItqrE4tQOMPBgw6r/J/BVGCUnzY3KS0sBAXJ005d6/iJ4TwVUU2
wWaoEmzzJynJ58sR6hqTWmwrKAbYu6WEm1+sJVS8+FwiuzX62LuEl+8jSqHFeepf
mciWSFAx1EZ0Szsyv+zyzuwbsEmlGEWZY+ELLIu8oW9uWa8QST6LfNguM++2XmaS
gocm5PFecXoBAMpMuIoxWr8rnN4HKGfncI6C2dYs7CNQ9HO0q8e3v8xYu0VfvXv9
3hHu4mhatQ0jAI7GfGRhLE6leyuC/JMk/LLmf+wqvfnwIBw4jpCJrPvcRocaQ4u8
b5ezouDkUDQjfLQXXzYKk3huvoMygzP4Q9pe3cExDTk4geSNaDm/vVcQ9Ht1IN4E
aEbZPxTedJYEcrZVml8MQcrjqU0uBOngt+Ovf9ZwUoFEvut2BjEYj7L02ZikNOAP
AJzqdh2XLcZW4gPXL5wS5kiBfvfgizXxYnMUQW10hk8/L/huELu1EZnIotdkW1RL
JUr3Vjp0a/yXFBiViPBL4tPC0NVIvJSKZXMI1AH8uwNVK/RjSB8=
=oNo+
-----END PGP SIGNATURE-----

--Bkqu10h9EWR3Nf32LnoWOREF8QBgE41d4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?899e5818-edac-ac6b-549d-f3f8b880b2f0>