[package - head-amd64-default][games/q2pro] Failed for q2pro-142_12 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Sun Aug 23 06:27:50 UTC 2020
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 at FreeBSD.org
Last committer: zeising at FreeBSD.org
Ident: $FreeBSD: head/games/q2pro/Makefile 516845 2019-11-05 22:16:14Z zeising $
Log URL: http://beefy18.nyi.freebsd.org/data/head-amd64-default/p545731_s364466/logs/q2pro-142_12.log
Build URL: http://beefy18.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p545731_s364466
Log:
=>> Building games/q2pro
build started at Sun Aug 23 06:27:25 UTC 2020
port directory: /usr/ports/games/q2pro
package name: q2pro-142_12
building for: FreeBSD head-amd64-default-job-12 13.0-CURRENT FreeBSD 13.0-CURRENT 1300110 amd64
maintained by: danfe at FreeBSD.org
Makefile ident: $FreeBSD: head/games/q2pro/Makefile 516845 2019-11-05 22:16:14Z zeising $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300100
Jail OSVERSION: 1300110
Job Id: 12
!!! Jail is newer than host. (Jail: 1300110, Host: 1300100) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300110
UNAME_v=FreeBSD 13.0-CURRENT 1300110
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for q2pro-142_12:
CLIENT=on: Build client
DEDICATED=on: Build dedicated server
GAME=off: Build main game (default mod)
GL=on: Build OpenGL renderer
SOFT=on: Build software renderer
UI=on: Build user interface (for client menus)
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
danfe at FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/q2pro/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/q2pro/work HOME=/wrkdirs/usr/ports/games/q2pro/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/q2pro/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
LIBDIR="/usr/local/lib/q2pro" Q2DIR="/usr/local/share/quake2" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/q2pro/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/q2pro/work HOME=/wrkdirs/usr/ports/games/q2pro/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/q2pro/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
LIBDIR="lib/q2pro" CLIENT="" DEDICATED="" GAME="@comment " GL="" SOFT="" UI="" Q2DIR="share/quake2" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/q2pro" EXAMPLESDIR="share/examples/q2pro" DATADIR="share/q2pro" WWWDIR="www/q2pro" ETCDIR="etc/q2pro"
--End PLIST_SUB--
--SUB_LIST--
Q2DIR="/usr/local/share/quake2" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/q2pro DOCSDIR=/usr/local/share/doc/q2pro EXAMPLESDIR=/usr/local/share/examples/q2pro WWWDIR=/usr/local/www/q2pro ETCDIR=/usr/local/etc/q2pro
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300110
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 33554432
stack size (kbytes, -s) 524288
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 1024
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===> License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> q2pro-142_12 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.14.7.txz
[head-amd64-default-job-12] Installing pkg-1.14.7...
[head-amd64-default-job-12] Extracting pkg-1.14.7: .......... done
===> q2pro-142_12 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of q2pro-142_12
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv2+ accepted by the user
===> Fetching all distfiles required by q2pro-142_12 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv2+ accepted by the user
===> Fetching all distfiles required by q2pro-142_12 for building
=> SHA256 Checksum OK for q2pro-142.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv2+ accepted by the user
===> Fetching all distfiles required by q2pro-142_12 for building
===> Extracting for q2pro-142_12
=> SHA256 Checksum OK for q2pro-142.tar.bz2.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for q2pro-142_12
===> Converting DOS text files to UNIX text files
===> Applying FreeBSD patches for q2pro-142_12 from /usr/ports/games/q2pro/files
===========================================================================
=======================<phase: build-depends >============================
===> q2pro-142_12 depends on package: gmake>=4.3 - not found
<snip>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../source/unzip.c:1070:46: note: remove extraneous parentheses around the comparison to silence this warning
if ((pfile_in_zip_read_info->read_buffer == NULL))
~ ^ ~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../source/unzip.c:1070:46: note: use '=' to turn this equality comparison into an assignment
if ((pfile_in_zip_read_info->read_buffer == NULL))
^~
=
1 warning generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF mvd_record.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o mvd_record.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/mvd_record.c
1 warning generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../include -MF q_shared.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -DDEDICATED_ONLY -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -fPIC -c -o q_shared.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../shared/q_shared.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF ioapi.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o ioapi.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/ioapi.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF unzip.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o unzip.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/unzip.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/unzip.c:1070:46: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((pfile_in_zip_read_info->read_buffer == NULL))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/unzip.c:1070:46: note: remove extraneous parentheses around the comparison to silence this warning
if ((pfile_in_zip_read_info->read_buffer == NULL))
~ ^ ~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/unzip.c:1070:46: note: use '=' to turn this equality comparison into an assignment
if ((pfile_in_zip_read_info->read_buffer == NULL))
^~
=
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../include -MF q_list.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -DDEDICATED_ONLY -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -c -o q_list.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../shared/q_list.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../include -MF q_msg.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -DDEDICATED_ONLY -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -c -o q_msg.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../shared/q_msg.c
1 warning generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF q_msg.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o q_msg.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../shared/q_msg.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../include -MF q_field.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -DDEDICATED_ONLY -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -c -o q_field.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../shared/q_field.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../include -MF prompt.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -DDEDICATED_ONLY -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -c -o prompt.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../source/prompt.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../include -MF cl_null.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -DDEDICATED_ONLY -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -c -o cl_null.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../source/cl_null.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../include -MF sys_unix.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -DDEDICATED_ONLY -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -c -o sys_unix.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../source/sys_unix.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF q_shared.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -fPIC -c -o q_shared.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../shared/q_shared.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../source/sys_unix.c:424:6: warning: variable 'n' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (new_size < old_size) {
^~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../source/sys_unix.c:432:6: note: uninitialized use occurs here
if( n != pool->base ) {
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../source/sys_unix.c:424:2: note: remove the 'if' if its condition is always true
if (new_size < old_size) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../../../source/sys_unix.c:411:9: note: initialize the variable 'n' to silence this warning
byte *n;
^
= NULL
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF q_list.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o q_list.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../shared/q_list.c
1 warning generated.
cc -o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../q2proded cmd.o cmodel.o common.o crc.o cvar.o files.o mdfour.o net.o net_chan.o pmove.o sv_ccmds.o sv_ents.o sv_game.o sv_init.o sv_main.o sv_send.o sv_user.o sv_world.o mvd_client.o mvd_parse.o mvd_record.o ioapi.o unzip.o q_shared.o q_list.o q_msg.o q_field.o prompt.o cl_null.o sys_unix.o -fstack-protector-strong -s -lm -lz -L/usr/local/lib
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF q_uis.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o q_uis.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../shared/q_uis.c
ld: error: duplicate symbol: cl_paused
>>> defined at common.c
>>> common.o:(cl_paused)
>>> defined at cl_null.c
>>> cl_null.o:(.bss+0x0)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [../../post.mk:49: /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server/../q2proded] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/server'
gmake[1]: *** [Makefile:40: server] Error 2
gmake[1]: *** Waiting for unfinished jobs....
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF q_field.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o q_field.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../shared/q_field.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF q_lex.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o q_lex.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../shared/q_lex.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF m_flash.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o m_flash.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../shared/m_flash.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_cin.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_cin.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_cin.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_cin.c:417:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
Com_Printf ("Decompression overread by %i", (input - in.data) - in.count);
~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
%li
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_cin.c:445:10: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
command = LittleLong(command);
~~~~~~~ ^ ~~~~~~~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_cin.c:457:7: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
size = LittleLong(size);
~~~~ ^ ~~~~
3 warnings generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_demo.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_demo.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_demo.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_demo.c:289:9: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
msglen = LittleLong( msglen );
~~~~~~ ^ ~~~~~~
1 warning generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_draw.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_draw.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_draw.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_ents.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_ents.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c:52:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
( abs(state->origin[0] - ent->current.origin[0]) > 512
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c:52:6: note: use function 'fabsf' instead
( abs(state->origin[0] - ent->current.origin[0]) > 512
^~~
fabsf
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c:53:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
|| abs(state->origin[1] - ent->current.origin[1]) > 512
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c:53:6: note: use function 'fabsf' instead
|| abs(state->origin[1] - ent->current.origin[1]) > 512
^~~
fabsf
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c:54:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
|| abs(state->origin[2] - ent->current.origin[2]) > 512 ) )
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c:54:6: note: use function 'fabsf' instead
|| abs(state->origin[2] - ent->current.origin[2]) > 512 ) )
^~~
fabsf
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c:281:18: warning: cast to 'char *' from smaller integer type 'qhandle_t' (aka 'int') [-Wint-to-pointer-cast]
if(!strncmp((char *)ent.skin, "players/male", 12))
^~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c:286:23: warning: cast to 'char *' from smaller integer type 'qhandle_t' (aka 'int') [-Wint-to-pointer-cast]
else if(!strncmp((char *)ent.skin, "players/female", 14))
^~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ents.c:291:23: warning: cast to 'char *' from smaller integer type 'qhandle_t' (aka 'int') [-Wint-to-pointer-cast]
else if(!strncmp((char *)ent.skin, "players/cyborg", 14))
^~~~~~~~~~~~~~~~
6 warnings generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_fx.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_fx.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_fx.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_input.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_input.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_input.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_locs.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_locs.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_locs.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_main.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_main.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_main.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_main.c:1553:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
if ( ( !allow_download->integer || NET_IsLocalAddress( &cls.serverAddress )) && precache_check < ENV_CNT )
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_main.c:1550:5: note: previous statement is here
if ( cls.state != ca_connected && cls.state != ca_loading )
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_main.c:2585:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
CL_DemoFrame( extratime );
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_main.c:2581:5: note: previous statement is here
if( cls.frametime > 1.0 / 5 )
^
2 warnings generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_newfx.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_newfx.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_newfx.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_parse.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_parse.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_parse.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_pred.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_pred.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_pred.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_ref.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_ref.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ref.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ref.c:148:9: warning: cast to smaller integer type 'moduleCapability_t' (aka 'enum moduleCapability_e') from 'void *' [-Wvoid-pointer-to-enum-cast]
caps = ( moduleCapability_t )entry( MQ_GETCAPS, NULL );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_scrn.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_scrn.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_scrn.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_tent.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_tent.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_tent.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_tent.c:1413:2: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation]
for (i=0, b=cl_playerbeams ; i< MAX_BEAMS ; i++, b++)
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_tent.c:1408:5: note: previous statement is here
else
^
1 warning generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_ui.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_ui.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ui.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_ui.c:127:9: warning: cast to smaller integer type 'moduleCapability_t' (aka 'enum moduleCapability_e') from 'void *' [-Wvoid-pointer-to-enum-cast]
caps = ( moduleCapability_t )entry( MQ_GETCAPS, NULL );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cl_view.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cl_view.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cl_view.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF console.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o console.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/console.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF keys.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o keys.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/keys.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF snd_dma.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o snd_dma.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/snd_dma.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF snd_mem.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o snd_mem.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/snd_mem.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF snd_mix.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o snd_mix.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/snd_mix.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF sys_unix.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o sys_unix.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/sys_unix.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/sys_unix.c:424:6: warning: variable 'n' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (new_size < old_size) {
^~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/sys_unix.c:432:6: note: uninitialized use occurs here
if( n != pool->base ) {
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/sys_unix.c:424:2: note: remove the 'if' if its condition is always true
if (new_size < old_size) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/sys_unix.c:411:9: note: initialize the variable 'n' to silence this warning
byte *n;
^
= NULL
1 warning generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF snd_linux.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o snd_linux.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/snd_linux.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF cd_linux.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o cd_linux.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/cd_linux.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF vid_sdl.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o vid_sdl.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/vid_sdl.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -I/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../include -MF in_linux.d -MMD -Wall -Wno-missing-braces -Wstrict-prototypes -pipe -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/q2pro"' -DC_ONLY -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o in_linux.o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/in_linux.c
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/in_linux.c:39:16: warning: unused variable 'in_device' [-Wunused-variable]
static cvar_t *in_device;
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/in_linux.c:41:17: warning: unused variable 'mouseinitialized' [-Wunused-variable]
static qboolean mouseinitialized;
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/in_linux.c:42:17: warning: unused variable 'mouseactive' [-Wunused-variable]
static qboolean mouseactive;
^
/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../../../source/in_linux.c:43:17: warning: unused variable 'evdev_fd' [-Wunused-variable]
static int evdev_fd;
^
4 warnings generated.
cc -o /wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client/../q2pro cmd.o cmodel.o common.o prompt.o crc.o cvar.o files.o mdfour.o net.o net_chan.o pmove.o sv_ccmds.o sv_ents.o sv_game.o sv_init.o sv_main.o sv_send.o sv_user.o sv_world.o mvd_client.o mvd_parse.o mvd_record.o ioapi.o unzip.o q_msg.o q_shared.o q_list.o q_uis.o q_field.o q_lex.o m_flash.o cl_cin.o cl_demo.o cl_draw.o cl_ents.o cl_fx.o cl_input.o cl_locs.o cl_main.o cl_newfx.o cl_parse.o cl_pred.o cl_ref.o cl_scrn.o cl_tent.o cl_ui.o cl_view.o console.o keys.o snd_dma.o snd_mem.o snd_mix.o sys_unix.o snd_linux.o cd_linux.o vid_sdl.o in_linux.o -fstack-protector-strong -s -lm -lz -L/usr/local/lib -lX11 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/q2pro/work/q2pro/build/release/client'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/q2pro/work/q2pro'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/games/q2pro
More information about the freebsd-pkg-fallout
mailing list