Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2010 20:19:56 +0300
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>, Tim Kientzle <kientzle@freebsd.org>
Subject:   Extracting tgz file: Attempt to write to an empty file
Message-ID:  <AANLkTiniuwzj%2BKXOgXeeP-inTU7%2BXTcE4WkfO3oWtz_z@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTiniuwzj%2BKXOgXeeP-inTU7%2BXTcE4WkfO3oWtz_z>