Date: Thu, 30 Jan 2014 01:21:14 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [REL - 10i386-default][games/fuhquake] Failed for fuhquake-0.31_8 in build Message-ID: <201401300121.s0U1LEhQ036956@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: ports@FreeBSD.org Last committer: mat@FreeBSD.org Ident: $FreeBSD: head/games/fuhquake/Makefile 340722 2014-01-22 17:00:46Z mat $ Log URL: http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-01-29_19h27m09s/logs/fuhquake-0.31_8.log Build URL: http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-01-29_19h27m09s Log: ====>> Building games/fuhquake build started at Thu Jan 30 01:20:58 UTC 2014 port directory: /usr/ports/games/fuhquake building for: FreeBSD 10i386-default-job-12 10.0-RELEASE FreeBSD 10.0-RELEASE i386 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/games/fuhquake/Makefile 340722 2014-01-22 17:00:46Z mat $ Poudriere version: 3.1-pre ---Begin Environment--- UNAME_m=i386 UNAME_p=i386 OSVERSION=1000510 UNAME_v=FreeBSD 10.0-RELEASE UNAME_r=10.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/10i386-default/ref PKG_EXT=txz tpid=19041 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=fuhquake-0.31_8 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=10i386-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 fuhquake-0.31_8: ASM=on: Use optimized assembly code DOCS=on: Build and/or install documentation HUD=off: Install high quality HUD images OPTIMIZED_CFLAGS=on: Use extra compiler optimizations XMMS=off: Enable MP3 player feature ====> Clients: you have to choose at least one of them GLX=on: Build GLX client X11=on: Build X11 client ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- DATADIR="/usr/local/share/quake" Q1DIR="/usr/local/share/quake" TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include/libpng15 -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-- --SUB_LIST-- Q1DIR="/usr/local/share/quake" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/quake DOCSDIR=/usr/local/share/doc/fuhquake EXAMPLESDIR=/usr/local/share/examples/fuhquake WWWDIR=/usr/local/www/fuhquake ETCDIR=/usr/local/etc/fuhquake --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 fuhquake-0.31_8 =======================<phase: check-config >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> fuhquake-0.31_8 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 fuhquake-0.31_8 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream disappeared; no more public distfiles; unmaintained. ===> Fetching all distfiles required by fuhquake-0.31_8 for building =========================================================================== =======================<phase: checksum >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream disappeared; no more public distfiles; unmaintained. ===> Fetching all distfiles required by fuhquake-0.31_8 for building => SHA256 Checksum OK for fuhquake/fuhquake-source-v0.31.zip. => SHA256 Checksum OK for fuhquake/fuhquake-linux-v0.31.zip. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream disappeared; no more public distfiles; unmaintained. ===> Fetching all distfiles required by fuhquake-0.31_8 for building ===> Extracting for fuhquake-0.31_8 => SHA256 Checksum OK for fuhquake/fuhquake-source-v0.31.zip. => SHA256 Checksum OK for fuhquake/fuhquake-linux-v0.31.zip. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for fuhquake-0.31_8 ===> Applying FreeBSD patches for fuhquake-0.31_8 =========================================================================== =======================<phase: build-depends >============================ ===> fuhquake-0.31_8 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 fuhquake-0.31_8 ===> fuhquake-0.31_8 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 fuhquake-0.31_8 ===> fuhquake-0.31_8 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 libpthread-stubs-0.3_4... done Installing libxcb-1.9.3...Installing libxml2-2.8.0_3... done done done ===> Returning to build of fuhquake-0.31_8 ===> fuhquake-0.31_8 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - not found ===> Verifying install for /usr/local/libdata/pkgconfig/xxf86dga.pc in /usr/ports/x11/libXxf86dga ===> Installing existing package /packages/All/libXxf86dga-1.1.4.txz Installing libXxf86dga-1.1.4...Installing libXext-1.3.2,1...Installing xextproto-7.2.1... done done Installing xf86dgaproto-2.1... done done ===> Returning to build of fuhquake-0.31_8 =========================================================================== =======================<phase: lib-depends >============================ ===> fuhquake-0.31_8 depends on shared library: libpng15.so - not found ===> Verifying for libpng15.so in /usr/ports/graphics/png ===> Installing existing package /packages/All/png-1.5.17.txz Installing png-1.5.17... done ===> Returning to build of fuhquake-0.31_8 ===> fuhquake-0.31_8 depends on shared library: libjpeg.so - not found ===> Verifying for libjpeg.so in /usr/ports/graphics/jpeg ===> Installing existing package /packages/All/jpeg-8_4.txz Installing jpeg-8_4... done ===> Returning to build of fuhquake-0.31_8 ===> fuhquake-0.31_8 depends on shared library: libGL.so - not found ===> Verifying for libGL.so in /usr/ports/graphics/libGL ===> Installing existing package /packages/All/libGL-7.6.1_4.txz Installing libGL-7.6.1_4...Installing expat-2.1.0... done Installing libXdamage-1.1.4...Installing damageproto-1.2.1... done Installing fixesproto-5.0... done Installing libXfixes-5.0.1... done done Installing libXxf86vm-1.1.3...Installing xf86vidmodeproto-2.3.1... done done Installing libdrm-2.4.17_1...Installing libpciaccess-0.13.2...Installing pciids-20131225... done done done <snip> ^ menu.c:3571:10: warning: enumeration values 'm_mp3_control' and 'm_mp3_playlist' not handled in switch [-Wswitch] switch (m_state) { ^ 2 warnings generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c sbar.c -o sbar.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c skin.c -o skin.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c teamplay.c -o teamplay.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' teamplay.c:1760:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strstr(message, " <D4><CF><CF><CB> <D9><CF><D5><D2> flag!") || ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ teamplay.c:1761:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strstr(message, " <E7><EF><F4> <F2><E5><E4><A7><F3> <E6><EC><E1><E7><AE>") || strstr(message, " <E7><EF><F4> <E2><EC><F5><E5><A7><F3> <E6><EC><E1><E7><AE>") || ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ teamplay.c:1761:61: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strstr(message, " <E7><EF><F4> <F2><E5><E4><A7><F3> <E6><EC><E1><E7><AE>") || strstr(message, " <E7><EF><F4> <E2><EC><F5><E5><A7><F3> <E6><EC><E1><E7><AE>") || ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ teamplay.c:2601:52: warning: '&&' within '||' [-Wlogical-op-parentheses] state->modelindex == cl_modelindices[mi_player] && ISDEAD(state->frame) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~~ teamplay.c:2601:52: note: place parentheses around the '&&' expression to silence this warning state->modelindex == cl_modelindices[mi_player] && ISDEAD(state->frame) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c version.c -o version.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c wad.c -o wad.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c zone.c -o zone.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c auth.c -o auth.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c config_manager.c -o config_manager.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' config_manager.c:614:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, newlines); ^~~~~~~~ config_manager.c:620:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, newlines); ^~~~~~~~ config_manager.c:626:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, newlines); ^~~~~~~~ config_manager.c:632:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, newlines); ^~~~~~~~ config_manager.c:638:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, newlines); ^~~~~~~~ config_manager.c:643:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, newlines); ^~~~~~~~ 6 warnings generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c fchecks.c -o fchecks.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' fchecks.c:76:53: warning: '&&' within '||' [-Wlogical-op-parentheses] if (cl.spectator || !fbskins || f_skins_reply_time && cls.realtime - f_skins_reply_time < 20) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fchecks.c:76:53: note: place parentheses around the '&&' expression to silence this warning if (cl.spectator || !fbskins || f_skins_reply_time && cls.realtime - f_skins_reply_time < 20) ^ ( ) 1 warning generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c fmod.c -o fmod.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c fragstats.c -o fragstats.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' fragstats.c:188:15: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!(buffer = FS_LoadHunkFile(fragfilename))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c ignore.c -o ignore.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c logging.c -o logging.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c match_tools.c -o match_tools.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' match_tools.c:64:5: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] in = string; ^ ~~~~~~ match_tools.c:68:7: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] d = CLEANCHAR(c); ^~~~~~~~~~~~ match_tools.c:62:45: note: expanded from macro 'CLEANCHAR' ((readableChars[(byte) c] < ' ' || strchr(disallowed, readableChars[(byte) c])) ? '_' : readableChars[(byte) c]) ^~~~~~~~~~ /usr/include/string.h:76:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ match_tools.c:71:19: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for ( ; *in && CLEANCHAR(*in) == '_'; in++) ^~~~~~~~~~~~~~ match_tools.c:62:45: note: expanded from macro 'CLEANCHAR' ((readableChars[(byte) c] < ' ' || strchr(disallowed, readableChars[(byte) c])) ? '_' : readableChars[(byte) c]) ^~~~~~~~~~ /usr/include/string.h:76:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ match_tools.c:79:24: warning: passing 'byte [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] Util_Process_Filename(buf); ^~~ ./utils.h:37:34: note: passing argument to parameter 'string' here void Util_Process_Filename(char *string); ^ match_tools.c:80:9: warning: returning 'byte [1024]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return buf; ^~~ match_tools.c:197:25: warning: sizeof on array function parameter will return size of 'char (*)[196]' instead of 'char [][196]' [-Wsizeof-array-argument] memset(teams, 0, sizeof(teams)); ^ match_tools.c:193:33: note: declared here static int MT_GetTeamNames(char teams[][MAX_INFO_STRING], int max) { ^ match_tools.c:197:26: warning: 'memset' call operates on objects of type 'char [196]' while the size is based on a different type 'char (*)[196]' [-Wsizeof-pointer-memaccess] memset(teams, 0, sizeof(teams)); ~~~~~ ^~~~~ match_tools.c:197:26: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(teams, 0, sizeof(teams)); ^~~~~ match_tools.c:554:28: warning: comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare] if (matchinfo->matchtype >= 0 && matchinfo->matchtype < mt_numtypes) { ~~~~~~~~~~~~~~~~~~~~ ^ ~ 8 warnings generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c modules.c -o modules.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' modules.c:187:13: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (module < 0 || module >= qlib_nummodules) ~~~~~~ ^ ~ modules.c:195:13: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (module < 0 || module >= qlib_nummodules) ~~~~~~ ^ ~ 2 warnings generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c movie.c -o movie.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c mp3_player.c -o mp3_player.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' mp3_player.c:164:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 1 warning generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c rulesets.c -o rulesets.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' rulesets.c:39:10: warning: 4 enumeration values not handled in switch: 'MOD_NORMAL', 'MOD_PLAYER', 'MOD_FLAME'... [-Wswitch] switch (mod->modhint) { ^ 1 warning generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -c utils.c -o utils.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' utils.c:103:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = fopen(extendedname, "rb")) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:103:10: note: place parentheses around the assignment to silence this warning if (f = fopen(extendedname, "rb")) { ^ ( ) utils.c:103:10: note: use '==' to turn this assignment into an equality comparison if (f = fopen(extendedname, "rb")) { ^ == 1 warning generated. cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -DELF -x assembler-with-cpp -c cl_math.s -o cl_math.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' cc -O2 -pipe -I/usr/local/include/libpng15 -fno-strict-aliasing -funsigned-char -I/usr/local/include -I/usr/local/include -DDATADIR='"/usr/local/share/quake"' -DLOCALBASE='"/usr/local"' -Did386 -DWITH_ZLIB -DWITH_PNG -DWITH_JPEG -DGLQUAKE -DWITH_DGA -DWITH_VMODE -O -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -DELF -x assembler-with-cpp -c math.s -o math.o cc: warning: argument unused during compilation: '-s' cc: warning: argument unused during compilation: '-fexpensive-optimizations' math.s:64:2: error: unknown use of instruction mnemonic without a size suffix jmp Ljmptab(,%eax,4) ^ *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/games/fuhquake/work/source *** Error code 1 Stop. make: stopped in /usr/ports/games/fuhquake ===> Cleaning for fuhquake-0.31_8
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401300121.s0U1LEhQ036956>