FS#10410 - libarchive's bsdtar unable to decompress a certain zip file

Attached to Project: Arch Linux
Opened by Darwin Bautista (djclue917) - Wednesday, 14 May 2008, 03:29 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 14 May 2008, 03:53 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Dan McGee (toofishes)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
bsdtar (bsdtar -x -f) is unable to decompress wengophone-ng's source, which is in a zip file:
http://download.wengo.com/nightlybuilds/universal/sources/openwengo/2.1.2/wengophone-2.1.2-source.zip
Actually, it doesn't give out any error at all and even finishes the 'decompression' process. The directory tree and the file names are preserved but all the files are empty.

Additional info:
* libarchive 2.4.17-1


Steps to reproduce:
1. Download the wengophone-ng package here: http://aur.archlinux.org/packages.php?do_Details=1&ID=8014
2. makepkg
This task depends upon

Closed by  Dan McGee (toofishes)
Wednesday, 14 May 2008, 03:53 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments,  FS#9792  as well
Comment by Dan McGee (toofishes) - Wednesday, 14 May 2008, 03:52 GMT
This is not an Arch bug, but is a libarchive limitation and due to ill-made zip files. See  FS#9562  and  FS#9792 .

Suggested workaround is to specify the file that cannot be extracted in the noextract=() array of the PKGBUILD, add unzip to makedepends, and unzip the file as the first step in the build() function.

The real solution s to contact the upstream makers of the zip and ask them to produce better zip files that other programs can read.

Loading...