Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12109 - zip package does not compile

Attached to Project: Arch Linux
Opened by Michal Kolodziejczyk (miko) - Thursday, 13 November 2008, 11:05 GMT
Last edited by Douglas Soares de Andrade (dsa) - Monday, 02 February 2009, 02:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Architecture i686
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Compilation of the zip package fails with following error:
gcc -c -I. -DUNIX -march=i686 -mtune=generic -O2 -pipe -O3 -DBZIP2_SUPPORT -DASMV -DASM_CRC -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c
zipup.c: In function 'zipup':
zipup.c:802: error: too few arguments to function 'crypthead'
zipup.c:869: error: too few arguments to function 'zfwrite'
zipup.c:884: error: too few arguments to function 'zfwrite'
zipup.c: In function 'flush_outbuf':
zipup.c:1395: error: too few arguments to function 'zfwrite'
zipup.c: In function 'bzfilecompress':
zipup.c:1799: error: too few arguments to function 'zfwrite'
zipup.c:1881: error: too few arguments to function 'zfwrite'
zipup.c:1893: error: too few arguments to function 'zfwrite'
make[2]: *** [zipup.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/mnt/wd/abs/extra/zip/src/zip30'
make[1]: *** [generic] Error 2
make[1]: Leaving directory `/mnt/wd/abs/extra/zip/src/zip30'
make: *** [generic_gcc] Error 2
==> ERROR: Build Failed.

Additional info:
package version zip-3.0-1
arch linux updated to all current packages:
gcc 4.3.2-1
kernel26 2.6.27-2
glibc 2.8-3

Steps to reproduce:
abs
cd /var/abs/extra/zip
makepkg --asroot
This task depends upon

Closed by  Douglas Soares de Andrade (dsa)
Monday, 02 February 2009, 02:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks Bruno =)
Comment by Douglas Soares de Andrade (dsa) - Saturday, 22 November 2008, 21:14 GMT
Hi Eric,

I tried to compile it and it compiled ok for me in i686. Is it a x86_64 bug ?

Can we close this ticket ?
Comment by Dan Griffiths (Ghost1227) - Monday, 24 November 2008, 01:53 GMT
It's not an x86_64 bug, as I received the same error compiling on i686... Research time!
Comment by Allan McRae (Allan) - Monday, 24 November 2008, 05:23 GMT
Builds fine here with clean chroot (i686 - only base, base-devel, sudo).
Comment by Allan McRae (Allan) - Friday, 28 November 2008, 12:00 GMT
And builds fine x86_64 in clean chroot.
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 14:26 GMT
I can confirm the same problem.
Comment by Bruno Tsubouchi Yporti (yportilog) - Friday, 19 December 2008, 22:37 GMT
Bug confirmed. Arch i686 - testing enabled.
Comment by Bruno Tsubouchi Yporti (yportilog) - Saturday, 20 December 2008, 16:10 GMT
Zip 3.0 don't need zcrypt.zip. Bug fixed, see the attachment.
   PKGBUILD (0.7 KiB)
Comment by Baho Utot (baho-utot) - Sunday, 25 January 2009, 13:03 GMT
Change zip30.zip to zip30.tar.gz and it will compile fine with zcrypt.

   PKGBUILD (0.7 KiB)
Comment by Greg (dolby) - Sunday, 01 February 2009, 03:16 GMT
Waiting for unfinished jobs.... errors can be solved by adding !makeflags in options.

Loading...