=>> Building games/KnightCap build started at Thu Dec 11 11:40:59 EST 2025 port directory: /usr/ports/games/KnightCap package name: knightcap-3.6_9 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 734 Aug 27 2024 /usr/ports/games/KnightCap/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 09 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/09/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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=/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 --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=/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=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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.5 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--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" 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) 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-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_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.DaveG.ca] Installing libXmu-1.1.4,1... [pkg.DaveG.ca] `-- Installing libX11-1.8.12,1... [pkg.DaveG.ca] | `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] | `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] `-- Extracting libX11-1.8.12,1: .......... done [pkg.DaveG.ca] `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] 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.2,1.pkg [pkg.DaveG.ca] Installing libXi-1.8.2,1... [pkg.DaveG.ca] `-- Installing libXfixes-6.0.1... [pkg.DaveG.ca] `-- Extracting libXfixes-6.0.1: ....... done [pkg.DaveG.ca] Extracting libXi-1.8.2,1: .......... done ===> knightcap-3.6_9 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> Returning to build of knightcap-3.6_9 ===> knightcap-3.6_9 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> knightcap-3.6_9 depends on file: /usr/local/bin/ccache - 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.DaveG.ca] Installing freeglut-3.2.1... [pkg.DaveG.ca] `-- Installing libGLU-9.0.3... [pkg.DaveG.ca] | `-- Installing libglvnd-1.7.0... [pkg.DaveG.ca] | `-- Extracting libglvnd-1.7.0: .......... done [pkg.DaveG.ca] `-- Extracting libGLU-9.0.3: ..... done [pkg.DaveG.ca] `-- Installing libXrandr-1.5.4... [pkg.DaveG.ca] | `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] | `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Extracting libXrandr-1.5.4: .......... done [pkg.DaveG.ca] `-- Installing libXxf86vm-1.1.6... [pkg.DaveG.ca] `-- Extracting libXxf86vm-1.1.6: .......... done [pkg.DaveG.ca] 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 --- 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 --- --- log.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 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- hash.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 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- ordering.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 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- util.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 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- move.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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ move.c:46:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 46 | else | ^ 3 warnings generated. --- 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 trackball.c -o trackball.o --- knightcap.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 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ knightcap.c:361:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 361 | } else if (on == 0) { | ^ 3 warnings generated. --- display.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 display.c -o display.o --- testsuite.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 testsuite.c -o testsuite.o --- brain.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 brain.c -o brain.o --- td.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 td.c -o td.o --- generate.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 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- eval.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 eval.c -o eval.o --- movement.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 movement.c -o movement.o --- tactics.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 tactics.c -o tactics.o --- epd.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 epd.c -o epd.o --- board.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 board.c -o board.o --- prog.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 prog.c -o prog.o --- timer.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 timer.c -o timer.o --- ics.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 ics.c -o ics.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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- epdglue.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 epdglue.c -o epdglue.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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | 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] 42 | int dx = abs(XPOS(from) - XPOS(to)); | ^ movement.c:42:13: note: remove the call to 'abs' since unsigned values cannot be negative 42 | 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] 43 | int dy = abs(YPOS(from) - YPOS(to)); | ^ movement.c:43:13: note: remove the call to 'abs' since unsigned values cannot be negative 43 | 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] 57 | int dx = abs(XPOS(from) - XPOS(to)); | ^ movement.c:57:13: note: remove the call to 'abs' since unsigned values cannot be negative 57 | 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] 58 | int dy = abs(YPOS(from) - YPOS(to)); | ^ movement.c:58:13: note: remove the call to 'abs' since unsigned values cannot be negative 58 | 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] 72 | int dx = abs(XPOS(from) - XPOS(to)); | ^ movement.c:72:13: note: remove the call to 'abs' since unsigned values cannot be negative 72 | 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] 73 | int dy = abs(YPOS(from) - YPOS(to)); | ^ movement.c:73:13: note: remove the call to 'abs' since unsigned values cannot be negative 73 | 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] 87 | int dx = abs(XPOS(from) - XPOS(to)); | ^ movement.c:87:13: note: remove the call to 'abs' since unsigned values cannot be negative 87 | 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] 88 | int dy = abs(YPOS(from) - YPOS(to)); | ^ movement.c:88:13: note: remove the call to 'abs' since unsigned values cannot be negative 88 | 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] 103 | int dx = abs(XPOS(from) - XPOS(to)); | ^ movement.c:103:13: note: remove the call to 'abs' since unsigned values cannot be negative 103 | 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] 104 | int dy = abs(YPOS(from) - YPOS(to)); | ^ movement.c:104:13: note: remove the call to 'abs' since unsigned values cannot be negative 104 | int dy = abs(YPOS(from) - YPOS(to)); | ^~~ 12 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | 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] 240 | 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 240 | 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] 243 | 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 243 | 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] 473 | 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 473 | 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] 476 | 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 476 | 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] 653 | 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 653 | 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] 654 | abs(YPOS(kpos) - YPOS(piece->pos))); | ^ eval.c:654:9: note: remove the call to 'abs' since unsigned values cannot be negative 654 | 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] 736 | 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 736 | 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] 737 | abs(YPOS(kpos)-YPOS(piece->pos))); | ^ eval.c:737:9: note: remove the call to 'abs' since unsigned values cannot be negative 737 | abs(YPOS(kpos)-YPOS(piece->pos))); | ^~~ 10 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- 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] 864 | int xdist = abs(XPOS(sq1) - XPOS(sq2)); | ^ ./knightcap.h:864:14: note: remove the call to 'abs' since unsigned values cannot be negative 864 | 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] 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^ ./knightcap.h:865:14: note: remove the call to 'abs' since unsigned values cannot be negative 865 | int ydist = abs(YPOS(sq1) - YPOS(sq2)); | ^~~ 2 warnings generated. --- epd.o --- epd.c:2493:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2493 | else | ^ epd.c:2629:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2629 | else | ^ epd.c:3951:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3951 | else | ^ epd.c:4272:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4272 | else | ^ epd.c:4311:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4311 | else | ^ epd.c:4339:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4339 | else | ^ epd.c:4397:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4397 | else | ^ epd.c:4436:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4436 | else | ^ epd.c:4464:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4464 | else | ^ 9 warnings generated. --- KnightCap --- mv KnightCap KnightCap.old mv: rename KnightCap to KnightCap.old: No such file or directory 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=2025-12-11T16:40:59+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' 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 Thu Dec 11 11:42:01 EST 2025 build time: 00:01:06