Extracting tgz file: Attempt to write to an empty file

Sergey Kandaurov pluknet at gmail.com
Mon Nov 29 17:19:58 UTC 2010


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


More information about the freebsd-current mailing list