From owner-freebsd-ports@freebsd.org Thu Dec 1 12:14:07 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5637C60C70 for ; Thu, 1 Dec 2016 12:14:07 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 55B62159F; Thu, 1 Dec 2016 12:14:07 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 32C8C2ACF; Thu, 1 Dec 2016 12:13:56 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/32C8C2ACF; dkim=none; dkim-atps=neutral Subject: Re: tar: Error opening archive: Unrecognized archive format To: Martin Matuska , Mathieu Arnold References: <20161201104951.Horde.unleJphcpAPyU0zOiv1YXGY@mail.vx.sk> <20161201123609.Horde.LmGPdPH02UD1b2VedaBup55@mail.vx.sk> Cc: FreeBSD Ports ML From: Matthew Seaman Message-ID: <899e5818-edac-ac6b-549d-f3f8b880b2f0@freebsd.org> Date: Thu, 1 Dec 2016 12:13:42 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <20161201123609.Horde.LmGPdPH02UD1b2VedaBup55@mail.vx.sk> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Bkqu10h9EWR3Nf32LnoWOREF8QBgE41d4" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,RCVD_IN_RP_RNBL, RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 12:14:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Bkqu10h9EWR3Nf32LnoWOREF8QBgE41d4 Content-Type: multipart/mixed; boundary="dPgiM2HWg3pCjPrO74lbtQQsgM4LckgbW"; protected-headers="v1" From: Matthew Seaman To: Martin Matuska , Mathieu Arnold Cc: FreeBSD Ports ML 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> <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--