Date: Thu, 31 Jul 2003 19:59:35 -0500 (CDT) From: Larry Rosenman <ler@lerctr.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: krion@FreeBSD.org Subject: ports/55137: devel/zziplib doesn't compile Message-ID: <200308010059.h710xZjM019749@lerlaptop.lerctr.org> Resent-Message-ID: <200308010100.h7110Win033874@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55137 >Category: ports >Synopsis: devel/zziplib doesn't compile >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 31 18:00:30 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Larry Rosenman >Release: FreeBSD 5.1-CURRENT i386 >Organization: LERCTR Consulting >Environment: System: FreeBSD lerlaptop.lerctr.org 5.1-CURRENT FreeBSD 5.1-CURRENT #34: Mon Jul 28 15:22:59 CDT 2003 ler@lerlaptop-red.iadfw.net:/usr/obj/usr/src/sys/LERLAPTOP i386 >Description: devel/zziplib port doesn't upgrade... log file: ===> Cleaning for libiconv-1.9.1_1 ===> Cleaning for gettext-0.11.5_1 ===> Cleaning for gmake-3.80 ===> Cleaning for libtool-1.3.5_1 ===> Cleaning for pkgconfig-0.15.0 ===> Cleaning for expat-1.95.6_1 ===> Cleaning for zziplib-0.10.82 ===> Extracting for zziplib-0.10.82 >> Checksum OK for zziplib-0.10.82.tar.bz2. ===> Patching for zziplib-0.10.82 ===> Applying FreeBSD patches for zziplib-0.10.82 ===> zziplib-0.10.82 depends on executable: pkg-config - found ===> zziplib-0.10.82 depends on file: /usr/local/libexec/libtool13/libtool - found ===> Configuring for zziplib-0.10.82 checking build system type... i386-portbld-freebsd5.1 checking host system type... i386-portbld-freebsd5.1 checking target system type... i386-portbld-freebsd5.1 checking for gsed... sed checking default prefix system... is /local-package ...using thread-safe linkage checking zlib install prefix... none checking rpm spec file... zziplib.spec checking for spec package... zziplib checking for spec version... 0.10.82 checking for spec license type... GNU LGPL (fallback) checking for spec summary... ZZipLib - libZ-based ZIP-access Library checking for spec category... Development/Libraries checking for spec icon... zziplib-icon.png (fallback) checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for mawk... no checking for gawk... no checking for nawk... nawk checking whether make sets ${MAKE}... yes checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /usr/bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... cc -E checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... freebsd5.1 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... yes creating libtool checking host system type... i386-unknown-freebsd5.1 checking for ranlib... ranlib checking whether we are using GNU C... yes checking for object suffix... o checking for executable suffix... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions ... no checking if cc static flag -static works... -static checking whether ln -s works... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking for BSD-compatible nm... /usr/bin/nm -B checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... freebsd5.1 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool checking out linker version info 0.10.82 ... /0/10:82 (-0.so.10.0.82) creating zzip/_msvc.in via zzip/_msvc.sed of config.h.in checking whether to enable maintainer-specific portions of Makefiles... no checking for perl5... /usr/bin/perl5 checking for php-standalone... no checking for php... /usr/local/bin/php checking for zip... /usr/local/bin/zip checking for xmlto... no checking for cc option to accept ANSI C... none needed checking for inline... inline checking for an ANSI C-conforming const... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for stdint.h... yes checking for unistd.h... yes checking for windows.h... no checking for winnt.h... no checking for winbase.h... no checking for sys/int_types.h... no checking for sys/types.h... yes checking for sys/mman.h... yes checking for sys/stat.h... yes checking for sys/param.h... yes checking for io.h... no checking for zlib.h... yes checking for strcasecmp... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for off_t... yes checking for size_t... yes checking for ssize_t... yes checking size of short... 2 checking size of int... 4 checking size of long... 4 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking whether system differentiates 64bit off_t by defines... no compiles library with the only off_t seen checking for zlib being found... yes - 1.1.4 checking docdir default... ${datadir}/doc checking whether io-wrap needs to wrap system calls... no checking whether using debugging messages in libraries... no checking whether thread stack is too small for bufsiz buffers... no checking whether can use mmap for file scanning... yes, sys/mman.h checking whether making SDL parts... no, disabled checking running extra tests on make check... yes checking link options... --export-dynamic # checking auto silent in maintainer mode... libtool-silent, auto-sleep-9 checking CFLAGS frame-pointer... no, -fomit-frame-pointer added checking CFLAGS for maximum warnings... -Wall checking CFLAGS making strings readonly... -fno-writable-strings -Wwrite-strings checking CFLAGS for strict prototypes... -Wstrict-prototypes checking CFLAGS for gcc -Wpointer-arith... -Wpointer-arith checking CFLAGS for gcc -Wsign-compare... -Wsign-compare checking CFLAGS for gcc -Wmissing-declarations... -Wmissing-declarations checking for pkg-config... /usr/local/bin/pkg-config configure: warning: pkgconfigdir=/usr/local/lib/pkgconfig (see config.log) configure: perhaps: make install pkgconfigdir=/ configure: creating ./config.status config.status: creating Makefile config.status: creating zzip/Makefile config.status: creating zzipwrap/Makefile config.status: creating SDL/Makefile config.status: creating docs/Makefile config.status: creating test/Makefile config.status: creating zziplib/Makefile config.status: creating bins/Makefile config.status: creating bins/zzip-config config.status: creating config.h config.status: skipping top_srcdir/Makefile - not created config.status: creating zzip/_config.h - prefix ZZIP for config.h defines config.status: creating zzip/_msvc.h - prefix ZZIP for zzip/_msvc.in defines config.status: zzip/_msvc.h is unchanged ----- zziplib 0.10.82 /usr/local host: i386-unknown-freebsd5.1 enable shared libraries enable static libraries CFLAGS= -O -pipe -mcpu=pentiumpro -D_USE_MMAP -fomit-frame-pointer -Wall -fno-writable-strings -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wsign-compare -Wmissing-declarations enable mmap (yes, sys/mman.h) without lowstk (no) without debug (no) # make && make check && make install ===> Building for zziplib-0.10.82 cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: skipping top_srcdir/Makefile - not created config.status: creating zzip/_config.h - prefix ZZIP for config.h defines config.status: zzip/_config.h is unchanged config.status: creating zzip/_msvc.h - prefix ZZIP for zzip/_msvc.in defines config.status: zzip/_msvc.h is unchanged make all-recursive Making all in zzip source='zip.c' object='zip.lo' libtool=yes depfile='.deps/zip.Plo' tmpdepfile='.deps/zip.TPlo' depmode=gcc3 /bin/sh ../uses/depcomp /bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I.. -I.. -O -pipe -mcpu=pentiumpro -D_USE_MMAP -fomit-frame-pointer -Wall -fno-writable-strings -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wsign-compare -Wmissing-declarations -c -o zip.lo `test -f zip.c || echo './'`zip.c In file included from ../zzip/lib.h:21, from zip.c:14: ../zzip/zzip.h:83: error: syntax error before "zzip_ssize_t" ../zzip/zzip.h:83: warning: type defaults to `int' in declaration of `zzip_ssize_t' ../zzip/zzip.h:83: warning: data definition has no type or storage class ../zzip/zzip.h:185: error: syntax error before "zzip_file_read" ../zzip/zzip.h:185: warning: type defaults to `int' in declaration of `zzip_file_read' ../zzip/zzip.h:185: warning: data definition has no type or storage class ../zzip/zzip.h:192: error: syntax error before "zzip_read" ../zzip/zzip.h:192: warning: type defaults to `int' in declaration of `zzip_read' ../zzip/zzip.h:192: warning: data definition has no type or storage class In file included from ../zzip/lib.h:22, from zip.c:14: ../zzip/plugin.h:45: error: syntax error before "zzip_ssize_t" zip.c: In function `__zzip_find_disk_trailer': zip.c:135: error: called object is not a function zip.c:200: error: structure has no member named `read' zip.c:200: error: syntax error before "maplen" zip.c:202: error: `mapped' undeclared (first use in this function) zip.c:202: error: (Each undeclared identifier is reported only once zip.c:202: error: for each function it appears in.) zip.c:133: error: label `cleanup' used but not defined zip.c: At top level: zip.c:207: error: syntax error before '{' token *** Error code 1 Stop in /shared/ports/devel/zziplib/work/zziplib-0.10.82/zzip. *** Error code 1 Stop in /shared/ports/devel/zziplib/work/zziplib-0.10.82. *** Error code 1 Stop in /shared/ports/devel/zziplib/work/zziplib-0.10.82. *** Error code 1 Stop in /shared/ports/devel/zziplib. >How-To-Repeat: portupgrade zziplib >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308010059.h710xZjM019749>