Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 14:26:57 GMT
From:      pkg-fallout-builder@FreeBSD.org
To:        danfe@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - 10i386-quarterly][games/quakeforge] Failed for quakeforge-0.5.5_12 in build
Message-ID:  <201406181426.s5IEQvpX003363@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: branches/2014Q2/games/quakeforge/Makefile 340722 2014-01-22 17:00:46Z mat $
Log URL:        http://beefy1.isc.freebsd.org/bulk/10i386-quarterly/2014-06-18_09h27m03s/logs/quakeforge-0.5.5_12.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/10i386-quarterly/2014-06-18_09h27m03s
Log:

====>> Building games/quakeforge
build started at Wed Jun 18 14:26:32 UTC 2014
port directory: /usr/ports/games/quakeforge
building for: FreeBSD 10i386-quarterly-job-01 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 i386
maintained by: danfe@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2014Q2/games/quakeforge/Makefile 340722 2014-01-22 17:00:46Z mat $
Poudriere version: 3.1-pre
Host OSVERSION: 1100022
Jail OSVERSION: 1000510

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p3
UNAME_r=10.0-RELEASE-p3
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/build/10i386-quarterly/ref
PKG_EXT=txz
tpid=71095
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
OLDPWD=/usr/local/poudriere/data/build/10i386-quarterly/ref/poudriere/rdeps
PWD=/usr/local/poudriere/data/build/10i386-quarterly/ref/poudriere/pool
MASTERNAME=10i386-quarterly
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--

--PLIST_SUB--
Q1DIR="share/quake"
CLIENTS=""
SDL="@comment
"
VORBIS="@comment
"
XMMS="@comment
"
SERVERS=""
SKYBOXES="@comment
"
OSREL=10.0
PREFIX=%D
LOCALBASE=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
DOCSDIR="share/doc/quakeforge"
EXAMPLESDIR="share/examples/quakeforge"
DATADIR="share/quake"
WWWDIR="www/quakeforge"
ETCDIR="etc/quakeforge"
--End PLIST_SUB--

--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
# clean-restricted via poudriere.conf NO_RESTRICTED
#NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for quakeforge-0.5.5_12
=======================<phase: check-sanity   >============================
===========================================================================
=======================<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.7.txz
Installing pkg-1.2.7... 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 gettext-0.18.3.1... done
Installing m4-1.4.17_1,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.9.1_1... 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
pkg-static: No package(s) matching libtool
===>    Verifying install for libtool>=2.4 in /usr/ports/devel/libtool
<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?201406181426.s5IEQvpX003363>