=>> Building games/battalion build started at Fri Apr 5 21:28:54 BST 2024 port directory: /usr/ports/games/battalion package name: battalion-1.4b_4 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2205 Jan 11 20:37 /usr/ports/games/battalion/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: cb347ec666 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for battalion-1.4b_4: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/battalion/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/battalion/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/battalion/work/.cache HOME=/wrkdirs/usr/ports/games/battalion/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/battalion/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/battalion/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/battalion/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/battalion/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/battalion/work/.cache HOME=/wrkdirs/usr/ports/games/battalion/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/battalion/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/battalion/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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 -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-lX11 -lm -L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " CCACHE_DIR="/root/.ccache" 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-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/battalion" EXAMPLESDIR="share/examples/battalion" DATADIR="share/battalion" WWWDIR="www/battalion" ETCDIR="etc/battalion" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/battalion DOCSDIR=/usr/local/share/doc/battalion EXAMPLESDIR=/usr/local/share/examples/battalion WWWDIR=/usr/local/www/battalion ETCDIR=/usr/local/etc/battalion --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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) 8192 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-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The battalion port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> battalion-1.4b_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> battalion-1.4b_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of battalion-1.4b_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The battalion port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by battalion-1.4b_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The battalion port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by battalion-1.4b_4 for building => SHA256 Checksum OK for battalion1.4b.tar.bz2. => SHA256 Checksum OK for battalionSUN4.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The battalion port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by battalion-1.4b_4 for building ===> Extracting for battalion-1.4b_4 => SHA256 Checksum OK for battalion1.4b.tar.bz2. => SHA256 Checksum OK for battalionSUN4.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for battalion-1.4b_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> battalion-1.4b_4 depends on package: xorgproto>=0 - not found ===> Installing existing package /packages/All/xorgproto-2023.2.pkg [pkg-builder.dan.net.uk] Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] Extracting xorgproto-2023.2: .......... done ===> battalion-1.4b_4 depends on package: xorgproto>=0 - found ===> Returning to build of battalion-1.4b_4 ===> battalion-1.4b_4 depends on package: xorgproto>=0 - found ===> battalion-1.4b_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.7_1,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.7_1,1: .......... done ===> battalion-1.4b_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of battalion-1.4b_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> battalion-1.4b_4 depends on shared library: libGL.so - not found ===> Installing existing package /packages/All/libglvnd-1.7.0.pkg [pkg-builder.dan.net.uk] Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] Extracting libglvnd-1.7.0: .......... done ===> battalion-1.4b_4 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> Returning to build of battalion-1.4b_4 ===> battalion-1.4b_4 depends on shared library: libGLU.so - not found ===> Installing existing package /packages/All/libGLU-9.0.2_2.pkg [pkg-builder.dan.net.uk] Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] Extracting libGLU-9.0.2_2: ..... done ===> battalion-1.4b_4 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> Returning to build of battalion-1.4b_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for battalion-1.4b_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for battalion-1.4b_4 cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c battalion.c -o battalion.o battalion.c:231:62: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(G[c].number), &garbage, &(G[c].name)); ~~ ^~~~~~~~~~~~ battalion.c:233:62: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(V[c].number), &garbage, &(V[c].name)); ~~ ^~~~~~~~~~~~ battalion.c:235:62: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(F[c].number), &garbage, &(F[c].name)); ~~ ^~~~~~~~~~~~ battalion.c:237:62: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(T[c].number), &garbage, &(T[c].name)); ~~ ^~~~~~~~~~~~ battalion.c:1303:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tanktype == MECHAG)) ~~~~~~~~~^~~~~~~~~ battalion.c:1303:16: note: remove extraneous parentheses around the comparison to silence this warning if ((tanktype == MECHAG)) ~ ^ ~ battalion.c:1303:16: note: use '=' to turn this equality comparison into an assignment if ((tanktype == MECHAG)) ^~ = battalion.c:1335:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tanktype == CHH)) ~~~~~~~~~^~~~~~ battalion.c:1335:16: note: remove extraneous parentheses around the comparison to silence this warning if ((tanktype == CHH)) ~ ^ ~ battalion.c:1335:16: note: use '=' to turn this equality comparison into an assignment if ((tanktype == CHH)) ^~ = battalion.c:1447:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (tanktype == HERO)) ~~~~~~~~~^~~~~~~ battalion.c:1447:17: note: remove extraneous parentheses around the comparison to silence this warning if ( (tanktype == HERO)) ~ ^ ~ battalion.c:1447:17: note: use '=' to turn this equality comparison into an assignment if ( (tanktype == HERO)) ^~ = battalion.c:2112:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((bboom->count == 2)) ~~~~~~~~~~~~~^~~~ battalion.c:2112:20: note: remove extraneous parentheses around the comparison to silence this warning if ((bboom->count == 2)) ~ ^ ~ battalion.c:2112:20: note: use '=' to turn this equality comparison into an assignment if ((bboom->count == 2)) ^~ = battalion.c:2119:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((bboom->count == 4)) ~~~~~~~~~~~~~^~~~ battalion.c:2119:20: note: remove extraneous parentheses around the comparison to silence this warning if ((bboom->count == 4)) ~ ^ ~ battalion.c:2119:20: note: use '=' to turn this equality comparison into an assignment if ((bboom->count == 4)) ^~ = battalion.c:2947:65: warning: format specifies type 'char *' but the argument has type 'FILE *' (aka 'struct __sFILE *') [-Wformat] sprintf(textBuffer, "Couldn't create high score file: %s", hiScoreFile); ~~ ^~~~~~~~~~~ battalion.c:2980:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(G[0].number), &garbage, &(G[0].name)); ~~ ^~~~~~~~~~~~ battalion.c:2981:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(G[1].number), &garbage, &(G[1].name)); ~~ ^~~~~~~~~~~~ battalion.c:2982:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(G[2].number), &garbage, &(G[2].name)); ~~ ^~~~~~~~~~~~ battalion.c:2984:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(V[0].number), &garbage, &(V[0].name)); ~~ ^~~~~~~~~~~~ battalion.c:2985:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(V[1].number), &garbage, &(V[1].name)); ~~ ^~~~~~~~~~~~ battalion.c:2986:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(V[2].number), &garbage, &(V[2].name)); ~~ ^~~~~~~~~~~~ battalion.c:2988:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(F[0].number), &garbage, &(F[0].name)); ~~ ^~~~~~~~~~~~ battalion.c:2989:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(F[1].number), &garbage, &(F[1].name)); ~~ ^~~~~~~~~~~~ battalion.c:2990:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(F[2].number), &garbage, &(F[2].name)); ~~ ^~~~~~~~~~~~ battalion.c:2992:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(T[0].number), &garbage, &(T[0].name)); ~~ ^~~~~~~~~~~~ battalion.c:2993:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(T[1].number), &garbage, &(T[1].name)); ~~ ^~~~~~~~~~~~ battalion.c:2994:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat] fscanf(hiScoreFile, "%d%c%s", &(T[2].number), &garbage, &(T[2].name)); ~~ ^~~~~~~~~~~~ battalion.c:3622:6: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate + 3600)) < fabs(thaMonster.headHorzRotate - nearAngle)) ^ battalion.c:3622:6: note: use function 'abs' instead if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate + 3600)) < fabs(thaMonster.headHorzRotate - nearAngle)) ^~~~ abs battalion.c:3622:82: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate + 3600)) < fabs(thaMonster.headHorzRotate - nearAngle)) ^ battalion.c:3622:82: note: use function 'abs' instead if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate + 3600)) < fabs(thaMonster.headHorzRotate - nearAngle)) ^~~~ abs battalion.c:3624:6: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate - 3600)) < fabs(thaMonster.headHorzRotate - nearAngle)) ^ battalion.c:3624:6: note: use function 'abs' instead if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate - 3600)) < fabs(thaMonster.headHorzRotate - nearAngle)) ^~~~ abs battalion.c:3624:82: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate - 3600)) < fabs(thaMonster.headHorzRotate - nearAngle)) ^ battalion.c:3624:82: note: use function 'abs' instead if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate - 3600)) < fabs(thaMonster.headHorzRotate - nearAngle)) ^~~~ abs battalion.c:4367:24: warning: implicit conversion from 'double' to 'GLint' (aka 'int') changes value from 2.5 to 2 [-Wliteral-conversion] glFogi(GL_FOG_START, MONSTERFOGSTART); ~~~~~~ ^~~~~~~~~~~~~~~ ./battalion.h:138:26: note: expanded from macro 'MONSTERFOGSTART' #define MONSTERFOGSTART 2.5 ^~~ battalion.c:4640:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ battalion.c:4774:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ battalion.c:5075:47: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if ((thaMonster.energyRemaining > 15) && (fabs(speed) < 6) && (r < 3.5)) ^ battalion.c:5075:47: note: use function 'abs' instead if ((thaMonster.energyRemaining > 15) && (fabs(speed) < 6) && (r < 3.5)) ^~~~ abs battalion.c:5082:22: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] (t != MECHAG) && ((fabs(speed) < 3) || (r < 1))) ^ battalion.c:5082:22: note: use function 'abs' instead (t != MECHAG) && ((fabs(speed) < 3) || (r < 1))) ^~~~ abs battalion.c:5085:51: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r > 3)) ^ battalion.c:5085:51: note: use function 'abs' instead else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r > 3)) ^~~~ abs battalion.c:5088:51: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < .75)) ^ battalion.c:5088:51: note: use function 'abs' instead else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < .75)) ^~~~ abs battalion.c:5096:53: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] else if ((thaMonster.energyRemaining > 5) && ((fabs(speed) < 10) || (r < 4))) ^ battalion.c:5096:53: note: use function 'abs' instead else if ((thaMonster.energyRemaining > 5) && ((fabs(speed) < 10) || (r < 4))) ^~~~ abs battalion.c:5102:22: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] (t != MECHAG) && ((fabs(speed) < 3) || (r < 1))) ^ battalion.c:5102:22: note: use function 'abs' instead (t != MECHAG) && ((fabs(speed) < 3) || (r < 1))) ^~~~ abs battalion.c:5104:50: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r > 3)) ^ battalion.c:5104:50: note: use function 'abs' instead else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r > 3)) ^~~~ abs battalion.c:5106:50: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < .75)) ^ battalion.c:5106:50: note: use function 'abs' instead else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < .75)) ^~~~ abs battalion.c:5108:52: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] else if (!(((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < 1))) ^ battalion.c:5108:52: note: use function 'abs' instead else if (!(((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < 1))) ^~~~ abs battalion.c:5472:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (int argc, char*argv[]) ^ 39 warnings generated. cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c audio.c -o audio.o cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c net.c -o net.o net.c:387:8: warning: format specifies type 'double' but the argument has type 'char' [-Wformat] tempTank->type, ^~~~~~~~~~~~~~ net.c:381:57: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] sprintf(mesg, "%s %d %3.1f %3.1f %3.1f %3.1f %0.3f %d %d #", MESG_NEW_TANK, ~^ net.c:696:78: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] n = recvfrom(sockfd, recvline, MAXLINE, 0, (struct sockaddr *) &serv_addr, (int *)& servlen); ^~~~~~~~~~~~~~~~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ net.c:804:76: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] n = recvfrom(sockfd, recvline, MAXLINE, 0, (struct sockaddr *) &cli_addr, (int *)& clilen); ^~~~~~~~~~~~~~~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 4 warnings generated. cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c gprim.c -o gprim.o cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c graphics.c -o graphics.o graphics.c:1838:27: warning: comparison of array 'officeLogoData' not equal to a null pointer is always true [-Wtautological-pointer-compare] if ((detail >= 2) && (officeLogoData != NULL)) ^~~~~~~~~~~~~~ ~~~~ graphics.c:1851:27: warning: comparison of array 'picleft' not equal to a null pointer is always true [-Wtautological-pointer-compare] if ((detail >= 2) && (picleft != NULL)) ^~~~~~~ ~~~~ graphics.c:2030:28: warning: comparison of array 'picleft' not equal to a null pointer is always true [-Wtautological-pointer-compare] if ((detail >= 2) && (picleft != NULL) && (picright != NULL)) ^~~~~~~ ~~~~ graphics.c:2030:49: warning: comparison of array 'picright' not equal to a null pointer is always true [-Wtautological-pointer-compare] if ((detail >= 2) && (picleft != NULL) && (picright != NULL)) ^~~~~~~~ ~~~~ graphics.c:3387:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 5 warnings generated. cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c objects.c -o objects.o cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c text.c -o text.o cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c update.c -o update.o cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c tk.c -o tk.o cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c font.c -o font.o font.c:1367:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (j = 1; mode = strokeFont[i][j]; j += 3) { ~~~~~^~~~~~~~~~~~~~~~~~ font.c:1367:19: note: place parentheses around the assignment to silence this warning for (j = 1; mode = strokeFont[i][j]; j += 3) { ^ ( ) font.c:1367:19: note: use '==' to turn this assignment into an equality comparison for (j = 1; mode = strokeFont[i][j]; j += 3) { ^ == 1 warning generated. cc -O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c soundIt.c -o soundIt.o cc -o battalion battalion.o audio.o net.o gprim.o graphics.o objects.o text.o update.o tk.o font.o soundIt.o -lGL -lGLU -lX11 -lm -L/usr/local/lib -DLINUXAUDIO =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> battalion-1.4b_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for battalion-1.4b_4 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/battalion/work/battalion1.4b/battalion /wrkdirs/usr/ports/games/battalion/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/games/battalion/work/battalionSUN4/battalion.man /wrkdirs/usr/ports/games/battalion/work/stage/usr/local/share/man/man6/battalion.6 install -m 0644 /wrkdirs/usr/ports/games/battalion/work/battalionSUN4/battalion.data/battalion.sho /wrkdirs/usr/ports/games/battalion/work/stage/usr/local/share/battalion install -m 0644 /wrkdirs/usr/ports/games/battalion/work/battalion1.4b/DATA/*.data /wrkdirs/usr/ports/games/battalion/work/stage/usr/local/share/battalion/DATA install -m 0644 /wrkdirs/usr/ports/games/battalion/work/battalion1.4b/MUSIC/*.au /wrkdirs/usr/ports/games/battalion/work/stage/usr/local/share/battalion/MUSIC install -m 0644 /wrkdirs/usr/ports/games/battalion/work/battalion1.4b/SOUNDS/*.au /wrkdirs/usr/ports/games/battalion/work/stage/usr/local/share/battalion/SOUNDS install -m 0644 /wrkdirs/usr/ports/games/battalion/work/battalion1.4b/TEXTURES/*.tex /wrkdirs/usr/ports/games/battalion/work/stage/usr/local/share/battalion/TEXTURES install -m 0644 /wrkdirs/usr/ports/games/battalion/work/battalionSUN4/HELP/*.gif /wrkdirs/usr/ports/games/battalion/work/stage/usr/local/share/doc/battalion ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-05T20:28:54+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=cb347ec666' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for battalion-1.4b_4 ===> Building battalion-1.4b_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for battalion-1.4b_4 build of games/battalion | battalion-1.4b_4 ended at Fri Apr 5 21:29:13 BST 2024 build time: 00:00:22