FS#9105 - makepkg can't unzip .zip file
Attached to Project:
Pacman
Opened by Marc Poiroud (marci1) - Saturday, 05 January 2008, 21:03 GMT
Last edited by Xavier (shining) - Saturday, 05 January 2008, 23:30 GMT
Opened by Marc Poiroud (marci1) - Saturday, 05 January 2008, 21:03 GMT
Last edited by Xavier (shining) - Saturday, 05 January 2008, 23:30 GMT
|
Details
Summary and Info:
makepkg can't unzip source .zip archive I try with 3 differents archives (.zip) and I have the same problem : $ ls megamario.desktop MegaMario_v1.5_w32_linux.zip PKGBUILD $ makepkg ==> Entering fakeroot environment ==> Making package: megamario 1.5-3 (samedi 5 janvier 2008, 22:01:44 (UTC+0100)) ==> Checking Runtime Dependencies... ==> Checking Buildtime Dependencies... ==> Retrieving Sources... -> Found MegaMario_v1.5_w32_linux.zip in build dir -> Found megamario.desktop in build dir ==> Validating source files with md5sums MegaMario_v1.5_w32_linux.zip ... Passed megamario.desktop ... Passed ==> Extracting Sources... ==> Starting build()... make: *** No targets specified and no makefile found. Stop. ==> ERROR: Build Failed. Aborting... $ ls src/ megamario.desktop MegaMario_v1.5_w32_linux.zip Steps to Reproduce: makepkg with foo-source.zip pacman 3.0.6-2 unzip 5.52-3 |
This task depends upon
Closed by Xavier (shining)
Saturday, 05 January 2008, 23:30 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git.
Saturday, 05 January 2008, 23:30 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git.
$ file -biz MegaMario_v1.5_w32_linux.zip
text/plain charset=us-ascii compressed-encoding=application/zip
And makepkg would *application/x-zip* (line 819)
$ strings /usr/share/misc/file/magic.mime.mgc|grep zip
application/zip
application/x-bzip2
application/x-gzip
application/zip
application/zip
$ pacman -Q file
file 4.23-1
Thank to gnunux ;)
It seems like newer versions of magic.mime now report application/zip instead of application/x-zip, so both will be put in makepkg. this will be fixed in 3.1.