=>> Building games/vitetris build started at Sat Feb 21 11:44:30 EST 2026 port directory: /usr/ports/games/vitetris package name: vitetris-0.59.1 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1054 Aug 27 2024 /usr/ports/games/vitetris/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 01 ---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/01/.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--- ===> The following configuration options are available for vitetris-0.59.1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local --datarootdir=/usr/local/share curses="-lncurses" xlib=no --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/vitetris/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/vitetris/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/vitetris/work/.cache HOME=/wrkdirs/usr/ports/games/vitetris/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/vitetris/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/vitetris/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-- HISCORE_FILENAME=/var/games/vitetris-hiscores XDG_DATA_HOME=/wrkdirs/usr/ports/games/vitetris/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/vitetris/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/vitetris/work/.cache HOME=/wrkdirs/usr/ports/games/vitetris/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/vitetris/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/vitetris/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/vitetris" EXAMPLESDIR="share/examples/vitetris" DATADIR="share/vitetris" WWWDIR="www/vitetris" ETCDIR="etc/vitetris" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/vitetris DOCSDIR=/usr/local/share/doc/vitetris EXAMPLESDIR=/usr/local/share/examples/vitetris WWWDIR=/usr/local/www/vitetris ETCDIR=/usr/local/etc/vitetris --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 ===> vitetris-0.59.1 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 ===> vitetris-0.59.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of vitetris-0.59.1 =========================================================================== =================================================== ===== 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 vitetris-0.59.1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by vitetris-0.59.1 for building => SHA256 Checksum OK for vicgeralds-vitetris-v0.59.1_GH0.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 vitetris-0.59.1 for building ===> Extracting for vitetris-0.59.1 => SHA256 Checksum OK for vicgeralds-vitetris-v0.59.1_GH0.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 vitetris-0.59.1 ===> Applying FreeBSD patches for vitetris-0.59.1 from /usr/ports/games/vitetris/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> vitetris-0.59.1 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. ===> vitetris-0.59.1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of vitetris-0.59.1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for vitetris-0.59.1 checking for linux/joystick.h... no checking for curses.h... found in /usr/include checking for conio.h... no checking for stdint.h... yes checking for sys/types.h... yes checking for sys/select.h... yes checking for sys/un.h... yes updating src/config.h updating config.mk INSTALLATION DIRECTORIES: prefix = /usr/local bindir = $(prefix)/bin datarootdir = /usr/local/share docdir = $(datarootdir)/doc/vitetris pixmapdir = $(datarootdir)/pixmaps desktopdir = $(datarootdir)/applications FEATURES: 2player network curses term_resizing menu blockstyles (If you wish to change anything, run "configure help" for options.) Now run make =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for vitetris-0.59.1 generating src/src-conf.mk ./src-conf.sh 'cc' '-O2 -pipe -fstack-protector-strong -fno-strict-aliasing' '' ./src-conf.sh def TWOPLAYER y ./src-conf.sh obj tetris2p y ./src-conf.sh def JOYSTICK ./src-conf.sh obj joylinux ./src-conf.sh obj select y ./src-conf.sh set BACKEND curses y ./src-conf.sh def CURSES y ./src-conf.sh set CURSES_INC "" y ./src-conf.sh set BACKEND ansi -z y ./src-conf.sh set BACKEND allegro ./src-conf.sh def ALLEGRO ./src-conf.sh def XLIB ./src-conf.sh def TERM_RESIZING y ./src-conf.sh def NO_MENU -z y ./src-conf.sh lib menuext y ./src-conf.sh def NO_BLOCKSTYLES -z y ./src-conf.sh lib netw y ./src-conf.sh def SOCKET y ./src-conf.sh def INET y ./src-conf.sh obj inet y ./src-conf.sh def TTY_SOCKET "y" -a y ./src-conf.sh obj tty_socket "y" -a y ./src-conf.sh set DHISCORE_FILENAME "-D'HISCORE_FILENAME=\"/var/games/vitetris-hiscores\"'" /var/games/vitetris-hiscores ./src-conf.sh def PCTIMER ./src-conf.sh obj pctimer cd src; /usr/bin/make tetris cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -DTWOPLAYER=1 -DSOCKET=1 -DINET=1 -DTTY_SOCKET=1 -DTERM_RESIZING=1 -c main.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -DTWOPLAYER=1 -DCURSES=1 -DSOCKET=1 -DINET=1 -DTTY_SOCKET=1 -D'HISCORE_FILENAME="/var/games/vitetris-hiscores"' -c cmdline.c cmdline.c:66:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 66 | while (n = subexplen(pattern)) { | ~~^~~~~~~~~~~~~~~~~~~~ cmdline.c:66:11: note: place parentheses around the assignment to silence this warning 66 | while (n = subexplen(pattern)) { | ^ | ( ) cmdline.c:66:11: note: use '==' to turn this assignment into an equality comparison 66 | while (n = subexplen(pattern)) { | ^ | == cmdline.c:446:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 446 | if (msg = mksocket_local(NULL, 1)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cmdline.c:446:11: note: place parentheses around the assignment to silence this warning 446 | if (msg = mksocket_local(NULL, 1)) { | ^ | ( ) cmdline.c:446:11: note: use '==' to turn this assignment into an equality comparison 446 | if (msg = mksocket_local(NULL, 1)) { | ^ | == cmdline.c:707:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 707 | if (q = strchr(p, '=')) { | ~~^~~~~~~~~~~~~~~~ cmdline.c:707:9: note: place parentheses around the assignment to silence this warning 707 | if (q = strchr(p, '=')) { | ^ | ( ) cmdline.c:707:9: note: use '==' to turn this assignment into an equality comparison 707 | if (q = strchr(p, '=')) { | ^ | == 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -DTWOPLAYER=1 -DCURSES=1 -c cfgfile.c cfgfile.c:89:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 89 | if (p = strchr(line, '=')) { | ~~^~~~~~~~~~~~~~~~~~~ cfgfile.c:89:9: note: place parentheses around the assignment to silence this warning 89 | if (p = strchr(line, '=')) { | ^ | ( ) cfgfile.c:89:9: note: use '==' to turn this assignment into an equality comparison 89 | if (p = strchr(line, '=')) { | ^ | == cfgfile.c:205:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 205 | else if (input = stdin_convertval(&val, tp)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgfile.c:205:17: note: place parentheses around the assignment to silence this warning 205 | else if (input = stdin_convertval(&val, tp)) { | ^ | ( ) cfgfile.c:205:17: note: use '==' to turn this assignment into an equality comparison 205 | else if (input = stdin_convertval(&val, tp)) { | ^ | == cfgfile.c:218:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 218 | if (p = strchr(tcolor_keys, key[0])) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgfile.c:218:8: note: place parentheses around the assignment to silence this warning 218 | if (p = strchr(tcolor_keys, key[0])) | ^ | ( ) cfgfile.c:218:8: note: use '==' to turn this assignment into an equality comparison 218 | if (p = strchr(tcolor_keys, key[0])) | ^ | == 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c options.c options.c:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | while (o = s->opts) { | ~~^~~~~~~~~ options.c:226:11: note: place parentheses around the assignment to silence this warning 226 | while (o = s->opts) { | ^ | ( ) options.c:226:11: note: use '==' to turn this assignment into an equality comparison 226 | while (o = s->opts) { | ^ | == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -D'HISCORE_FILENAME="/var/games/vitetris-hiscores"' -c hiscore.c hiscore.c:14:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 14 | static const char last_chars[8] = "Z!?"; | ^~~~~~~~~~~~ ~~~~ hiscore.c:45:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 45 | for (i = 0; c = name[i]; i++) { | ~~^~~~~~~~~ hiscore.c:45:16: note: place parentheses around the assignment to silence this warning 45 | for (i = 0; c = name[i]; i++) { | ^ | ( ) hiscore.c:45:16: note: use '==' to turn this assignment into an equality comparison 45 | for (i = 0; c = name[i]; i++) { | ^ | == hiscore.c:48:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 48 | else if (p = strchr(last_chars, c)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ hiscore.c:48:14: note: place parentheses around the assignment to silence this warning 48 | else if (p = strchr(last_chars, c)) | ^ | ( ) hiscore.c:48:14: note: use '==' to turn this assignment into an equality comparison 48 | else if (p = strchr(last_chars, c)) | ^ | == hiscore.c:93:19: warning: passing 'unsigned char *' 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] 93 | int len = strlen(line); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ hiscore.c:232:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 232 | if (decodehiscore(line, &hs)) | ^~~~ hiscore.c:181:41: note: passing argument to parameter 'line' here 181 | static int decodehiscore(unsigned char *line, struct hiscore *hs) | ^ hiscore.c:281:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 281 | if (fp = fopen(cfgfilename, "r")) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hiscore.c:281:9: note: place parentheses around the assignment to silence this warning 281 | if (fp = fopen(cfgfilename, "r")) | ^ | ( ) hiscore.c:281:9: note: use '==' to turn this assignment into an equality comparison 281 | if (fp = fopen(cfgfilename, "r")) | ^ | == hiscore.c:284:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 284 | if (fp = fopen(HISCORE_FILENAME, "r")) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hiscore.c:284:9: note: place parentheses around the assignment to silence this warning 284 | if (fp = fopen(HISCORE_FILENAME, "r")) | ^ | ( ) hiscore.c:284:9: note: use '==' to turn this assignment into an equality comparison 284 | if (fp = fopen(HISCORE_FILENAME, "r")) | ^ | == hiscore.c:342:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 342 | const char lat1[5] = ""; | ^~~~~~~~~~~~~~~~ hiscore.c:350:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 350 | if (p = strchr(lat1, *nm)) | ~~^~~~~~~~~~~~~~~~~~~ hiscore.c:350:9: note: place parentheses around the assignment to silence this warning 350 | if (p = strchr(lat1, *nm)) | ^ | ( ) hiscore.c:350:9: note: use '==' to turn this assignment into an equality comparison 350 | if (p = strchr(lat1, *nm)) | ^ | == 9 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c lang.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c timer.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c focus.c /usr/bin/make -Cgame cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c tetris.c tetris.c:74:40: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 74 | if (1<blocks & 1<blocks & 1<= p->y && p->blocks & 1<<4*(i-p->y+y)+x) | ~~~~~~~~~~~~~~^~ tetris.c:648:53: note: place parentheses around the '+' expression to silence this warning 648 | do if (y+i >= p->y && p->blocks & 1<<4*(i-p->y+y)+x) | ^ | ( ) tetris.c:857:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 857 | if (key = getkeypress(tm-d, IN_GAME | SINGLE_PL)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tetris.c:857:11: note: place parentheses around the assignment to silence this warning 857 | if (key = getkeypress(tm-d, IN_GAME | SINGLE_PL)) { | ^ | ( ) tetris.c:857:11: note: use '==' to turn this assignment into an equality comparison 857 | if (key = getkeypress(tm-d, IN_GAME | SINGLE_PL)) { | ^ | == 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DSOCKET=1 -c tetris2p.c tetris2p.c:141:19: warning: passing 'signed char[3]' 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] 141 | getgarbage(plr, tet->garbage); | ^~~~~~~~~~~~ tetris2p.c:114:50: note: passing argument to parameter 'garbg' here 114 | static void getgarbage(struct player *plr, char *garbg) | ^ tetris2p.c:171:8: warning: initializing 'char *' with an expression of type 'signed char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | char *garbg = tetris2p[1].garbage; | ^ ~~~~~~~~~~~~~~~~~~~ tetris2p.c:189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | if (i = isplayer2(p)) { | ~~^~~~~~~~~~~~~~ tetris2p.c:189:9: note: place parentheses around the assignment to silence this warning 189 | if (i = isplayer2(p)) { | ^ | ( ) tetris2p.c:189:9: note: use '==' to turn this assignment into an equality comparison 189 | if (i = isplayer2(p)) { | ^ | == tetris2p.c:531:11: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 531 | !player2.lines)) | ^~~~~~~ ./tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ tetris2p.c:570:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 570 | while (plr = play_round()) { | ~~~~^~~~~~~~~~~~~~ tetris2p.c:570:13: note: place parentheses around the assignment to silence this warning 570 | while (plr = play_round()) { | ^ | ( ) tetris2p.c:570:13: note: use '==' to turn this assignment into an equality comparison 570 | while (plr = play_round()) { | ^ | == tetris2p.c:559:2: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 559 | player2.score = 0; | ^~~~~~~ ./tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DTWOPLAYER=1 -DSOCKET=1 -c game.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c wonlost.c ar rs game.a tetris.o tetris2p.o game.o wonlost.o ar: warning: creating game.a /usr/bin/make -Cmenu cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c menucore.c menucore.c:46:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 46 | if (p = strchr(str, ' ')) { | ~~^~~~~~~~~~~~~~~~~~ menucore.c:46:9: note: place parentheses around the assignment to silence this warning 46 | if (p = strchr(str, ' ')) { | ^ | ( ) menucore.c:46:9: note: use '==' to turn this assignment into an equality comparison 46 | if (p = strchr(str, ' ')) { | ^ | == menucore.c:144:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 144 | if (m = find_firstletter(menu, n, j, keypr)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menucore.c:144:9: note: place parentheses around the assignment to silence this warning 144 | if (m = find_firstletter(menu, n, j, keypr)) | ^ | ( ) menucore.c:144:9: note: use '==' to turn this assignment into an equality comparison 144 | if (m = find_firstletter(menu, n, j, keypr)) | ^ | == 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c dropdown.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DTWOPLAYER=1 -c inputset.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DTWOPLAYER=1 -c inputdev.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DTWOPLAYER=1 -DSOCKET=1 -c gamemenu.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c gm_2p.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c gm_sock.c gm_sock.c:187:10: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 187 | putch(player2.startlevel+'0'); | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../textgfx/textgfx.h:135:26: note: expanded from macro 'putch' 135 | #define putch(ch) put_ch(ch) | ^~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ gm_sock.c:190:10: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 190 | putch(player2.height+'0'); | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../textgfx/textgfx.h:135:26: note: expanded from macro 'putch' 135 | #define putch(ch) put_ch(ch) | ^~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ gm_sock.c:247:4: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 247 | player2.height = 0; | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c hslist.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c gameover.c gameover.c:67:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 67 | const char lat1_chars[5] = ""; | ^~~~~~~~~~~~~~~~ gameover.c:68:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 68 | const char lat1_chars_small[5] = ""; | ^~~~~~~~~~~~~~~~ gameover.c:94:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 94 | else if (p = strchr(lat1_chars_small, k)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gameover.c:94:14: note: place parentheses around the assignment to silence this warning 94 | else if (p = strchr(lat1_chars_small, k)) | ^ | ( ) gameover.c:94:14: note: use '==' to turn this assignment into an equality comparison 94 | else if (p = strchr(lat1_chars_small, k)) | ^ | == gameover.c:230:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 230 | } | ^ 4 warnings generated. ar rs menu.a menucore.o dropdown.o inputset.o inputdev.o gamemenu.o gm_2p.o gm_sock.o hslist.o gameover.o ar: warning: creating menu.a cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c startup.c -DINET=1 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c invit.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c netplay.c netplay.c:20:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | static init_field(char *str, const char *val, int maxlen) | ~~~~~~ ^ | int netplay.c:28:1: warning: non-void function does not return a value [-Wreturn-type] 28 | } | ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DTWOPLAYER=1 -c optsmenu.c optsmenu.c:155:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 155 | while (i = openmenu(menu, n, i, x, y, handlers)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ optsmenu.c:155:11: note: place parentheses around the assignment to silence this warning 155 | while (i = openmenu(menu, n, i, x, y, handlers)) { | ^ | ( ) optsmenu.c:155:11: note: use '==' to turn this assignment into an equality comparison 155 | while (i = openmenu(menu, n, i, x, y, handlers)) { | ^ | == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c blockstyle.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DTWOPLAYER=1 -DINET=1 -DTTY_SOCKET=1 -c men_curses.c rm -f menuext.a ar rcs menuext.a startup.o invit.o netplay.o optsmenu.o blockstyle.o men_curses.o /usr/bin/make -Cnetw cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c socket.c socket.c:210:18: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | (CONN_PROXY | CONNECTED)) { | ~~~~~~~~~~~~~~~~~~~~~~~~ socket.c:210:18: note: place parentheses around the '!=' expression to silence this warning 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != | ^ | ( 211 | (CONN_PROXY | CONNECTED)) { | | ) socket.c:210:18: note: place parentheses around the & expression to evaluate it first 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != | ^ | ( ) 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c comm.c comm.c:37:3: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 37 | player2.lineslimit = player1.lineslimit; | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ comm.c:71:3: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 71 | player2.startlevel = s[0]; | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ comm.c:72:3: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 72 | player2.rotationsys = s[1]; | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ comm.c:187:10: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 187 | memcpy(player2.board, player1.board, 20*sizeof(uint_least32_t)); | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ comm.c:189:25: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 189 | memcpy(player1.board, player2.board, 20*sizeof(uint_least32_t)); | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ comm.c:236:3: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 236 | player2.board[--i] = row; | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ comm.c:332:12: warning: passing 'signed char *' 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] 332 | readbytes(&p->piece.x, 2); | ^~~~~~~~~~~ ./sock.h:98:21: note: passing argument to parameter 'buf' here 98 | int readbytes(char *buf, int n); | ^ comm.c:394:17: warning: passing 'signed char *' 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] 394 | if (!readbytes(&b, 1)) | ^~ ./sock.h:98:21: note: passing argument to parameter 'buf' here 98 | int readbytes(char *buf, int n); | ^ comm.c:416:17: warning: passing 'signed char *' 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] 416 | if (readbytes(&b, 1)) { | ^~ ./sock.h:98:21: note: passing argument to parameter 'buf' here 98 | int readbytes(char *buf, int n); | ^ comm.c:433:17: warning: passing 'signed char *' 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] 433 | if (readbytes(&b, 1) && b > 0 && recvgarbage_num(b)) | ^~ ./sock.h:98:21: note: passing argument to parameter 'buf' here 98 | int readbytes(char *buf, int n); | ^ comm.c:437:17: warning: passing 'signed char *' 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] 437 | if (readbytes(&b, 1)) { | ^~ ./sock.h:98:21: note: passing argument to parameter 'buf' here 98 | int readbytes(char *buf, int n); | ^ comm.c:474:17: warning: passing 'signed char *' 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] 474 | if (readbytes(&b, 1) && b >'0' && b <= '3') { | ^~ ./sock.h:98:21: note: passing argument to parameter 'buf' here 98 | int readbytes(char *buf, int n); | ^ comm.c:439:5: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 439 | player2.height = b-'0'; | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ comm.c:460:3: warning: array index 1 is past the end of the array (that has type 'struct player[1]') [-Warray-bounds] 460 | player2.lineslimit = player1.lineslimit; | ^~~~~~~ ./../game/tetris.h:101:18: note: expanded from macro 'player2' 101 | #define player2 game->player[1] | ^ ~ ./../game/tetris.h:84:2: note: array 'player' declared here 84 | GAME_members(1); | ^ ./../game/tetris.h:81:2: note: expanded from macro 'GAME_members' 81 | struct player player[n] \ | ^ 14 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c inet.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c tty_socket.c tty_socket.c:69:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 69 | if (pw = getpwuid(st.st_uid)) { | ~~~^~~~~~~~~~~~~~~~~~~~~ tty_socket.c:69:9: note: place parentheses around the assignment to silence this warning 69 | if (pw = getpwuid(st.st_uid)) { | ^ | ( ) tty_socket.c:69:9: note: use '==' to turn this assignment into an equality comparison 69 | if (pw = getpwuid(st.st_uid)) { | ^ | == tty_socket.c:254:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 254 | if (msg = mksocket_local(tty, 1)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ tty_socket.c:254:10: note: place parentheses around the assignment to silence this warning 254 | if (msg = mksocket_local(tty, 1)) { | ^ | ( ) tty_socket.c:254:10: note: use '==' to turn this assignment into an equality comparison 254 | if (msg = mksocket_local(tty, 1)) { | ^ | == 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c comm_inet.c ar dc netw.a no_inet.o ar: error: unable to load 'netw.a': No such file or directory *** Error code 1 (ignored) ar rs netw.a socket.o comm.o inet.o tty_socket.o comm_inet.o ar: warning: creating netw.a /usr/bin/make -Cinput cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DTWOPLAYER=1 -DSOCKET=1 -DTTY_SOCKET=1 -DTERM_RESIZING=1 -c input.c input.c:182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 182 | if (c = getkeypress_select(100, SINGLE_PL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:182:9: note: place parentheses around the assignment to silence this warning 182 | if (c = getkeypress_select(100, SINGLE_PL)) | ^ | ( ) input.c:182:9: note: use '==' to turn this assignment into an equality comparison 182 | if (c = getkeypress_select(100, SINGLE_PL)) | ^ | == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DTWOPLAYER=1 -DCURSES=1 -c keyboard.c keyboard.c:39:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 39 | if (i = transl_chr(c, k | PLAYER_1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:39:9: note: place parentheses around the assignment to silence this warning 39 | if (i = transl_chr(c, k | PLAYER_1)) | ^ | ( ) keyboard.c:39:9: note: use '==' to turn this assignment into an equality comparison 39 | if (i = transl_chr(c, k | PLAYER_1)) | ^ | == keyboard.c:41:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 41 | if (i = transl_chr(c, k | PLAYER_2)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:41:9: note: place parentheses around the assignment to silence this warning 41 | if (i = transl_chr(c, k | PLAYER_2)) | ^ | ( ) keyboard.c:41:9: note: use '==' to turn this assignment into an equality comparison 41 | if (i = transl_chr(c, k | PLAYER_2)) | ^ | == keyboard.c:81:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 81 | if (c = transl_input(s, flags)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:81:8: note: place parentheses around the assignment to silence this warning 81 | if (c = transl_input(s, flags)) | ^ | ( ) keyboard.c:81:8: note: use '==' to turn this assignment into an equality comparison 81 | if (c = transl_input(s, flags)) | ^ | == keyboard.c:155:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 155 | if (old = transl_strict(input, flags)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:155:10: note: place parentheses around the assignment to silence this warning 155 | if (old = transl_strict(input, flags)) | ^ | ( ) keyboard.c:155:10: note: use '==' to turn this assignment into an equality comparison 155 | if (old = transl_strict(input, flags)) | ^ | == keyboard.c:158:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 158 | if (old = transl_strict(input, flags)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:158:10: note: place parentheses around the assignment to silence this warning 158 | if (old = transl_strict(input, flags)) | ^ | ( ) keyboard.c:158:10: note: use '==' to turn this assignment into an equality comparison 158 | if (old = transl_strict(input, flags)) | ^ | == 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c joystick.c joystick.c:51:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 51 | if (p = getbtn(b, btns, 5)) | ~~^~~~~~~~~~~~~~~~~~~~ joystick.c:51:9: note: place parentheses around the assignment to silence this warning 51 | if (p = getbtn(b, btns, 5)) | ^ | ( ) joystick.c:51:9: note: use '==' to turn this assignment into an equality comparison 51 | if (p = getbtn(b, btns, 5)) | ^ | == joystick.c:55:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 55 | if (p = getbtn(b, btns, 7)) | ~~^~~~~~~~~~~~~~~~~~~~ joystick.c:55:8: note: place parentheses around the assignment to silence this warning 55 | if (p = getbtn(b, btns, 7)) | ^ | ( ) joystick.c:55:8: note: use '==' to turn this assignment into an equality comparison 55 | if (p = getbtn(b, btns, 7)) | ^ | == 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c playerin.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c inp_curses.c inp_curses.c:108:10: warning: passing 'unsigned char *' 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] 108 | sprintf(key, "%X", c); | ^~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ inp_curses.c:109:9: warning: returning 'unsigned char *' from a function with result 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] 109 | return key; | ^~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c select.c rm -f input.a ar rcs input.a input.o keyboard.o joystick.o playerin.o inp_curses.o select.o /usr/bin/make -Cdraw cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DTWOPLAYER=1 -DSOCKET=1 -c draw.c draw.c:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 63 | while (p = strchr(str, '\\')) { | ~~^~~~~~~~~~~~~~~~~~~ draw.c:63:11: note: place parentheses around the assignment to silence this warning 63 | while (p = strchr(str, '\\')) { | ^ | ( ) draw.c:63:11: note: use '==' to turn this assignment into an equality comparison 63 | while (p = strchr(str, '\\')) { | ^ | == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c draw_menu.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c draw2p.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c draw2p_menu.c ar rs draw.a draw.o draw_menu.o draw2p.o draw2p_menu.o ar: warning: creating draw.a /usr/bin/make -Ctextgfx cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c block.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DTWOPLAYER=1 -c win.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c print.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ibmgfx.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c curses.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DTWOPLAYER=1 -c curses_win.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -c term.c term.c:53:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 53 | if (s = getenv("COLUMNS")) | ~~^~~~~~~~~~~~~~~~~~~ term.c:53:8: note: place parentheses around the assignment to silence this warning 53 | if (s = getenv("COLUMNS")) | ^ | ( ) term.c:53:8: note: use '==' to turn this assignment into an equality comparison 53 | if (s = getenv("COLUMNS")) | ^ | == term.c:55:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 55 | if (s = getenv("LINES")) | ~~^~~~~~~~~~~~~~~~~ term.c:55:8: note: place parentheses around the assignment to silence this warning 55 | if (s = getenv("LINES")) | ^ | ( ) term.c:55:8: note: use '==' to turn this assignment into an equality comparison 55 | if (s = getenv("LINES")) | ^ | == 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I.. -DTWOPLAYER=1 -DCURSES=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.c rm -f textgfx.a ar rcs textgfx.a block.o win.o print.o ibmgfx.o curses.o curses_win.o term.o resize.o mv -f game/game.a . mv -f menu/*.a . mv -f netw/netw.a . mv -f input/input.a . mv -f draw/draw.a . mv -f textgfx/textgfx.a . cc -o tetris main.o cmdline.o cfgfile.o options.o hiscore.o lang.o timer.o focus.o game.a menuext.a menu.a netw.a input.a draw.a textgfx.a -lncurses mv -f src/tetris tetris stripping symbols to reduce program size: strip --strip-all tetris Done. Now run ./tetris (or make install) =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for vitetris-0.59.1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/vitetris/work/vitetris-0.59.1/tetris /wrkdirs/usr/ports/games/vitetris/work/stage/usr/local/bin/vitetris install -m 0644 /wrkdirs/usr/ports/games/vitetris/work/vitetris-0.59.1/vitetris.xpm /wrkdirs/usr/ports/games/vitetris/work/stage/usr/local/share/pixmaps install -m 0644 /wrkdirs/usr/ports/games/vitetris/work/vitetris-0.59.1/vitetris.desktop /wrkdirs/usr/ports/games/vitetris/work/stage/usr/local/share/applications /usr/bin/touch /wrkdirs/usr/ports/games/vitetris/work/stage/var/games/vitetris-hiscores.sample install -m 0644 /wrkdirs/usr/ports/games/vitetris/work/vitetris-0.59.1/README /wrkdirs/usr/ports/games/vitetris/work/vitetris-0.59.1/changes.txt /wrkdirs/usr/ports/games/vitetris/work/stage/usr/local/share/doc/vitetris ====> 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-21T16:44:30+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for vitetris-0.59.1 ===> Building vitetris-0.59.1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for vitetris-0.59.1 build of games/vitetris | vitetris-0.59.1 ended at Sat Feb 21 11:45:29 EST 2026 build time: 00:01:02