=>> Building games/trojka build started at Fri Feb 20 15:42:50 EST 2026 port directory: /usr/ports/games/trojka package name: trojka-1.0_2 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: e@ik.nu Makefile datestamp: -rw-r--r-- 1 root wheel 494 Oct 16 2024 /usr/ports/games/trojka/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 14 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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_15_0_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_15_0_x64-HEAD-ALL/14/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_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--- ---End OPTIONS List--- --MAINTAINER-- e@ik.nu --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/trojka/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/trojka/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/trojka/work/.cache HOME=/wrkdirs/usr/ports/games/trojka/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/trojka/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/trojka/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/trojka/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/trojka/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/trojka/work/.cache HOME=/wrkdirs/usr/ports/games/trojka/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/trojka/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/trojka/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 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=incompatible-function-pointer-types -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-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/trojka" EXAMPLESDIR="share/examples/trojka" DATADIR="share/trojka" WWWDIR="www/trojka" ETCDIR="etc/trojka" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/trojka DOCSDIR=/usr/local/share/doc/trojka EXAMPLESDIR=/usr/local/share/examples/trojka WWWDIR=/usr/local/www/trojka ETCDIR=/usr/local/etc/trojka --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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> trojka-1.0_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> trojka-1.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of trojka-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 ===> Fetching all distfiles required by trojka-1.0_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by trojka-1.0_2 for building => SHA256 Checksum OK for trojka.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by trojka-1.0_2 for building ===> Extracting for trojka-1.0_2 => SHA256 Checksum OK for trojka.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 trojka-1.0_2 ===> Applying FreeBSD patches for trojka-1.0_2 from /usr/ports/games/trojka/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> trojka-1.0_2 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. ===> trojka-1.0_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of trojka-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 ===> Configuring for trojka-1.0_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for trojka-1.0_2 --- trojka.o --- --- screen.o --- --- scan.o --- --- hiscore.o --- --- system.o --- --- trojka.6.out --- --- trojka.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c trojka.c -o trojka.o --- screen.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c screen.c -o screen.o --- scan.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c scan.c -o scan.o --- hiscore.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c hiscore.c -o hiscore.o --- system.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c system.c -o system.o --- trojka.6.out --- sed "s|%%PREFIX%%|/usr/local|" trojka.6 > trojka.6.out --- hiscore.o --- In file included from hiscore.c:7: ./sys_custom.h:16:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 16 | #endif _sys_custom_ | ^ | // In file included from hiscore.c:8: ./hiscore.h:24:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 24 | #endif _hiscore_ | ^ | // In file included from hiscore.c:9: ./trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 105 | #endif _trojka_h_ | ^ | // ./trojka.h:7:9: warning: '_trojka_h_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 7 | #ifndef _trojka_h_ | ^~~~~~~~~~ ./trojka.h:8:9: note: '_trojka_h' is defined here; did you mean '_trojka_h_'? 8 | #define _trojka_h | ^~~~~~~~~ | _trojka_h_ hiscore.c:36:2: warning: call to undeclared function 'showscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | showscore(); | ^ hiscore.c:38:2: warning: call to undeclared function 'showgameover'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | showgameover(); | ^ hiscore.c:60:9: warning: call to undeclared function 'getname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | while(getname(a->name)==0) /* empty name not allowed */ | ^ hiscore.c:64:1: warning: non-void function does not return a value [-Wreturn-type] 64 | } | ^ hiscore.c:74:3: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | strcpy(i->name, STDNAME); | ^ hiscore.c:74:3: note: include the header or explicitly provide a declaration for 'strcpy' hiscore.c:80:15: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | old_umask = umask(0); | ^ hiscore.c:84:4: warning: call to undeclared function 'quit_prog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | quit_prog("Error creating scorefile"); | ^ hiscore.c:85:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | close(fd); | ^ hiscore.c:90:5: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | if(read(fd,sfile, FILE_SIZE) == -1) | ^ hiscore.c:91:3: warning: call to undeclared function 'quit_prog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | quit_prog("Error reading scorefile"); | ^ hiscore.c:92:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | close(fd); | ^ hiscore.c:93:1: warning: non-void function does not return a value [-Wreturn-type] 93 | } | ^ hiscore.c:101:3: warning: call to undeclared function 'quit_prog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | quit_prog("Error opening scorefile."); | ^ hiscore.c:103:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | if((write(fd, sfile, FILE_SIZE)) == -1) | ^ hiscore.c:106:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | if((close(fd)) == -1) | ^ hiscore.c:108:1: warning: non-void function does not return a value [-Wreturn-type] 108 | } | ^ hiscore.c:127:1: warning: non-void function does not return a value [-Wreturn-type] 127 | } | ^ 21 warnings generated. --- system.o --- In file included from system.c:30: ./trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 105 | #endif _trojka_h_ | ^ | // ./trojka.h:7:9: warning: '_trojka_h_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 7 | #ifndef _trojka_h_ | ^~~~~~~~~~ ./trojka.h:8:9: note: '_trojka_h' is defined here; did you mean '_trojka_h_'? 8 | #define _trojka_h | ^~~~~~~~~ | _trojka_h_ system.c:72:1: warning: non-void function does not return a value [-Wreturn-type] 72 | } | ^ system.c:86:18: warning: incompatible function pointer types passing 'int ()' to parameter of type '__sighandler_t *' (aka 'void (*)(int)') [-Wincompatible-function-pointer-types] 86 | signal(SIGTERM, catch); | ^~~~~ /usr/include/sys/signal.h:478:45: note: passing argument to parameter here 478 | __sighandler_t *signal(int, __sighandler_t *); | ^ system.c:87:17: warning: incompatible function pointer types passing 'int ()' to parameter of type '__sighandler_t *' (aka 'void (*)(int)') [-Wincompatible-function-pointer-types] 87 | signal(SIGINT, catch); | ^~~~~ /usr/include/sys/signal.h:478:45: note: passing argument to parameter here 478 | __sighandler_t *signal(int, __sighandler_t *); | ^ system.c:94:1: warning: non-void function does not return a value [-Wreturn-type] 94 | } | ^ system.c:103:11: warning: passing arguments to 'quit_prog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | quit_prog("See you around in the Trojka-zone..."); | ^ system.c:97:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | int catch(sig) | ^ system.c:40:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | int catch(); | ^ system.c:104:1: warning: non-void function does not return a value [-Wreturn-type] 104 | } | ^ system.c:118:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | exit(0); | ^ system.c:118:2: note: include the header or explicitly provide a declaration for 'exit' system.c:106:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | int quit_prog(s) | ^ system.c:35:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | quit_prog(); | ^ system.c:126:2: warning: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | usleep(millisecs * 1200); /* usleep does microsecs; need millisecs */ | ^ system.c:122:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | int delay(millisecs) | ^ system.c:140:1: warning: non-void function does not return a value [-Wreturn-type] 140 | } | ^ 16 warnings generated. --- scan.o --- In file included from scan.c:9: ./trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 105 | #endif _trojka_h_ | ^ | // ./trojka.h:7:9: warning: '_trojka_h_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 7 | #ifndef _trojka_h_ | ^~~~~~~~~~ ./trojka.h:8:9: note: '_trojka_h' is defined here; did you mean '_trojka_h_'? 8 | #define _trojka_h | ^~~~~~~~~ | _trojka_h_ scan.c:43:3: warning: call to undeclared function 'delay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | delay(100); | ^ scan.c:44:3: warning: call to undeclared function 'shiftblocks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | shiftblocks(); | ^ scan.c:48:3: warning: call to undeclared function 'showscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | showscore(); | ^ scan.c:52:4: warning: call to undeclared function 'handletrojka'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | handletrojka(wipe_count); /* trojka ! */ | ^ scan.c:100:5: warning: call to undeclared function 'makestars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | makestars(x, y); | ^ scan.c:101:1: warning: non-void function does not return a value [-Wreturn-type] 101 | } | ^ scan.c:111:14: warning: passing arguments to 'shiftdown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | shiftdown(x, y); | ^ scan.c:115:1: warning: non-void function does not return a value [-Wreturn-type] 115 | } | ^ scan.c:123:3: warning: call to undeclared function 'makeblock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | makeblock(x, y, field[x][y]); | ^ scan.c:118:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | int shiftdown(x, y) /* both visual and virtual */ | ^ scan.c:15:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | shiftdown(), | ^ scan.c:126:1: warning: non-void function does not return a value [-Wreturn-type] 126 | } | ^ scan.c:134:15: warning: passing arguments to 'isempty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | while(isempty(y)) | ^ scan.c:140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | int isempty(y) | ^ scan.c:17:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | isempty(), | ^ scan.c:159:1: warning: non-void function does not return a value [-Wreturn-type] 159 | } | ^ 18 warnings generated. --- trojka.o --- In file included from trojka.c:11: ./trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 105 | #endif _trojka_h_ | ^ | // ./trojka.h:7:9: warning: '_trojka_h_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 7 | #ifndef _trojka_h_ | ^~~~~~~~~~ ./trojka.h:8:9: note: '_trojka_h' is defined here; did you mean '_trojka_h_'? 8 | #define _trojka_h | ^~~~~~~~~ | _trojka_h_ In file included from trojka.c:12: ./hiscore.h:24:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 24 | #endif _hiscore_ | ^ | // trojka.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | main(argc, argv) | ^ | int trojka.c:71:30: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | sfile = (struct scorefile *)malloc(FILE_SIZE); | ^ trojka.c:71:30: note: include the header or explicitly provide a declaration for 'malloc' trojka.c:73:3: warning: call to undeclared function 'quit_prog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | quit_prog("Not enough memory to hold scores."); | ^ trojka.c:74:2: warning: call to undeclared function 'readscores'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | readscores(); | ^ trojka.c:75:8: warning: passing arguments to 'getopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | getopt(argc, argv); | ^ trojka.c:77:2: warning: call to undeclared function 'initcurses'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | initcurses(); | ^ trojka.c:81:3: warning: call to undeclared function 'titlescreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | titlescreen(); | ^ trojka.c:83:17: warning: call to undeclared function 'selectspeed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | speed = (int)selectspeed(); | ^ trojka.c:86:5: warning: call to undeclared function 'build'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | build(); | ^ trojka.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | main(argc, argv) | ^ trojka.c:99:2: warning: call to undeclared function 'showspeed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | showspeed(speed); | ^ trojka.c:107:3: warning: call to undeclared function 'wipeblock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | wipeblock(last_xpos, last_ypos); | ^ trojka.c:108:3: warning: call to undeclared function 'makeblock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | makeblock(xpos, ypos, shape); | ^ trojka.c:114:3: warning: call to undeclared function 'delay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | delay(Pause); /* game speed */ | ^ trojka.c:118:10: warning: call to undeclared function 'getkey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | switch(getkey()) { /* key control */ | ^ trojka.c:152:4: warning: call to undeclared function 'redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | redraw(); | ^ trojka.c:165:7: warning: call to undeclared function 'scan'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | if(scan() < PLM_TOP) { | ^ trojka.c:166:14: warning: passing arguments to 'multscore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | multscore((unsigned long)shape); | ^ trojka.c:172:5: warning: call to undeclared function 'statistics'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | statistics(); | ^ trojka.c:173:5: warning: call to undeclared function 'showscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | showscore(); | ^ trojka.c:177:19: warning: call to undeclared function 'wipemesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | /* GAME OVER */ wipemesg(); | ^ trojka.c:183:2: warning: call to undeclared function 'gameover'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | gameover(); | ^ trojka.c:184:1: warning: non-void function does not return a value [-Wreturn-type] 184 | } | ^ trojka.c:191:2: warning: call to undeclared function 'wipeblock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | wipeblock(xpos, ypos+1); | ^ trojka.c:194:2: warning: call to undeclared function 'makeblock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | makeblock(xpos, ypos+1, shape); | ^ trojka.c:197:1: warning: non-void function does not return a value [-Wreturn-type] 197 | } | ^ trojka.c:200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | int multscore(mult) | ^ trojka.c:18:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | multscore(), | ^ trojka.c:204:1: warning: non-void function does not return a value [-Wreturn-type] 204 | } | ^ trojka.c:211:3: warning: call to undeclared function 'showspeed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | showspeed(speed); | ^ trojka.c:216:1: warning: non-void function does not return a value [-Wreturn-type] 216 | } | ^ trojka.c:231:2: warning: call to undeclared function 'reset_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | reset_f(); /* reset shadow buffer in scan.c */ | ^ trojka.c:239:1: warning: non-void function does not return a value [-Wreturn-type] 239 | } | ^ trojka.c:246:2: warning: call to undeclared function 'srand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | setrandom(); | ^ ./trojka.h:99:21: note: expanded from macro 'setrandom' 99 | #define setrandom() srand((unsigned)time(0)) | ^ trojka.c:246:2: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./trojka.h:99:37: note: expanded from macro 'setrandom' 99 | #define setrandom() srand((unsigned)time(0)) | ^ trojka.c:261:1: warning: non-void function does not return a value [-Wreturn-type] 261 | } | ^ trojka.c:270:10: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | shape = getrandom(BLOCKS) + 1; | ^ ./trojka.h:98:23: note: expanded from macro 'getrandom' 98 | #define getrandom(s) (rand() % (s)) | ^ trojka.c:271:1: warning: non-void function does not return a value [-Wreturn-type] 271 | } | ^ trojka.c:284:1: warning: non-void function does not return a value [-Wreturn-type] 284 | } | ^ trojka.c:291:1: warning: non-void function does not return a value [-Wreturn-type] 291 | } | ^ trojka.c:298:3: warning: call to undeclared function 'wipemesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 298 | wipemesg(); | ^ trojka.c:299:3: warning: call to undeclared function 'showmesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | showmesg(mesg_count++); | ^ trojka.c:306:4: warning: call to undeclared function 'wipemesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | wipemesg(); | ^ trojka.c:311:1: warning: non-void function does not return a value [-Wreturn-type] 311 | } | ^ trojka.c:319:7: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | if(!strcmp(argv[1], "-s")) | ^ trojka.c:319:7: note: include the header or explicitly provide a declaration for 'strcmp' trojka.c:320:4: warning: call to undeclared function 'scorelist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | scorelist(); | ^ trojka.c:323:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | exit(0); | ^ trojka.c:323:3: note: include the header or explicitly provide a declaration for 'exit' trojka.c:314:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | int getopt(argc, argv) | ^ trojka.c:26:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | getopt(); | ^ trojka.c:325:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 325 | } | ^ 53 warnings generated. --- screen.o --- In file included from screen.c:10: ./sys_custom.h:16:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 16 | #endif _sys_custom_ | ^ | // In file included from screen.c:11: ./trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 105 | #endif _trojka_h_ | ^ | // ./trojka.h:7:9: warning: '_trojka_h_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 7 | #ifndef _trojka_h_ | ^~~~~~~~~~ ./trojka.h:8:9: note: '_trojka_h' is defined here; did you mean '_trojka_h_'? 8 | #define _trojka_h | ^~~~~~~~~ | _trojka_h_ In file included from screen.c:12: ./screen.h:41:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 41 | #endif _screen_ | ^ | // In file included from screen.c:13: ./hiscore.h:24:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 24 | #endif _hiscore_ | ^ | // screen.c:92:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | int makeblock(x, y, shape) /* create a block */ | ^ screen.c:15:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int makeblock(), wipeblock(), makestars(), | ^ screen.c:97:1: warning: non-void function does not return a value [-Wreturn-type] 97 | } | ^ screen.c:100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | int wipeblock(x, y) /* remove block */ | ^ screen.c:15:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int makeblock(), wipeblock(), makestars(), | ^ screen.c:105:1: warning: non-void function does not return a value [-Wreturn-type] 105 | } | ^ screen.c:108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | int makestars(x, y) /* show stars */ | ^ screen.c:15:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int makeblock(), wipeblock(), makestars(), | ^ screen.c:113:1: warning: non-void function does not return a value [-Wreturn-type] 113 | } | ^ screen.c:121:1: warning: non-void function does not return a value [-Wreturn-type] 121 | } | ^ screen.c:132:2: warning: call to undeclared function 'delay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | delay(1000); | ^ screen.c:124:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | int showtrojka(bonus) | ^ screen.c:16:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | showscore(), showtrojka(), showspeed(), | ^ screen.c:135:1: warning: non-void function does not return a value [-Wreturn-type] 135 | } | ^ screen.c:138:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | int showspeed(s) | ^ screen.c:16:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | showscore(), showtrojka(), showspeed(), | ^ screen.c:143:1: warning: non-void function does not return a value [-Wreturn-type] 143 | } | ^ screen.c:149:15: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | movexy((80 - strlen(mesg[n])) / 2, MESG_Y); | ^ screen.c:149:15: note: include the header or explicitly provide a declaration for 'strlen' screen.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | int showmesg(n) | ^ screen.c:17:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | showmesg(), showgameover(), | ^ screen.c:152:1: warning: non-void function does not return a value [-Wreturn-type] 152 | } | ^ screen.c:160:1: warning: non-void function does not return a value [-Wreturn-type] 160 | } | ^ screen.c:168:2: warning: call to undeclared function 'delay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | delay(1500); | ^ screen.c:170:1: warning: non-void function does not return a value [-Wreturn-type] 170 | } | ^ screen.c:173:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | int handletrojka(trojka_count) | ^ screen.c:179:1: warning: non-void function does not return a value [-Wreturn-type] 179 | } | ^ screen.c:197:2: warning: call to undeclared function 'readscores'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | readscores(); /* re-read scores */ | ^ screen.c:201:2: warning: call to undeclared function 'killkeys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | killkeys(); | ^ screen.c:208:1: warning: non-void function does not return a value [-Wreturn-type] 208 | } | ^ screen.c:251:1: warning: non-void function does not return a value [-Wreturn-type] 251 | } | ^ screen.c:286:1: warning: non-void function does not return a value [-Wreturn-type] 286 | } | ^ screen.c:321:1: warning: non-void function does not return a value [-Wreturn-type] 321 | } | ^ screen.c:331:1: warning: non-void function does not return a value [-Wreturn-type] 331 | } | ^ screen.c:349:1: warning: non-void function does not return a value [-Wreturn-type] 349 | } | ^ screen.c:359:2: warning: call to undeclared function 'killkeys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | killkeys(); /* flush keyboard buffer */ | ^ screen.c:368:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 368 | } | ^ screen.c:392:2: warning: call to undeclared function 'killkeys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 392 | killkeys(); | ^ screen.c:403:12: warning: passing arguments to 'dropchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | dropchar(xstart + x, (tag[x] = c)); | ^ screen.c:407:14: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | backspace(xstart + x, tag[x]); | ^ screen.c:371:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | int getname(tag) | ^ screen.c:21:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | getname(), dropchar(), backspace(); | ^ screen.c:421:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | int dropchar(x,c) | ^ screen.c:21:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | getname(), dropchar(), backspace(); | ^ screen.c:432:1: warning: non-void function does not return a value [-Wreturn-type] 432 | } | ^ screen.c:435:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | int backspace(x, c) | ^ screen.c:21:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | getname(), dropchar(), backspace(); | ^ screen.c:447:1: warning: non-void function does not return a value [-Wreturn-type] 447 | } | ^ 52 warnings generated. --- trojka --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" trojka.o screen.o scan.o hiscore.o system.o -lncurses -o trojka =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for trojka-1.0_2 ===> Generating temporary packing list install -s -m 555 trojka /wrkdirs/usr/ports/games/trojka/work/stage/usr/local/bin install -m 444 trojka.6.out /wrkdirs/usr/ports/games/trojka/work/stage/usr/local/share/man/man6/trojka.6 mkdir -p /wrkdirs/usr/ports/games/trojka/work/stage/var/games touch /wrkdirs/usr/ports/games/trojka/work/stage/var/games/trojka.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=2026-02-20T20:42:50+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4485bd8221c2' '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 trojka-1.0_2 ===> Building trojka-1.0_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for trojka-1.0_2 build of games/trojka | trojka-1.0_2 ended at Fri Feb 20 15:42:52 EST 2026 build time: 00:00:03