=>> Building games/KnightCap build started at Wed Apr 3 04:00:34 BST 2024 port directory: /usr/ports/games/KnightCap package name: knightcap-3.6_9 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 734 Mar 8 2023 /usr/ports/games/KnightCap/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 04 ---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/04/.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 knightcap-3.6_9: 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/KnightCap/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/KnightCap/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/KnightCap/work/.cache HOME=/wrkdirs/usr/ports/games/KnightCap/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/KnightCap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/KnightCap/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/KnightCap/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/KnightCap/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/KnightCap/work/.cache HOME=/wrkdirs/usr/ports/games/KnightCap/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/KnightCap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/KnightCap/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 -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 " 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/KnightCap" EXAMPLESDIR="share/examples/knightcap" DATADIR="share/knightcap" WWWDIR="www/knightcap" ETCDIR="etc/knightcap" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/knightcap DOCSDIR=/usr/local/share/doc/KnightCap EXAMPLESDIR=/usr/local/share/examples/knightcap WWWDIR=/usr/local/www/knightcap ETCDIR=/usr/local/etc/knightcap --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 knightcap 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 ===> knightcap-3.6_9 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 ===> knightcap-3.6_9 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of knightcap-3.6_9 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The knightcap 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 knightcap-3.6_9 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The knightcap 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 knightcap-3.6_9 for building => SHA256 Checksum OK for KnightCap-3.6.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 knightcap 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 knightcap-3.6_9 for building ===> Extracting for knightcap-3.6_9 => SHA256 Checksum OK for KnightCap-3.6.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 knightcap-3.6_9 ===> Applying FreeBSD patches for knightcap-3.6_9 from /usr/ports/games/KnightCap/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.4,1.pkg [pkg-builder.dan.net.uk] Installing libXmu-1.1.4,1... [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] | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2023.2: .......... done [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 [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] `-- Installing libXt-1.3.0,1... [pkg-builder.dan.net.uk] | `-- Installing libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] | `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libSM-1.2.3_1,1... [pkg-builder.dan.net.uk] | `-- Extracting libSM-1.2.3_1,1: ........ done [pkg-builder.dan.net.uk] `-- Extracting libXt-1.3.0,1: .......... done [pkg-builder.dan.net.uk] Extracting libXmu-1.1.4,1: .......... done ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of knightcap-3.6_9 ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xi.pc - not found ===> Installing existing package /packages/All/libXi-1.8_1,1.pkg [pkg-builder.dan.net.uk] Installing libXi-1.8_1,1... [pkg-builder.dan.net.uk] `-- Installing libXfixes-6.0.0_1... [pkg-builder.dan.net.uk] `-- Extracting libXfixes-6.0.0_1: ....... done [pkg-builder.dan.net.uk] Extracting libXi-1.8_1,1: .......... done ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> Returning to build of knightcap-3.6_9 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> knightcap-3.6_9 depends on shared library: libglut.so - not found ===> Installing existing package /packages/All/freeglut-3.2.1.pkg [pkg-builder.dan.net.uk] Installing freeglut-3.2.1... [pkg-builder.dan.net.uk] `-- Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libGLU-9.0.2_2: ..... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXxf86vm-1.1.4_4... [pkg-builder.dan.net.uk] `-- Extracting libXxf86vm-1.1.4_4: .......... done [pkg-builder.dan.net.uk] Extracting freeglut-3.2.1: .......... done ===== Message from freeglut-3.2.1: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. ===> knightcap-3.6_9 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so) ===> Returning to build of knightcap-3.6_9 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for knightcap-3.6_9 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for knightcap-3.6_9 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c knightcap.c -o knightcap.o In file included from knightcap.c:7: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ knightcap.c:361:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (on == 0) { ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c trackball.c -o trackball.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c move.c -o move.o In file included from move.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ move.c:46:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c util.c -o util.o In file included from util.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c generate.c -o generate.o In file included from generate.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c eval.c -o eval.o In file included from eval.c:4: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ eval.c:240:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (YPOS(bkpos) >= y && abs(XPOS(bkpos) - x) <= 1) ^ eval.c:240:28: note: remove the call to 'abs' since unsigned values cannot be negative if (YPOS(bkpos) >= y && abs(XPOS(bkpos) - x) <= 1) ^~~ eval.c:243:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (YPOS(wkpos) >= y && abs(XPOS(wkpos) - x) <= 1) ^ eval.c:243:28: note: remove the call to 'abs' since unsigned values cannot be negative if (YPOS(wkpos) >= y && abs(XPOS(wkpos) - x) <= 1) ^~~ eval.c:473:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (YPOS(wkpos) <= y && abs(XPOS(wkpos) - x) <= 1) ^ eval.c:473:28: note: remove the call to 'abs' since unsigned values cannot be negative if (YPOS(wkpos) <= y && abs(XPOS(wkpos) - x) <= 1) ^~~ eval.c:476:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (YPOS(bkpos) <= y && abs(XPOS(bkpos) - x) <= 1) ^ eval.c:476:28: note: remove the call to 'abs' since unsigned values cannot be negative if (YPOS(bkpos) <= y && abs(XPOS(bkpos) - x) <= 1) ^~~ eval.c:653:23: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int kmoves = imax(abs(XPOS(kpos) - XPOS(piece->pos)), ^ eval.c:653:23: note: remove the call to 'abs' since unsigned values cannot be negative int kmoves = imax(abs(XPOS(kpos) - XPOS(piece->pos)), ^~~ eval.c:654:9: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] abs(YPOS(kpos) - YPOS(piece->pos))); ^ eval.c:654:9: note: remove the call to 'abs' since unsigned values cannot be negative abs(YPOS(kpos) - YPOS(piece->pos))); ^~~ eval.c:736:23: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int kmoves = imax(abs(XPOS(kpos) - XPOS(piece->pos)), ^ eval.c:736:23: note: remove the call to 'abs' since unsigned values cannot be negative int kmoves = imax(abs(XPOS(kpos) - XPOS(piece->pos)), ^~~ eval.c:737:9: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] abs(YPOS(kpos)-YPOS(piece->pos))); ^ eval.c:737:9: note: remove the call to 'abs' since unsigned values cannot be negative abs(YPOS(kpos)-YPOS(piece->pos))); ^~~ 10 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c movement.c -o movement.o In file included from movement.c:8: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ movement.c:42:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dx = abs(XPOS(from) - XPOS(to)); ^ movement.c:42:13: note: remove the call to 'abs' since unsigned values cannot be negative int dx = abs(XPOS(from) - XPOS(to)); ^~~ movement.c:43:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dy = abs(YPOS(from) - YPOS(to)); ^ movement.c:43:13: note: remove the call to 'abs' since unsigned values cannot be negative int dy = abs(YPOS(from) - YPOS(to)); ^~~ movement.c:57:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dx = abs(XPOS(from) - XPOS(to)); ^ movement.c:57:13: note: remove the call to 'abs' since unsigned values cannot be negative int dx = abs(XPOS(from) - XPOS(to)); ^~~ movement.c:58:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dy = abs(YPOS(from) - YPOS(to)); ^ movement.c:58:13: note: remove the call to 'abs' since unsigned values cannot be negative int dy = abs(YPOS(from) - YPOS(to)); ^~~ movement.c:72:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dx = abs(XPOS(from) - XPOS(to)); ^ movement.c:72:13: note: remove the call to 'abs' since unsigned values cannot be negative int dx = abs(XPOS(from) - XPOS(to)); ^~~ movement.c:73:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dy = abs(YPOS(from) - YPOS(to)); ^ movement.c:73:13: note: remove the call to 'abs' since unsigned values cannot be negative int dy = abs(YPOS(from) - YPOS(to)); ^~~ movement.c:87:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dx = abs(XPOS(from) - XPOS(to)); ^ movement.c:87:13: note: remove the call to 'abs' since unsigned values cannot be negative int dx = abs(XPOS(from) - XPOS(to)); ^~~ movement.c:88:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dy = abs(YPOS(from) - YPOS(to)); ^ movement.c:88:13: note: remove the call to 'abs' since unsigned values cannot be negative int dy = abs(YPOS(from) - YPOS(to)); ^~~ movement.c:103:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dx = abs(XPOS(from) - XPOS(to)); ^ movement.c:103:13: note: remove the call to 'abs' since unsigned values cannot be negative int dx = abs(XPOS(from) - XPOS(to)); ^~~ movement.c:104:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int dy = abs(YPOS(from) - YPOS(to)); ^ movement.c:104:13: note: remove the call to 'abs' since unsigned values cannot be negative int dy = abs(YPOS(from) - YPOS(to)); ^~~ 12 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c ordering.c -o ordering.o In file included from ordering.c:3: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c hash.c -o hash.o In file included from hash.c:8: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c board.c -o board.o In file included from board.c:6: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c log.c -o log.o In file included from log.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c prog.c -o prog.o In file included from prog.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c timer.c -o timer.o In file included from timer.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c ics.c -o ics.o In file included from ics.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c display.c -o display.o In file included from display.c:6: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c testsuite.c -o testsuite.o In file included from testsuite.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c brain.c -o brain.o In file included from brain.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c td.c -o td.o In file included from td.c:2: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c tactics.c -o tactics.o In file included from tactics.c:6: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c epd.c -o epd.o epd.c:2493:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ epd.c:2629:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ epd.c:3951:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ epd.c:4272:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ epd.c:4311:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ epd.c:4339:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ epd.c:4397:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ epd.c:4436:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ epd.c:4464:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 9 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRENDERED_DISPLAY=1 -c epdglue.c -o epdglue.o In file included from epdglue.c:31: ./knightcap.h:864:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative int xdist = abs(XPOS(sq1) - XPOS(sq2)); ^~~ ./knightcap.h:865:14: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative int ydist = abs(YPOS(sq1) - YPOS(sq2)); ^~~ 2 warnings generated. mv KnightCap KnightCap.old mv: rename KnightCap to KnightCap.old: No such file or directory *** Error code 1 (ignored) cc -o KnightCap knightcap.o trackball.o move.o util.o generate.o eval.o movement.o ordering.o hash.o board.o log.o prog.o timer.o ics.o display.o testsuite.o brain.o td.o tactics.o epd.o epdglue.o -L/usr/local/lib -lglut -L/usr/local/lib -lGLU -lGL -lm -L/usr/local/lib -lXmu -lXt -lXext -lX11 -lXi =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for knightcap-3.6_9 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/KnightCap/work/Export/KnightCap /wrkdirs/usr/ports/games/KnightCap/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/KnightCap/work/Export/README /wrkdirs/usr/ports/games/KnightCap/work/stage/usr/local/share/doc/KnightCap ====> 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-03T03:00:34+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' '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 knightcap-3.6_9 ===> Building knightcap-3.6_9 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for knightcap-3.6_9 build of games/KnightCap | knightcap-3.6_9 ended at Wed Apr 3 04:00:54 BST 2024 build time: 00:00:21