=>> Building games/sokoban build started at Fri Apr 5 13:43:44 BST 2024 port directory: /usr/ports/games/sokoban package name: sokoban-1.0_2 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 599 Mar 8 2023 /usr/ports/games/sokoban/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: 11 ---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/11/.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-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/sokoban/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sokoban/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sokoban/work/.cache HOME=/wrkdirs/usr/ports/games/sokoban/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/sokoban/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sokoban/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/sokoban/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sokoban/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sokoban/work/.cache HOME=/wrkdirs/usr/ports/games/sokoban/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/sokoban/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sokoban/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-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sokoban" EXAMPLESDIR="share/examples/sokoban" DATADIR="share/sokoban" WWWDIR="www/sokoban" ETCDIR="etc/sokoban" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sokoban DOCSDIR=/usr/local/share/doc/sokoban EXAMPLESDIR=/usr/local/share/examples/sokoban WWWDIR=/usr/local/www/sokoban ETCDIR=/usr/local/etc/sokoban --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 sokoban 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 ===> sokoban-1.0_2 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 ===> sokoban-1.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sokoban-1.0_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sokoban 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 sokoban-1.0_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sokoban 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 sokoban-1.0_2 for building => SHA256 Checksum OK for sokoban-src.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 sokoban 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 sokoban-1.0_2 for building ===> Extracting for sokoban-1.0_2 => SHA256 Checksum OK for sokoban-src.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 sokoban-1.0_2 ===> Applying FreeBSD patches for sokoban-1.0_2 from /usr/ports/games/sokoban/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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for sokoban-1.0_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for sokoban-1.0_2 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -c sok.c In file included from sok.c:2: ./sokoban.h:70:1: warning: '/*' within block comment [-Wcomment] /* Attention: Do not alter `obj_intern'. This would cause an error */ ^ sok.c:24:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main( argc, argv) ^ sok.c:38:20: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] superuser = (strcmp( username, SUPERUSER) == 0); ^ sok.c:38:20: note: include the header or explicitly provide a declaration for 'strcmp' sok.c:39:18: warning: implicit declaration of function 'checkcmdline' is invalid in C99 [-Wimplicit-function-declaration] if( (ret = checkcmdline( argc, argv)) == 0) { ^ sok.c:64:13: warning: implicit declaration of function 'gameloop' is invalid in C99 [-Wimplicit-function-declaration] ret = gameloop(); ^ sok.c:65:4: warning: implicit declaration of function 'errmess' is invalid in C99 [-Wimplicit-function-declaration] errmess( ret); ^ sok.c:70:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit( ret); ^ sok.c:70:4: note: include the header or explicitly provide a declaration for 'exit' sok.c:73:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] checkcmdline( argc, argv) ^ sok.c:87:24: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] else if( (optlevel = atoi( &(argv[1][1]))) == 0) ^ sok.c:90:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ret = E_USAGE; ^ sok.c:94:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gameloop() { ^ sok.c:140:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] errmess( ret) ^ sok.c:159:27: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] if( ret == E_USAGE) usage(); ^ sok.c:161:1: warning: non-void function does not return a value [-Wreturn-type] } ^ sok.c:171:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage() { ^ sok.c:178:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 16 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -c readscreen.c In file included from readscreen.c:2: ./sokoban.h:70:1: warning: '/*' within block comment [-Wcomment] /* Attention: Do not alter `obj_intern'. This would cause an error */ ^ readscreen.c:4:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ readscreen.c:4:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' readscreen.c:17:19: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] fnam = malloc( strlen( SCREENPATH) + 11); ^ readscreen.c:17:19: note: include the header or explicitly provide a declaration for 'strlen' 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -c showscreen.c In file included from showscreen.c:2: ./sokoban.h:70:1: warning: '/*' within block comment [-Wcomment] /* Attention: Do not alter `obj_intern'. This would cause an error */ ^ showscreen.c:8:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showscreen() { ^ showscreen.c:15:10: warning: implicit declaration of function 'mapchar' is invalid in C99 [-Wimplicit-function-declaration] mapchar( map[i][j], i, j); ^ showscreen.c:18:4: warning: implicit declaration of function 'displevel' is invalid in C99 [-Wimplicit-function-declaration] displevel(); ^ showscreen.c:19:4: warning: implicit declaration of function 'disppackets' is invalid in C99 [-Wimplicit-function-declaration] disppackets(); ^ showscreen.c:20:4: warning: implicit declaration of function 'dispsave' is invalid in C99 [-Wimplicit-function-declaration] dispsave(); ^ showscreen.c:21:4: warning: implicit declaration of function 'dispmoves' is invalid in C99 [-Wimplicit-function-declaration] dispmoves(); ^ showscreen.c:22:4: warning: implicit declaration of function 'disppushes' is invalid in C99 [-Wimplicit-function-declaration] disppushes(); ^ showscreen.c:25:1: warning: non-void function does not return a value [-Wreturn-type] } ^ showscreen.c:27:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mapchar( c, i, j) ^ showscreen.c:41:1: warning: non-void function does not return a value [-Wreturn-type] } ^ showscreen.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] displevel() { ^ showscreen.c:63:1: warning: non-void function does not return a value [-Wreturn-type] } ^ showscreen.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disppackets() { ^ showscreen.c:67:1: warning: non-void function does not return a value [-Wreturn-type] } ^ showscreen.c:69:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dispsave() { ^ showscreen.c:71:1: warning: non-void function does not return a value [-Wreturn-type] } ^ showscreen.c:73:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dispmoves() { ^ showscreen.c:75:1: warning: non-void function does not return a value [-Wreturn-type] } ^ showscreen.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disppushes() { ^ showscreen.c:79:1: warning: non-void function does not return a value [-Wreturn-type] } ^ showscreen.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] helpmessage() { ^ showscreen.c:85:4: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep( 1); ^ showscreen.c:88:1: warning: non-void function does not return a value [-Wreturn-type] } ^ showscreen.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showhelp() { ^ showscreen.c:167:3: warning: implicit declaration of function 'printhelpline' is invalid in C99 [-Wimplicit-function-declaration] printhelpline( win, helppages[i]); ^ showscreen.c:181:1: warning: non-void function does not return a value [-Wreturn-type] } ^ showscreen.c:201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printhelpline( win, line) ^ showscreen.c:217:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 29 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -c play.c In file included from play.c:3: ./sokoban.h:70:1: warning: '/*' within block comment [-Wcomment] /* Attention: Do not alter `obj_intern'. This would cause an error */ ^ play.c:44:4: warning: implicit declaration of function 'showscreen' is invalid in C99 [-Wimplicit-function-declaration] showscreen(); ^ play.c:45:4: warning: implicit declaration of function 'tmpsave' is invalid in C99 [-Wimplicit-function-declaration] tmpsave(); ^ play.c:48:14: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] (void) read(0, &c, 1); ^ play.c:72:20: warning: implicit declaration of function 'savegame' is invalid in C99 [-Wimplicit-function-declaration] if( (ret = savegame()) == 0) ^ play.c:76:9: warning: implicit declaration of function 'showhelp' is invalid in C99 [-Wimplicit-function-declaration] showhelp(); ^ play.c:87:9: warning: implicit declaration of function 'tmpreset' is invalid in C99 [-Wimplicit-function-declaration] tmpreset(); ^ play.c:93:20: warning: implicit declaration of function 'readscreen' is invalid in C99 [-Wimplicit-function-declaration] if( (ret = readscreen()) == 0) { ^ play.c:100:12: warning: implicit declaration of function 'undomove' is invalid in C99 [-Wimplicit-function-declaration] undomove(); ^ play.c:118:26: warning: implicit declaration of function 'testmove' is invalid in C99 [-Wimplicit-function-declaration] if( (action = testmove( c)) != 0) { ^ play.c:126:15: warning: implicit declaration of function 'domove' is invalid in C99 [-Wimplicit-function-declaration] domove( lastaction); ^ play.c:132:16: warning: implicit declaration of function 'helpmessage' is invalid in C99 [-Wimplicit-function-declaration] default: helpmessage(); break; ^ play.c:144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] testmove( action) ^ play.c:182:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] domove( moveaction) ^ play.c:205:4: warning: implicit declaration of function 'dispmoves' is invalid in C99 [-Wimplicit-function-declaration] dispmoves(); disppushes(); dispsave(); ^ play.c:205:17: warning: implicit declaration of function 'disppushes' is invalid in C99 [-Wimplicit-function-declaration] dispmoves(); disppushes(); dispsave(); ^ play.c:205:31: warning: implicit declaration of function 'dispsave' is invalid in C99 [-Wimplicit-function-declaration] dispmoves(); disppushes(); dispsave(); ^ play.c:206:4: warning: implicit declaration of function 'mapchar' is invalid in C99 [-Wimplicit-function-declaration] mapchar( map[ppos.x][ppos.y], ppos.x, ppos.y); ^ play.c:212:1: warning: non-void function does not return a value [-Wreturn-type] } ^ play.c:214:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] undomove() { ^ play.c:228:4: warning: implicit declaration of function 'dispmoves' is invalid in C99 [-Wimplicit-function-declaration] dispmoves(); disppushes(); dispsave(); ^ play.c:228:17: warning: implicit declaration of function 'disppushes' is invalid in C99 [-Wimplicit-function-declaration] dispmoves(); disppushes(); dispsave(); ^ play.c:228:31: warning: implicit declaration of function 'dispsave' is invalid in C99 [-Wimplicit-function-declaration] dispmoves(); disppushes(); dispsave(); ^ play.c:229:4: warning: implicit declaration of function 'mapchar' is invalid in C99 [-Wimplicit-function-declaration] mapchar( map[ppos.x][ppos.y], ppos.x, ppos.y); ^ play.c:234:1: warning: non-void function does not return a value [-Wreturn-type] } ^ play.c:236:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tmpsave() { ^ play.c:246:1: warning: non-void function does not return a value [-Wreturn-type] } ^ play.c:248:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tmpreset() { ^ play.c:258:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 29 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -c save.c In file included from save.c:5: ./sokoban.h:70:1: warning: '/*' within block comment [-Wcomment] /* Attention: Do not alter `obj_intern'. This would cause an error */ ^ save.c:7:15: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ save.c:7:15: note: 'malloc' is a builtin with type 'void *(unsigned long)' save.c:26:21: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] sfname = malloc( strlen( SAVEPATH) + strlen( username) + 5); ^ save.c:26:21: note: include the header or explicitly provide a declaration for 'strlen' save.c:32:11: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if( write( savedbn, &(map[0][0]), MAXROW*MAXCOL) != MAXROW*MAXCOL) ^ save.c:56:53: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if( (ret == E_WRITESAVE) || (ret == E_STATSAVE)) unlink( sfname); ^ save.c:77:14: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if( read( savedbn, &(map[0][0]), MAXROW*MAXCOL) != MAXROW*MAXCOL) ^ save.c:99:7: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink( sfname); ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -c score.c In file included from score.c:3: ./sokoban.h:70:1: warning: '/*' within block comment [-Wcomment] /* Attention: Do not alter `obj_intern'. This would cause an error */ ^ score.c:23:11: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] while( access(LOCKFILE,0) != -1); /* lock the score file */ ^ score.c:24:4: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] creat(LOCKFILE,0666); ^ score.c:25:15: warning: implicit declaration of function 'readscore' is invalid in C99 [-Wimplicit-function-declaration] if( (ret = readscore()) == 0) ^ score.c:26:7: warning: implicit declaration of function 'showscore' is invalid in C99 [-Wimplicit-function-declaration] showscore(); ^ score.c:27:4: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink( LOCKFILE); ^ score.c:35:11: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] while( access(LOCKFILE) != -1) ; ^ score.c:36:4: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] creat(LOCKFILE,0666); ^ score.c:42:11: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if( write( sfdbn, &scoreentries, 2) != 2) ret = E_WRITESCORE; ^ score.c:45:4: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink( LOCKFILE); ^ score.c:54:11: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] while( access( LOCKFILE) != -1); ^ score.c:55:4: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] creat(LOCKFILE,0666); ^ score.c:59:18: warning: implicit declaration of function 'readscore' is invalid in C99 [-Wimplicit-function-declaration] if( (ret = readscore()) == 0) ^ score.c:60:18: warning: implicit declaration of function 'finduser' is invalid in C99 [-Wimplicit-function-declaration] *lv = ( (pos = finduser()) > -1) ? scoretable[pos].lv+1 : 1; ^ score.c:62:4: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink( LOCKFILE); ^ score.c:70:11: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] while( access( LOCKFILE) != -1); ^ score.c:71:4: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] creat(LOCKFILE,0666); ^ score.c:72:15: warning: implicit declaration of function 'readscore' is invalid in C99 [-Wimplicit-function-declaration] if( (ret = readscore()) == 0) ^ score.c:73:18: warning: implicit declaration of function 'makescore' is invalid in C99 [-Wimplicit-function-declaration] if( (ret = makescore()) == 0) ^ score.c:74:14: warning: implicit declaration of function 'writescore' is invalid in C99 [-Wimplicit-function-declaration] if( (ret = writescore()) == 0) ^ score.c:75:6: warning: implicit declaration of function 'showscore' is invalid in C99 [-Wimplicit-function-declaration] showscore(); ^ score.c:76:4: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink( LOCKFILE); ^ score.c:80:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] readscore() { ^ score.c:89:11: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if( read( sfdbn, &scoreentries, 2) != 2) ret = E_READSCORE; ^ score.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] makescore() { ^ score.c:103:15: warning: implicit declaration of function 'finduser' is invalid in C99 [-Wimplicit-function-declaration] if( (pos = finduser()) > -1) { /* user already in score file */ ^ score.c:114:6: warning: implicit declaration of function 'cp_entry' is invalid in C99 [-Wimplicit-function-declaration] cp_entry( i, i+1); ^ score.c:122:13: warning: implicit declaration of function 'findpos' is invalid in C99 [-Wimplicit-function-declaration] pos = findpos(); /* find the new score position */ ^ score.c:125:6: warning: implicit declaration of function 'cp_entry' is invalid in C99 [-Wimplicit-function-declaration] cp_entry( i, i-1); ^ score.c:129:7: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy( scoretable[pos].user, username); ^ score.c:129:7: note: include the header or explicitly provide a declaration for 'strcpy' score.c:138:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] finduser() { ^ score.c:143:16: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] found = (strcmp( scoretable[i].user, username) == 0); ^ score.c:143:16: note: include the header or explicitly provide a declaration for 'strcmp' score.c:147:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] findpos() { ^ score.c:163:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writescore() { ^ score.c:172:11: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if( write( sfdbn, &scoreentries, 2) != 2) ret = E_WRITESCORE; ^ score.c:182:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showscore() { ^ score.c:202:1: warning: non-void function does not return a value [-Wreturn-type] } ^ score.c:204:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cp_entry( i1, i2) ^ score.c:211:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 39 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -o sokoban sok.o readscreen.o showscreen.o play.o save.o score.o -fstack-protector-strong -lncurses =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for sokoban-1.0_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/sokoban/work/sokoban/sokoban /wrkdirs/usr/ports/games/sokoban/work/stage/usr/local/bin/sokoban install -m 0644 /wrkdirs/usr/ports/games/sokoban/work/sokoban/screens/* /wrkdirs/usr/ports/games/sokoban/work/stage/usr/local/share/sokoban/screens truncate -s 512 /wrkdirs/usr/ports/games/sokoban/work/stage/var/games/sokoban/scores.sample ====> 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-05T12:43:44+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 sokoban-1.0_2 ===> Building sokoban-1.0_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for sokoban-1.0_2 build of games/sokoban | sokoban-1.0_2 ended at Fri Apr 5 13:43:51 BST 2024 build time: 00:00:08