=>> Building games/sjeng build started at Tue Apr 2 12:44:19 BST 2024 port directory: /usr/ports/games/sjeng package name: sjeng-11.2_3 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 442 Mar 8 2023 /usr/ports/games/sjeng/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: 05 ---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/05/.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--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/sjeng/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sjeng/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sjeng/work/.cache HOME=/wrkdirs/usr/ports/games/sjeng/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/sjeng/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sjeng/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" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/sjeng/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sjeng/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sjeng/work/.cache HOME=/wrkdirs/usr/ports/games/sjeng/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/sjeng/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sjeng/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 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -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-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sjeng" EXAMPLESDIR="share/examples/sjeng" DATADIR="share/sjeng" WWWDIR="www/sjeng" ETCDIR="etc/sjeng" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sjeng DOCSDIR=/usr/local/share/doc/sjeng EXAMPLESDIR=/usr/local/share/examples/sjeng WWWDIR=/usr/local/www/sjeng ETCDIR=/usr/local/etc/sjeng --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 sjeng 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 ===> sjeng-11.2_3 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 ===> sjeng-11.2_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sjeng-11.2_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sjeng 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 sjeng-11.2_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sjeng 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 sjeng-11.2_3 for building => SHA256 Checksum OK for Sjeng-Free-11.2.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 sjeng 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 sjeng-11.2_3 for building ===> Extracting for sjeng-11.2_3 => SHA256 Checksum OK for Sjeng-Free-11.2.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 sjeng-11.2_3 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for sjeng-11.2_3 from /usr/ports/games/sjeng/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sjeng-11.2_3 depends on shared library: libgdbm.so - not found ===> Installing existing package /packages/All/gdbm-1.23.pkg [pkg-builder.dan.net.uk] Installing gdbm-1.23... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing readline-8.2.10... [pkg-builder.dan.net.uk] `-- Extracting readline-8.2.10: .......... done [pkg-builder.dan.net.uk] Extracting gdbm-1.23: .......... done ===> sjeng-11.2_3 depends on shared library: libgdbm.so - found (/usr/local/lib/libgdbm.so) ===> Returning to build of sjeng-11.2_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for sjeng-11.2_3 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong ) works... yes checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong ) works... yes checking whether the C++ compiler (c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for gdbm_open in -lgdbm... yes checking for floor in -lm... yes checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... no checking for unistd.h... (cached) yes checking for working const... yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for ftime... no checking for select... (cached) yes checking for strstr... (cached) yes checking for gettimeofday... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating tests/Makefile creating books/Makefile creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for sjeng-11.2_3 /usr/bin/make all-recursive Making all in books Making all in tests cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c attacks.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c crazy.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c epd.c epd.c:307:60: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("Material score: %d Eval : %d\n", Material, eval()); ~~ ^~~~~~ %ld 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c learn.c learn.c:45:84: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("Learning score: %d best: %d depth:%d hash: %X\n", score, best, depth, hash); ~~ ^~~~ %lX 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c partner.c partner.c:180:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] DIE; ^~~ ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^~~~~~~~~~~~~~ partner.c:180:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^ partner.c:335:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] DIE; ^~~ ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^~~~~~~~~~~~~~ partner.c:335:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c seval.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c ttable.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c book.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c ecache.c ecache.c:73:28: warning: 'memset' call operates on objects of type 'ECacheType' while the size is based on a different type 'ECacheType *' [-Wsizeof-pointer-memaccess] memset(ECache, 0, sizeof(ECache)); ~~~~~~ ^~~~~~ ecache.c:73:28: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(ECache, 0, sizeof(ECache)); ^~~~~~ ecache.c:88:11: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] ECacheSize, sizeof(ECacheType)*ECacheSize); ^~~~~~~~~~ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c eval.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c moves.c moves.c:861:53: warning: for loop has empty body [-Wempty-body] for (l = wking_loc-11; board[l] == npiece; l -=11); ^ moves.c:861:53: note: put the semicolon on a separate line to silence this warning moves.c:876:53: warning: for loop has empty body [-Wempty-body] for (l = wking_loc-12; board[l] == npiece; l -=12); ^ moves.c:876:53: note: put the semicolon on a separate line to silence this warning moves.c:1195:51: warning: for loop has empty body [-Wempty-body] for (l = bking_loc-13; board[l] == npiece; l-=13); ^ moves.c:1195:51: note: put the semicolon on a separate line to silence this warning moves.c:1208:51: warning: for loop has empty body [-Wempty-body] for (l = bking_loc-11; board[l] == npiece; l-=11); ^ moves.c:1208:51: note: put the semicolon on a separate line to silence this warning 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c search.c search.c:305:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] time_for_move, ^~~~~~~~~~~~~ search.c:306:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] time_left); ^~~~~~~~~ search.c:516:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] time_for_move, ^~~~~~~~~~~~~ search.c:517:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] time_left); ^~~~~~~~~ search.c:1635:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("Time for move : %d\n", time_for_move); ~~ ^~~~~~~~~~~~~ %ld search.c:1886:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("Used time : %d\n", elapsed); ~~ ^~~~~~~ %ld search.c:1946:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ext_check, ext_recap, ext_onerep, EGTBHits, ^~~~~~~~~ search.c:1946:15: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ext_check, ext_recap, ext_onerep, EGTBHits, ^~~~~~~~~ search.c:1946:26: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ext_check, ext_recap, ext_onerep, EGTBHits, ^~~~~~~~~~ search.c:1962:30: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if (bestmovenum == -1) DIE; ^~~ ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^~~~~~~~~~~~~~ search.c:1962:30: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^ 10 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c sjeng.c sjeng.c:187:7: warning: implicit declaration of function 'init_segtb' is invalid in C99 [-Wimplicit-function-declaration] if (init_segtb()) ^ sjeng.c:338:13: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] Material, eval(), white_hand_eval, black_hand_eval); ^~~~~~ sjeng.c:340:43: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("Hash : %X HoldHash : %X\n", hash, hold_hash); ~~ ^~~~ %lX sjeng.c:340:49: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("Hash : %X HoldHash : %X\n", hash, hold_hash); ~~ ^~~~~~~~~ %lX sjeng.c:638:23: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("Eval: %d\n", eval()); ~~ ^~~~~~ %ld sjeng.c:670:30: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] sscanf (input+7, "%ld %ld", &my_rating, &opp_rating); ~~~ ^~~~~~~~~~ %d sjeng.c:670:42: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] sscanf (input+7, "%ld %ld", &my_rating, &opp_rating); ~~~ ^~~~~~~~~~~ %d sjeng.c:792:24: warning: format specifies type 'int *' but the argument has type 'long *' [-Wformat] sscanf(input+3, "%d", &fixed_time); ~~ ^~~~~~~~~~~ %ld 8 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c utils.c utils.c:766:7: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] DIE; ^~~ ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^~~~~~~~~~~~~~ utils.c:766:7: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^ utils.c:772:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] DIE; ^~~ ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^~~~~~~~~~~~~~ utils.c:772:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^ utils.c:778:7: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] DIE; ^~~ ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^~~~~~~~~~~~~~ utils.c:778:7: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^ utils.c:787:7: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] DIE; ^~~ ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^~~~~~~~~~~~~~ utils.c:787:7: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^ utils.c:793:7: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] DIE; ^~~ ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^~~~~~~~~~~~~~ utils.c:793:7: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^ utils.c:799:7: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] DIE; ^~~ ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^~~~~~~~~~~~~~ utils.c:799:7: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./sjeng.h:42:14: note: expanded from macro 'DIE' #define DIE (*(int *)(NULL) = 0) ^ utils.c:1345:15: warning: multiple unsequenced modifications to 'hash' [-Wunsequenced] hash = (++hash) % ULONG_MAX; ~ ^ 7 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c newbook.c newbook.c:528:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ps->played, ps->score); ^~~~~~~~~ newbook.c:563:53: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] scores[i] += (int) ((float)(((float)(rand())/RAND_MAX)) * ((float)best_score*1.35)); ~^~~~~~~~ /usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ newbook.c:678:8: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs((ps->score)+pi) < (ps->played*5)) ^ newbook.c:678:8: note: use function 'labs' instead if (abs((ps->score)+pi) < (ps->played*5)) ^~~ labs 3 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c proof.c proof.c:1418:115: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf ("P: %d D: %d N: %d S: %d Mem: %2.2fM Iters: %d MaxDepth: %d\n", root->proof, root->disproof, nodecount, frees, (((nodecount) * sizeof (node_t) / (float) (1024 * 1024))), iters,maxply); ~~ ^~~~~ %ld proof.c:1611:101: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("P: %d D: %d N: %d S: %d Mem: %2.2fM Iters: %d\n", root->proof, root->disproof, nodecount, frees, (((nodecount) * sizeof(node_t) / (float)(1024*1024))), iters); ~~ ^~~~~ %ld 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c neval.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c rcfile.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c leval.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c draw.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c see.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c probe.c cc -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c segtb.c segtb.c:512:10: warning: passing 'signed char[13]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(fname, THREE_PIECE_FILE); ^~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ segtb.c:517:18: warning: passing 'signed char[13]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!(f = fopen(fname,"w"))) return 0; ^~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ segtb.c:720:7: warning: implicit declaration of function 'load_2piece' is invalid in C99 [-Wimplicit-function-declaration] if(!load_2piece()) ^ segtb.c:926:8: warning: implicit declaration of function 'load_3piece' is invalid in C99 [-Wimplicit-function-declaration] if(!load_3piece(w1_man, b1_man, b2_man, table)) ^ segtb.c:973:10: warning: passing 'signed char[13]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(fname, THREE_PIECE_FILE); ^~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ segtb.c:978:18: warning: passing 'signed char[13]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!(f = fopen(fname,"r"))) return 0; ^~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o sjeng attacks.o crazy.o epd.o learn.o partner.o seval.o ttable.o book.o ecache.o eval.o moves.o search.o sjeng.o utils.o newbook.o proof.o neval.o rcfile.o leval.o draw.o see.o probe.o segtb.o -lm -lgdbm -L/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for sjeng-11.2_3 ===> Generating temporary packing list Making install in books Making install in tests /bin/sh ./mkinstalldirs /wrkdirs/usr/ports/games/sjeng/work/stage/usr/local/bin install -s -m 555 sjeng /wrkdirs/usr/ports/games/sjeng/work/stage/usr/local/bin/sjeng ====> 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-02T11:44:19+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 sjeng-11.2_3 ===> Building sjeng-11.2_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for sjeng-11.2_3 build of games/sjeng | sjeng-11.2_3 ended at Tue Apr 2 12:44:37 BST 2024 build time: 00:00:20