FS#9792 - makepkg can't extract files from archives using bsdtar (xpi files)
Attached to Project:
Arch Linux
Opened by Vytautas (GODhack) - Saturday, 08 March 2008, 22:30 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 11 April 2008, 20:40 GMT
Opened by Vytautas (GODhack) - Saturday, 08 March 2008, 22:30 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 11 April 2008, 20:40 GMT
|
Details
Description:
makepkg can't extract files from archives using bsdtar (xpi files) Additional info: * package version(s) libarchive/bsdtar 2.4.12 * also look "fixed": Steps to reproduce: 1)wget https://addons.mozilla.org/en-US/firefox/downloads/file/23696/lithuanian_spellchecking_dictionary_____lietuvi___kalbos_ra__ybos_tikrinimo___odynas-1.2-fx+tb+sm.xpi 2)bsdtar -x -f lithuanian* |
This task depends upon
Closed by Aaron Griffin (phrakture)
Friday, 11 April 2008, 20:40 GMT
Reason for closing: Not a bug
Additional comments about closing: See last comment
Friday, 11 April 2008, 20:40 GMT
Reason for closing: Not a bug
Additional comments about closing: See last comment
Easiest way to solve problems related to this:
1. Add the 'broken' zip file to the noextract=() array.
2. Add unzip as a makedepend.
3. Unzip the xpi/zip manually.
I want to use AUR. And "manually" is not possible there.
But I do not know what to do if I want to submit this thing latter to AUR site???
Maybe I should sent link to here instead of PKGBUILD?
Even some official PKGBUILDs have things like so:
pkgname=foobar
...
makedepends=(unzip)
...
build() {
cd $startdir/
[ -d $pkgname ] || unzip $pkgname.zip
...normal build steps...
}
If this doesn't make sense, I really don't know what else to tell you. This is not a bug. It can be corrected in less than a second with a one line addition to the PKGBUILD.
Sum is: 433822e1cd000eb91919dca015f58cf9
Again: BROKEN ZIP FILES ARE NOT OUR PROBLEM
makepkg-output.txt (1 KiB)