[root@polaris zip]# makepkg ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent, catastrophic damage to your system. If you wish to run as root, please use the --asroot option. [root@polaris zip]# makepkg --asroot ==> Making package: zip 3.0-1 i686 (Fri Dec 5 15:24:34 CET 2008) ==> WARNING: Running makepkg as root... ==> Checking Runtime Dependencies... ==> Checking Buildtime Dependencies... ==> Retrieving Sources... -> Downloading zip30.zip... --2008-12-05 15:24:35-- ftp://ftp.info-zip.org/pub/infozip/src/zip30.zip => `zip30.zip' Resolving ftp.info-zip.org... 204.141.35.253 Connecting to ftp.info-zip.org|204.141.35.253|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /dsa0/infozip/pub/infozip/src ... done. ==> SIZE zip30.zip ... 1287223 ==> PASV ... done. ==> RETR zip30.zip ... done. Length: 1287223 (1.2M) 100%[==========================================================================================================================================================================>] 1,287,223 177K/s in 7.4s 2008-12-05 15:24:44 (170 KB/s) - `zip30.zip' saved [1287223] -> Downloading zcrypt.zip... --2008-12-05 15:24:44-- ftp://ftp.info-zip.org/pub/infozip/src/zcrypt.zip => `zcrypt.zip' Resolving ftp.info-zip.org... 204.141.35.253 Connecting to ftp.info-zip.org|204.141.35.253|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /dsa0/infozip/pub/infozip/src ... done. ==> SIZE zcrypt.zip ... 20248 ==> PASV ... done. ==> RETR zcrypt.zip ... done. Length: 20248 (20K) 100%[==========================================================================================================================================================================>] 20,248 67.5K/s in 0.3s 2008-12-05 15:24:46 (67.5 KB/s) - `zcrypt.zip' saved [20248] ==> Validating source files with md5sums... zip30.zip ... Passed zcrypt.zip ... Passed ==> Extracting Sources... -> bsdtar -x -f zip30.zip -> bsdtar -x -f zcrypt.zip ==> Starting build()... Archive: ../zcrypt.zip Info-ZIP encryption/decryption sources, version 2.9, written in Europe for use with Zip, UnZip, and WiZ. Distribute freely, including from the US, according to section 740.13(e) of the amended Export Administration Regulations of the Bureau of Export Administration of the US Department of Commerce. See enclosed README.CR and USexport.msg for details. Rock on. replace README.CR? [y]es, [n]o, [A]ll, [N]one, [r]ename: inflating: README.CR inflating: LICENSE inflating: USexport.msg inflating: WHERE inflating: crypt.c inflating: crypt.h inflating: file_id.diz make -f unix/Makefile generic CC=gcc CPP="gcc -E" make[1]: Entering directory `/var/abs/extra/zip/src/zip30' sh unix/configure "gcc" "-I. -DUNIX -O2 -march=i686 -mtune=generic -pipe" "" Check C compiler type (optimization options) GNU C (-O3) Check bzip2 support Check for bzip2 in bzip2 directory Check if OS already has bzip2 library installed -- OS supports bzip2 - linking in bzip2 Check for the C preprocessor Check if we can use asm code Check if compiler generates underlines Check for ANSI options Check for prototypes Check the handling of const Check for time_t Check for size_t Check for off_t Check size of UIDs and GIDs (Now zip stores variable size UIDs/GIDs using a new extra field. This tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage should also be used for backward compatibility.) s.st_uid is 4 bytes s.st_gid is 4 bytes -- UID not 2 bytes - disabling old 16-bit UID/GID support Check for Large File Support off_t is 8 bytes -- yes we have Large File Support! Check for wide char support -- have wchar_t - enabling Unicode support Check for gcc no-builtin flag Check for rmdir Check for strchr Check for strrchr Check for rename Check for mktemp Check for mktime Check for mkstemp Check for memset Check for memmove Check for strerror Check for errno declaration Check for directory libraries Check for readlink Check for directory include file Check for nonexistent include files Check for term I/O include file Check for valloc Check for /usr/local/bin and /usr/local/man Check for OS-specific flags Check for symbolic links eval make -f unix/Makefile zips `cat flags` make[2]: Entering directory `/var/abs/extra/zip/src/zip30' make[2]: Entering directory `/var/abs/extra/zip/src/zip30' gcc -c -I. -DUNIX -O2 -march=i686 -mtune=generic -pipe -O3 -DBZIP2_SUPPORT -DASMV -DASM_CRC -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c gcc -c -I. -DUNIX -O2 -march=i686 -mtune=generic -pipe -O3 -DBZIP2_SUPPORT -DASMV -DASM_CRC -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c gcc -c -I. -DUNIX -O2 -march=i686 -mtune=generic -pipe -O3 -DBZIP2_SUPPORT -DASMV -DASM_CRC -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c gcc -c -I. -DUNIX -O2 -march=i686 -mtune=generic -pipe -O3 -DBZIP2_SUPPORT -DASMV -DASM_CRC -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.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 `/var/abs/extra/zip/src/zip30' make[1]: *** [generic] Error 2 make[1]: Leaving directory `/var/abs/extra/zip/src/zip30' make: *** [generic_gcc] Error 2 ==> ERROR: Build Failed. Aborting...