tar: Error opening archive: Unrecognized archive format

Matthew Seaman matthew at FreeBSD.org
Thu Dec 1 12:14:07 UTC 2016

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.


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?



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161201/cdd65746/attachment.sig>

More information about the freebsd-ports mailing list