Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 10:22:07 GMT
From:      pkg-fallout@FreeBSD.org
To:        danfe@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-i386-default][games/quakeforge] Failed for quakeforge-0.5.5_12 in build
Message-ID:  <201401301022.s0UAM7g5047020@beefy1.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     danfe@FreeBSD.org
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/games/quakeforge/Makefile 340722 2014-01-22 17:00:46Z mat $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-01-30_03h34m08s/logs/quakeforge-0.5.5_12.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-01-30_03h34m08s
Log:

====>> Building games/quakeforge
build started at Thu Jan 30 10:21:36 UTC 2014
port directory: /usr/ports/games/quakeforge
building for: FreeBSD head-i386-default-job-07 11.0-CURRENT FreeBSD 11.0-CURRENT r260903 i386
maintained by: danfe@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/quakeforge/Makefile 340722 2014-01-22 17:00:46Z mat $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100005
UNAME_v=FreeBSD 11.0-CURRENT r260903
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref
PKG_EXT=txz
tpid=15635
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=quakeforge-0.5.5_12
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for quakeforge-0.5.5_12:
     CLIENTS=on: Clients
     DOCS=on: Build and/or install documentation
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     SDL=off: SDL client
     SERVERS=on: Dedicated servers
     SKYBOXES=off: Install skyboxes pak
     VORBIS=off: Ogg Vorbis support in clients
     XMMS=off: XMMS support in clients
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--with-global-cfg=/usr/local/etc/quakeforge.conf  --with-sharepath=/usr/local/share/quake  --disable-optimize --disable-sdl --disable-ogg --disable-vorbis --disable-xmms --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh   LIBTOOL=/usr/local/bin/libtool  LIBTOOLIZE=/usr/local/bin/libtoolize  LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool  LIBTOOL_SHAREDIR=/usr/local/share/libtool  LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4  LTMAIN=/usr/local/share/libtool/config/ltmain.sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
Q1DIR="/usr/local/share/quake" TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES   LIBTOOL=/usr/local/bin/libtool  LIBTOOLIZE=/usr/local/bin/libtoolize  LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool  LIBTOOL_SHAREDIR=/usr/local/share/libtool  LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4  LTMAIN=/usr/local/share/libtool/config/ltmain.sh PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 44
 4"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
Q1DIR="/usr/local/share/quake"
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/quake
DOCSDIR=/usr/local/share/doc/quakeforge
EXAMPLESDIR=/usr/local/share/examples/quakeforge
WWWDIR=/usr/local/www/quakeforge
ETCDIR=/usr/local/etc/quakeforge
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for quakeforge-0.5.5_12
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   quakeforge-0.5.5_12 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.2.5.txz
Installing pkg-1.2.5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of quakeforge-0.5.5_12
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by quakeforge-0.5.5_12 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by quakeforge-0.5.5_12 for building
=> SHA256 Checksum OK for quakeforge/quakeforge-0.5.5.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by quakeforge-0.5.5_12 for building
===>  Extracting for quakeforge-0.5.5_12
=> SHA256 Checksum OK for quakeforge/quakeforge-0.5.5.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for quakeforge-0.5.5_12
===>  Applying FreeBSD patches for quakeforge-0.5.5_12
===========================================================================
=======================<phase: build-depends  >============================
===>   quakeforge-0.5.5_12 depends on executable: bison - not found
===>    Verifying install for bison in /usr/ports/devel/bison
===>   Installing existing package /packages/All/bison-2.7.1,1.txz
Installing bison-2.7.1,1...Installing m4-1.4.17,1... done
Installing gettext-0.18.3.1... done
 done
===>   Returning to build of quakeforge-0.5.5_12
===>   quakeforge-0.5.5_12 depends on executable: gmake - not found
===>    Verifying install for gmake in /usr/ports/devel/gmake
===>   Installing existing package /packages/All/gmake-3.82_1.txz
Installing gmake-3.82_1... done
===>   Returning to build of quakeforge-0.5.5_12
===>   quakeforge-0.5.5_12 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/glproto.pc in /usr/ports/x11/glproto
===>   Installing existing package /packages/All/glproto-1.4.17.txz
Installing glproto-1.4.17... done
===>   Returning to build of quakeforge-0.5.5_12
===>   quakeforge-0.5.5_12 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/dri2proto.pc in /usr/ports/x11/dri2proto
===>   Installing existing package /packages/All/dri2proto-2.8.txz
Installing dri2proto-2.8... done
===>   Returning to build of quakeforge-0.5.5_12
===>   quakeforge-0.5.5_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/x11.pc in /usr/ports/x11/libX11
===>   Installing existing package /packages/All/libX11-1.6.2,1.txz
Installing libX11-1.6.2,1...Installing kbproto-1.0.6... done
Installing libXau-1.0.8...Installing xproto-7.0.25... done
 done
Installing libXdmcp-1.1.1... done
Installing libxcb-1.9.3...Installing libpthread-stubs-0.3_4... done
Installing libxml2-2.8.0_3... done
 done
 done
===>   Returning to build of quakeforge-0.5.5_12
===>   quakeforge-0.5.5_12 depends on file: /usr/local/libdata/pkgconfig/xt.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/xt.pc in /usr/ports/x11-toolkits/libXt
===>   Installing existing package /packages/All/libXt-1.1.4,1.txz
Installing libXt-1.1.4,1...Installing libSM-1.2.2,1...Installing libICE-1.0.8,1... done
 done
 done
===>   Returning to build of quakeforge-0.5.5_12
===>   quakeforge-0.5.5_12 depends on package: libtool>=2.4 - not found
===>    Verifying install for libtool>=2.4 in /usr/ports/devel/libtool
===>   Installing existing package /packages/All/libtool-2.4.2_2.txz
Installing libtool-2.4.2_2... done
===>   Returning to build of quakeforge-0.5.5_12
===========================================================================
=======================<phase: lib-depends    >============================
===>   quakeforge-0.5.5_12 depends on shared library: libGLU.so - not found
===>    Verifying for libGLU.so in /usr/ports/graphics/libGLU
===>   Installing existing package /packages/All/libGLU-9.0.0.txz
Installing libGLU-9.0.0...Installing libGL-9.1.7...Installing expat-2.1.0... done
Installing libXdamage-1.1.4...Installing damageproto-1.2.1... done
Installing libXfixes-5.0.1...Installing fixesproto-5.0... done
 done
 done
Installing libXext-1.3.2,1...Installing xextproto-7.2.1... done
 done
Installing libXxf86vm-1.1.3...Installing xf86vidmodeproto-2.3.1... done
 done
Installing libdrm-2.4.50...Installing libpciaccess-0.13.2...Installing pciids-20131225... done
 done
 done
 done
 done
===>   Returning to build of quakeforge-0.5.5_12
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for quakeforge-0.5.5_12
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/games/quakeforge/work/quakeforge-0.5.5/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/games/quakeforge/work/quakeforge-0.5.5/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/games/quakeforge/work/quakeforge-0.5.5/configure
configure: loading site script /usr/ports/Templates/config.site
checking build system type... i386-portbld-freebsd11.0
checking host system type... i386-portbld-freebsd11.0
<snip>
cc: warning: argument unused during compilation: '-fexpensive-optimizations'
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT pakfile.lo -MD -MP -MF .deps/pakfile.Tpo -c pakfile.c  -fPIC -DPIC -o pakfile.o >/dev/null 2>&1
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -prefer-pic -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT plugin.lo -MD -MP -MF ".deps/plugin.Tpo" -c -o plugin.lo plugin.c; \
then mv -f ".deps/plugin.Tpo" ".deps/plugin.Plo"; else rm -f ".deps/plugin.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c plugin.c  -fPIC -DPIC -o .libs/plugin.o
cc: warning: argument unused during compilation: '-fexpensive-optimizations'
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c plugin.c  -fPIC -DPIC -o plugin.o >/dev/null 2>&1
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -prefer-pic -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT qargs.lo -MD -MP -MF ".deps/qargs.Tpo" -c -o qargs.lo qargs.c; \
then mv -f ".deps/qargs.Tpo" ".deps/qargs.Plo"; else rm -f ".deps/qargs.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT qargs.lo -MD -MP -MF .deps/qargs.Tpo -c qargs.c  -fPIC -DPIC -o .libs/qargs.o
cc: warning: argument unused during compilation: '-fexpensive-optimizations'
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT qargs.lo -MD -MP -MF .deps/qargs.Tpo -c qargs.c  -fPIC -DPIC -o qargs.o >/dev/null 2>&1
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -prefer-pic -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT qendian.lo -MD -MP -MF ".deps/qendian.Tpo" -c -o qendian.lo qendian.c; \
then mv -f ".deps/qendian.Tpo" ".deps/qendian.Plo"; else rm -f ".deps/qendian.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT qendian.lo -MD -MP -MF .deps/qendian.Tpo -c qendian.c  -fPIC -DPIC -o .libs/qendian.o
cc: warning: argument unused during compilation: '-fexpensive-optimizations'
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT qendian.lo -MD -MP -MF .deps/qendian.Tpo -c qendian.c  -fPIC -DPIC -o qendian.o >/dev/null 2>&1
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -prefer-pic -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT qfplist.lo -MD -MP -MF ".deps/qfplist.Tpo" -c -o qfplist.lo qfplist.c; \
then mv -f ".deps/qfplist.Tpo" ".deps/qfplist.Plo"; else rm -f ".deps/qfplist.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT qfplist.lo -MD -MP -MF .deps/qfplist.Tpo -c qfplist.c  -fPIC -DPIC -o .libs/qfplist.o
cc: warning: argument unused during compilation: '-fexpensive-optimizations'
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT qfplist.lo -MD -MP -MF .deps/qfplist.Tpo -c qfplist.c  -fPIC -DPIC -o qfplist.o >/dev/null 2>&1
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -prefer-pic -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT quakefs.lo -MD -MP -MF ".deps/quakefs.Tpo" -c -o quakefs.lo quakefs.c; \
then mv -f ".deps/quakefs.Tpo" ".deps/quakefs.Plo"; else rm -f ".deps/quakefs.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT quakefs.lo -MD -MP -MF .deps/quakefs.Tpo -c quakefs.c  -fPIC -DPIC -o .libs/quakefs.o
cc: warning: argument unused during compilation: '-fexpensive-optimizations'
quakefs.c:1072:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        Sys_Error (va ("Bad pakfile %s!!", pakfiles[i]));
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT quakefs.lo -MD -MP -MF .deps/quakefs.Tpo -c quakefs.c  -fPIC -DPIC -o quakefs.o >/dev/null 2>&1
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -prefer-pic -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT quakeio.lo -MD -MP -MF ".deps/quakeio.Tpo" -c -o quakeio.lo quakeio.c; \
then mv -f ".deps/quakeio.Tpo" ".deps/quakeio.Plo"; else rm -f ".deps/quakeio.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -pipe -O3 -funroll-loops -fomit-frame-pointer -fno-common -fexpensive-optimizations -fstrict-aliasing -ffast-math -fno-strict-aliasing -g -pipe -Wall -fno-common -MT quakeio.lo -MD -MP -MF .deps/quakeio.Tpo -c quakeio.c  -fPIC -DPIC -o .libs/quakeio.o
cc: warning: argument unused during compilation: '-fexpensive-optimizations'
quakeio.c:173:16: warning: incompatible pointer types assigning to 'gzFile *' (aka 'struct gzFile_s **') from 'gzFile' (aka 'struct gzFile_s *') [-Wincompatible-pointer-types]
                file->gzfile = gzopen (path, m);
                             ^ ~~~~~~~~~~~~~~~~
quakeio.c:217:16: warning: incompatible pointer types assigning to 'gzFile *' (aka 'struct gzFile_s **') from 'gzFile' (aka 'struct gzFile_s *') [-Wincompatible-pointer-types]
                file->gzfile = gzdopen (fd, m);
                             ^ ~~~~~~~~~~~~~~~
quakeio.c:261:12: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                gzclose (file->gzfile);
                         ^~~~~~~~~~~~
                         *
/usr/include/zlib.h:1511:43: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT    gzclose OF((gzFile file));
                                          ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:284:17: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                ret = gzread (file->gzfile, buf, count);
                              ^~~~~~~~~~~~
                              *
/usr/include/zlib.h:1313:39: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len));
                                      ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:298:19: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                return gzwrite (file->gzfile, (const voidp)buf, count);
                                ^~~~~~~~~~~~
                                *
/usr/include/zlib.h:1341:40: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzwrite OF((gzFile file,
                                       ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:325:19: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                        ret = gzwrite (file->gzfile, buf, (unsigned) ret);
                                       ^~~~~~~~~~~~
                                       *
/usr/include/zlib.h:1341:40: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzwrite OF((gzFile file,
                                       ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:339:18: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                return gzputs (file->gzfile, buf);
                               ^~~~~~~~~~~~
                               *
/usr/include/zlib.h:1364:39: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzputs OF((gzFile file, const char *s));
                                      ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:361:17: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                buf = gzgets (file->gzfile, buf, count);
                              ^~~~~~~~~~~~
                              *
/usr/include/zlib.h:1372:42: note: passing argument to parameter 'file' here
ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len));
                                         ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:381:10: error: member reference base type 'gzFile' (aka 'struct gzFile_s *') is not a structure or union
                return gzgetc (file->gzfile);
                       ^~~~~~~~~~~~~~~~~~~~~
/usr/include/zlib.h:1682:15: note: expanded from macro 'gzgetc'
          ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
           ~~~^ ~~~~
quakeio.c:381:10: error: member reference base type 'gzFile' (aka 'struct gzFile_s *') is not a structure or union
                return gzgetc (file->gzfile);
                       ^~~~~~~~~~~~~~~~~~~~~
/usr/include/zlib.h:1682:28: note: expanded from macro 'gzgetc'
          ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
                        ~~~^ ~~~~
quakeio.c:381:10: error: member reference base type 'gzFile' (aka 'struct gzFile_s *') is not a structure or union
                return gzgetc (file->gzfile);
                       ^~~~~~~~~~~~~~~~~~~~~
/usr/include/zlib.h:1682:41: note: expanded from macro 'gzgetc'
          ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
                                     ~~~^ ~~~
quakeio.c:381:10: error: member reference base type 'gzFile' (aka 'struct gzFile_s *') is not a structure or union
                return gzgetc (file->gzfile);
                       ^~~~~~~~~~~~~~~~~~~~~
/usr/include/zlib.h:1682:55: note: expanded from macro 'gzgetc'
          ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
                                                   ~~~^ ~~~~
quakeio.c:381:18: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                return gzgetc (file->gzfile);
                               ^~~~~~~~~~~~
                               *
/usr/include/zlib.h:1682:75: note: expanded from macro 'gzgetc'
          ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
                                                                          ^
/usr/include/zlib.h:1391:39: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzgetc OF((gzFile file));
                                      ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:394:18: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                return gzputc (file->gzfile, c);
                               ^~~~~~~~~~~~
                               *
/usr/include/zlib.h:1385:39: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c));
                                      ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:443:18: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                return gzseek (file->gzfile, offset, whence);
                               ^~~~~~~~~~~~
                               *
/usr/include/zlib.h:1726:45: note: passing argument to parameter here
   ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile, z_off_t, int));
                                            ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:461:17: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                ret = gztell (file->gzfile);    //FIXME does gztell do the right thing?
                              ^~~~~~~~~~~~
                              *
/usr/include/zlib.h:1727:45: note: passing argument to parameter here
   ZEXTERN z_off_t ZEXPORT gztell OF((gzFile));
                                            ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:475:19: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                return gzflush (file->gzfile, Z_SYNC_FLUSH);
                                ^~~~~~~~~~~~
                                *
/usr/include/zlib.h:1412:40: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzflush OF((gzFile file, int flush));
                                       ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
quakeio.c:490:17: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
                return gzeof (file->gzfile);
                              ^~~~~~~~~~~~
                              *
/usr/include/zlib.h:1475:38: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzeof OF((gzFile file));
                                     ^
/usr/include/zconf.h:267:23: note: expanded from macro 'OF'
#    define OF(args)  args
                      ^
14 warnings and 4 errors generated.
gmake[3]: *** [quakeio.lo] Error 1
gmake[3]: Leaving directory `/wrkdirs/usr/ports/games/quakeforge/work/quakeforge-0.5.5/libs/util'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/wrkdirs/usr/ports/games/quakeforge/work/quakeforge-0.5.5/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/wrkdirs/usr/ports/games/quakeforge/work/quakeforge-0.5.5'
*** Error code 1

Stop.
make: stopped in /usr/ports/games/quakeforge
===>  Cleaning for quakeforge-0.5.5_12



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401301022.s0UAM7g5047020>