Extracting tgz file: Attempt to write to an empty file

From: Sergey Kandaurov <pluknet_at_gmail.com>
Date: Mon, 29 Nov 2010 20:19:56 +0300
Hi.

I see these errors when tar (not limited to but including the version
from FreeBSD -current)
extracts directories from archive compressed with gtar.
file reports: gzip compressed data, from Unix, last modified: Tue Nov
23 04:31:22 2010, max speed

bsdtar taken from Google Code trunk extracts *without* such errors.

Given above I suspect it was fixed in Google Code tree.
If such then it would be nice to have it merged in FreeBSD.

bsdtar version in FreeBSD:
bsdtar 2.8.3 - libarchive 2.7.901a

bsdtar version from Google Code trunk:
bsdtar 3.0.0a - libarchive 3.0.0a

Seen errors:

# bsdtar -xf ~/arch.tgz
./: Attempt to write to an empty file
./.cpan/: Attempt to write to an empty file
./.cpan/CPAN/: Attempt to write to an empty file
./.cpan/build/: Attempt to write to an empty file
./.cpan/build/tmp/: Attempt to write to an empty file
./.cpan/sources/: Attempt to write to an empty file
./.cpan/sources/authors/: Attempt to write to an empty file
./.cpan/sources/authors/id/: Attempt to write to an empty file
./.cpan/sources/authors/id/D/: Attempt to write to an empty file
./.cpan/sources/authors/id/D/DA/: Attempt to write to an empty file
./.cpan/sources/authors/id/D/DA/DANKOGAI/: Attempt to write to an empty file
[...]

-- 
wbr,
pluknet
Received on Mon Nov 29 2010 - 16:19:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC