[Lunar-commits] <moonbase> unzip: updated to 6.0

samuel samuel.verstraete at gmail.com
Sun Jun 7 19:55:33 CEST 2009


On Tue, May 26, 2009 at 2:19 AM, Zbigniew
Luszpinski<zbiggy at lunar-linux.org> wrote:
> commit 3400291a4aec1068f591ee604de6a83d3b9559d5
> Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
> Date:   Tue May 26 02:19:07 2009 +0200
>
>    unzip: updated to 6.0

doesn't compile on x86_64...

error:
Check C compiler operation
  Ok
Check C compiler type (optimization options)
  GNU C ( -O2 -march=x86-64)
Check for the C preprocessor
Check if we can use asm code
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 for Large File Support
  off_t is 8 bytes
-- yes we have Large File Support!
Check for wide char support
  __STDC_ISO_10646__ = 200009
-- have wchar_t with known UCS encoding - enabling Unicode support!
Check for setlocale support (needed for UNICODE Native check)
-- have setlocale, can check for charset type
--  - enabling UTF8-native support!
Check for gcc no-builtin flag
Check for fchmod
Check for fchown
Check for lchown
Check for nl_langinfo
Check for lchmod
Check for memset
Check for errno declaration
Check for directory libraries
Check for readlink
Check for directory include file
Check for non existent include files
Check for term I/O include file
Check for MBCS include files
Check for MBCS support
-- have MBCS support
Check for MBCS mbschr
Check for MBCS mbsrchr
Check for valloc
Check for /usr/bin and /usr/man
Checking for OS specialties
Check for symbolic links
Check bzip2 support
  Check for bzip2 sources in unzip's bzip2 subdirectory
-- bzip2 sources not found - no bzip2 support
ln: creating hard link `./Makefile': File exists
/usr/bin/make objsdll CC=gcc CFLAGS=" -O2 -march=x86-64 -Wall -fPIC"\
	 LOC="-DDLL -DASM_CRC  "\
	 AS=gcc AF="-fPIC -Di386  " CRCA_O=crc_gcc.o
make[1]: Entering directory `/usr/src/unzip60'
gcc -c -O2 -march=x86-64 -Wall -fPIC -I. -Ibzip2 -DUNIX -DDLL
-DASM_CRC   -o unzip.pic.o unzip.c
gcc -c -O2 -march=x86-64 -Wall -fPIC -I. -Ibzip2 -DUNIX -DDLL
-DASM_CRC   -o crc32.pic.o crc32.c
gcc -fPIC -Di386   -x assembler-with-cpp -c -o crc_gcc.pic.o crc_i386.S
crc_i386.S: Assembler messages:
crc_i386.S:203: Error: suffix or operands invalid for `push'
crc_i386.S:204: Error: suffix or operands invalid for `push'
crc_i386.S:205: Error: suffix or operands invalid for `push'
crc_i386.S:206: Error: suffix or operands invalid for `push'
crc_i386.S:207: Error: suffix or operands invalid for `push'
crc_i386.S:208: Error: suffix or operands invalid for `push'
crc_i386.S:292: Error: suffix or operands invalid for `pop'
crc_i386.S:293: Error: suffix or operands invalid for `pop'
crc_i386.S:294: Error: suffix or operands invalid for `pop'
crc_i386.S:295: Error: suffix or operands invalid for `pop'
crc_i386.S:296: Error: suffix or operands invalid for `pop'
crc_i386.S:297: Error: suffix or operands invalid for `pop'
make[1]: *** [crc_gcc.pic.o] Error 1
make[1]: Leaving directory `/usr/src/unzip60'
make: *** [linux_shlib] Error 2








> ---
>  archive/unzip/BUILD   |   15 ++++++++++-----
>  archive/unzip/DETAILS |   12 ++++++------
>  2 files changed, 16 insertions(+), 11 deletions(-)
>
> diff --git a/archive/unzip/BUILD b/archive/unzip/BUILD
> index 337c9eb..192b791 100644
> --- a/archive/unzip/BUILD
> +++ b/archive/unzip/BUILD
> @@ -1,9 +1,14 @@
>  (
>
> -  sedit  "s/-O /$CFLAGS /"  unix/Makefile
> -  sedit  "s/MANDIR = \$(prefix)\/man/MANDIR = \$(prefix)\/share\/man/" unix/Makefile
> -  make  -f unix/Makefile generic  &&
> -  prepare_install                 &&
> -  make  prefix=/usr -f unix/Makefile install
> +  sedit "s/-O3/$CFLAGS/" unix/configure unix/Makefile &&
> +  sedit "s/MANDIR = \$(prefix)\/man/MANDIR = \$(prefix)\/share\/man/" unix/Makefile &&
> +  sedit 's@/usr/local@/usr at g' unix/Makefile unix/configure &&
> +  cp -rf unix/* . &&
> +  ./configure &&
> +  make linux_shlib &&
> +  make linux &&
> +  prepare_install &&
> +  make install &&
> +  cp -af libunzip.s* /usr/lib
>
>  ) > $C_FIFO 2>&1
> diff --git a/archive/unzip/DETAILS b/archive/unzip/DETAILS
> index fa94bd4..031bf44 100644
> --- a/archive/unzip/DETAILS
> +++ b/archive/unzip/DETAILS
> @@ -1,13 +1,13 @@
>           MODULE=unzip
> -         VERSION=5.52
> -          SOURCE=${MODULE}552.tar.gz
> +         VERSION=60
> +          SOURCE=$MODULE$VERSION.tar.gz
> +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION
>    SOURCE_URL[0]=$SFORGE_URL/infozip/
> -   SOURCE_URL[1]=ftp://ftp.info-zip.org/pub/infozip/src/
> -      SOURCE_VFY=sha1:1831bd59b9e607a69052f83b263384895e2d4a19
> +      SOURCE_VFY=sha1:abf7de8a4018a983590ed6f5cbd990d4740f8a22
>         WEB_SITE=http://www.info-zip.org/UnZip.html
>          ENTERED=20010922
> -         UPDATED=20050718
> -           SHORT="PKWARE compatible decompressor."
> +         UPDATED=20090525
> +           SHORT="PKWARE compatible decompressor"
>
>  cat << EOF
>  Info-ZIP's purpose is to provide free, portable, high-quality versions
> _______________________________________________
> Lunar-commits mailing list
> Lunar-commits at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-commits
>


More information about the Lunar-dev mailing list