Menu

#357 bsdtar has difficulties with the source tar file

v1.0_(example)
open
nobody
None
1
2013-06-06
2013-06-06
Olivier T.
No

Hello.

bsdtar is unable to extract MeshLabSrc_AllInc_v132.tgz without lots of errors like this
vcglib/eigenlib/unsupported/README.txt: Can't create 'vcglib/eigenlib/unsupported/README.txt'

Tar command shows why :

$ tar -tzvf MeshLabSrc_AllInc_v132.tgz | grep "vcglib/eigenlib/unsupported/README.txt"
-rw-r--r-- guido/guido 1875 2011-10-10 13:40 vcglib/eigenlib/unsupported/README.txt
hrw-r--r-- guido/guido 0 2011-10-10 13:40 vcglib/eigenlib/unsupported/README.txt link to vcglib/eigenlib/unsupported/README.txt
hrw-r--r-- guido/guido 0 2011-10-10 13:40 vcglib/eigenlib/unsupported/README.txt link to vcglib/eigenlib/unsupported/README.txt
$

In this example, the tar file contains the file README.txt, followed by 2 links to itself, with the same name.

Deeper analysis here :
http://code.google.com/p/libarchive/issues/detail?id=299

As bsdtar is used in the packagers of distributions (CRUX in my case), it would be nice to have a simpler archive in the next versions.

Thanks
Olivier

Discussion


Log in to post a comment.

MongoDB Logo MongoDB