Tuesday, December 31, 2019

Re: Can't extract Github's autogenerated tarball

On 2019/12/31 18:41, Leo wrote:
> I am working on new port and temporarily point
> it to my Github account until changes are merged,
> however, ports system fails to extract tarball, but
> I can extract it without errors with `tar zxf`

Is "tar" actually running /bin/tar or is it aliased or something
to another program?

Should look like this:

$ type tar
tar is /bin/tar

> this is the output I got:
> ===> Extracting for warfork-20191231
> tar: Extended header record length 1147190 is out of range
> tar: Extended header record length 28792 is out of range
> tar: Extended header record length 1838050 is out of range
> tar: Extended header record length 248901 is out of range
> tar: Extended header record length 3265222 is out of range
> tar: Extended header record length 629385 is out of range
> tar: Extended header record length 713413 is out of range
> tar: Extended header record length 262121 is out of range
> tar: Extended header record length 188253 is out of range

It just runs "gzip -d $file | tar xf -" which shouldn't be very different
than "tar zxf" ..

If it needs some other tar then you can e.g. set BUILD_DEPENDS
on archivers/gtar and set "TAR=gtar" in the port Makefile.

What is the URL of the tar file?

No comments:

Post a Comment