Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 19:12:12 GMT
From:      pkg-fallout@FreeBSD.org
To:        danfe@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 10i386-default][games/quakeforge] Failed for quakeforge-0.5.5_12 in build
Message-ID:  <201408131912.s7DJCCPd030902@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: bapt@FreeBSD.org
Ident:          $FreeBSD: head/games/quakeforge/Makefile 362048 2014-07-16 08:05:11Z bapt $
Log URL:        http://beefy1.isc.freebsd.org/data/10i386-default/2014-08-13_06h34m49s/logs/quakeforge-0.5.5_12.log
Build URL:      http://beefy1.isc.freebsd.org/build.html?mastername=10i386-default&build=2014-08-13_06h34m49s
Log:

====>> Building games/quakeforge
build started at Wed Aug 13 19:11:50 UTC 2014
port directory: /usr/ports/games/quakeforge
building for: FreeBSD 10i386-default-job-07 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 i386
maintained by: danfe@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/quakeforge/Makefile 362048 2014-07-16 08:05:11Z bapt $
Poudriere version: 3.1-pre
Host OSVERSION: 1100027
Jail OSVERSION: 1000510

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p7
UNAME_r=10.0-RELEASE-p7
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/10i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=quakeforge-0.5.5_12
OLDPWD=/root/poudriere
PWD=/usr/local/poudriere/data/.m/10i386-default/ref/.p/pool
MASTERNAME=10i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---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--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/quakeforge/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quakeforge/work  HOME=/wrkdirs/usr/ports/games/quakeforge/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/games/quakeforge/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quakeforge/work  HOME=/wrkdirs/usr/ports/games/quakeforge/work 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" XDG_DATA_HOME=/wrkdirs/usr/ports/games/quakeforge/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quakeforge/work  HOME=/wrkdirs/usr/ports/games/quakeforge/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/games/quakeforge/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quakeforge/work  HOME=/wrkdirs/usr/ports/games/quakeforge/work TMPDIR="/tmp" NO_PIE=yes 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="" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -O3 -funroll-loops -fomit-frame-p
 ointer -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 444"  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
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---
=======================<phase: check-sanity   >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===========================================================================
=======================<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.3.6.txz
[10i386-default-job-07] Installing pkg-1.3.6... done
Message for pkg-1.3.6:
 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          >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===> Fetching all distfiles required by quakeforge-0.5.5_12 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===> 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        >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===> 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
[10i386-default-job-07] Installing indexinfo-0.2... done
[10i386-default-job-07] Installing indexinfo-0.2... done
[10i386-default-job-07] Installing m4-1.4.17_1,1... done
[10i386-default-job-07] Installing m4-1.4.17_1,1... 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
[10i386-default-job-07] Installing gmake-3.82_1... done
===>   Returning to build of quakeforge-0.5.5_12
<snip>
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 .libs/pakfile.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 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



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