=>> Building games/xmines build started at Sat Apr 6 21:17:51 BST 2024 port directory: /usr/ports/games/xmines package name: xmines-1.0_3 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 438 Mar 8 2023 /usr/ports/games/xmines/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: 16 ---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/16/.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--- ===> The following configuration options are available for xmines-1.0_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/xmines/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xmines/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xmines/work/.cache HOME=/wrkdirs/usr/ports/games/xmines/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/xmines/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xmines/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/xmines/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xmines/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xmines/work/.cache HOME=/wrkdirs/usr/ports/games/xmines/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/xmines/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xmines/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=return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=return-type -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-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xmines" EXAMPLESDIR="share/examples/xmines" DATADIR="share/xmines" WWWDIR="www/xmines" ETCDIR="etc/xmines" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xmines DOCSDIR=/usr/local/share/doc/xmines EXAMPLESDIR=/usr/local/share/examples/xmines WWWDIR=/usr/local/www/xmines ETCDIR=/usr/local/etc/xmines --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 xmines 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 ===> xmines-1.0_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> xmines-1.0_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xmines-1.0_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmines 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 xmines-1.0_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmines 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 xmines-1.0_3 for building => SHA256 Checksum OK for xmines.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 xmines 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 xmines-1.0_3 for building ===> Extracting for xmines-1.0_3 => SHA256 Checksum OK for xmines.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 xmines-1.0_3 ===> Applying FreeBSD patches for xmines-1.0_3 from /usr/ports/games/xmines/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.7_1,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.7_1,1: .......... done ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xmines-1.0_3 ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - not found ===> Installing existing package /packages/All/libXt-1.3.0,1.pkg [pkg-builder.dan.net.uk] Installing libXt-1.3.0,1... [pkg-builder.dan.net.uk] `-- Installing libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libSM-1.2.3_1,1... [pkg-builder.dan.net.uk] `-- Extracting libSM-1.2.3_1,1: ........ done [pkg-builder.dan.net.uk] Extracting libXt-1.3.0,1: .......... done ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of xmines-1.0_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xmines-1.0_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xmines-1.0_3 cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DSCOREfILE=\"/var/games/scores\" -I /usr/local/include -c xmines.c xmines.c:42:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delay(time) ^ xmines.c:53:5: warning: implicit declaration of function 'pause' is invalid in C99 [-Wimplicit-function-declaration] pause(); ^ xmines.c:59:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:62:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setdoneflag(i) ^ xmines.c:65:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:68:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setup_signals() ^ xmines.c:78:49: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] fcntl(ConnectionNumber(display), F_SETOWN, getpid()); ^ xmines.c:79:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ xmines.c:85:5: warning: implicit declaration of function 'openScores' is invalid in C99 [-Wimplicit-function-declaration] openScores(); ^ xmines.c:87:5: warning: implicit declaration of function 'parseOptions' is invalid in C99 [-Wimplicit-function-declaration] parseOptions(argc,argv); ^ xmines.c:91:5: warning: implicit declaration of function 'XStuff' is invalid in C99 [-Wimplicit-function-declaration] XStuff(argc,argv); ^ xmines.c:93:5: warning: implicit declaration of function 'srandom' is invalid in C99 [-Wimplicit-function-declaration] srandom(getpid()); ^ xmines.c:93:13: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] srandom(getpid()); ^ xmines.c:101:9: warning: implicit declaration of function 'newscreen' is invalid in C99 [-Wimplicit-function-declaration] newscreen(); ^ xmines.c:102:9: warning: implicit declaration of function 'draw_screen' is invalid in C99 [-Wimplicit-function-declaration] draw_screen(); ^ xmines.c:107:6: warning: implicit declaration of function 'CheckforEvent' is invalid in C99 [-Wimplicit-function-declaration] CheckforEvent(); ^ xmines.c:111:3: warning: implicit declaration of function 'show_score' is invalid in C99 [-Wimplicit-function-declaration] show_score(0); ^ xmines.c:117:13: warning: implicit declaration of function 'newScore' is invalid in C99 [-Wimplicit-function-declaration] newScore(getscore()); ^ xmines.c:117:22: warning: implicit declaration of function 'getscore' is invalid in C99 [-Wimplicit-function-declaration] newScore(getscore()); ^ xmines.c:121:13: warning: implicit declaration of function 'showallmines' is invalid in C99 [-Wimplicit-function-declaration] showallmines(); ^ xmines.c:123:9: warning: implicit declaration of function 'show_high_scores' is invalid in C99 [-Wimplicit-function-declaration] show_high_scores(0); ^ xmines.c:127:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getscore() ^ xmines.c:142:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getminesleft() ^ xmines.c:148:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cntmines(x,y) ^ xmines.c:155:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Number(x,y) ^ xmines.c:160:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MissmarkCell(x,y) ^ xmines.c:163:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MarkCell(x,y) ^ xmines.c:180:5: warning: implicit declaration of function 'DrawCell' is invalid in C99 [-Wimplicit-function-declaration] DrawCell(x,y); ^ xmines.c:181:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:183:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] BoomCell(x,y) ^ xmines.c:186:5: warning: implicit declaration of function 'DrawCell' is invalid in C99 [-Wimplicit-function-declaration] DrawCell(x,y); ^ xmines.c:187:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:189:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UncoverCell(x,y) ^ xmines.c:193:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] WriteCell(x,y,val) ^ xmines.c:198:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:200:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ReadCell(x,y) ^ xmines.c:205:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] newscreen() ^ xmines.c:221:17: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] x = random() % width; ^ xmines.c:236:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:238:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showallmines() ^ xmines.c:251:21: warning: implicit declaration of function 'DrawCell' is invalid in C99 [-Wimplicit-function-declaration] DrawCell(x,y); ^ xmines.c:256:21: warning: implicit declaration of function 'DrawCell' is invalid in C99 [-Wimplicit-function-declaration] DrawCell(x,y); ^ xmines.c:261:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:264:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Highlight(x,y) ^ xmines.c:268:9: warning: implicit declaration of function 'DrawHighlight' is invalid in C99 [-Wimplicit-function-declaration] DrawHighlight(x,y); ^ xmines.c:270:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:272:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unHighlight(x,y) ^ xmines.c:276:9: warning: implicit declaration of function 'DrawCell' is invalid in C99 [-Wimplicit-function-declaration] DrawCell(x,y); ^ xmines.c:278:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xmines.c:289:13: warning: implicit declaration of function 'DrawCell' is invalid in C99 [-Wimplicit-function-declaration] DrawCell(x,y); ^ xmines.c:296:13: warning: implicit declaration of function 'DrawCell' is invalid in C99 [-Wimplicit-function-declaration] DrawCell(x,y); ^ xmines.c:324:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unhighlightInvisible(x,y) ^ xmines.c:329:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 56 warnings generated. cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DSCOREfILE=\"/var/games/scores\" -I /usr/local/include -c X11.c X11.c:95:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] paws() ^ X11.c:100:17: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] start_time += (time(0) - pause_start); ^ X11.c:103:16: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] pause_start = time(0); ^ X11.c:106:5: warning: implicit declaration of function 'draw_screen' is invalid in C99 [-Wimplicit-function-declaration] draw_screen(); ^ X11.c:107:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:109:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] quit() ^ X11.c:111:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ X11.c:111:5: note: include the header or explicitly provide a declaration for 'exit' X11.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] parseOptions(argc,argv) ^ X11.c:145:9: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(DisplayName,value.addr,(int) value.size); ^ X11.c:145:9: note: include the header or explicitly provide a declaration for 'strncpy' X11.c:150:5: warning: implicitly declaring library function 'strncat' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); ^ X11.c:150:5: note: include the header or explicitly provide a declaration for 'strncat' X11.c:150:55: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); ^ X11.c:150:55: note: include the header or explicitly provide a declaration for 'strlen' X11.c:150:36: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X11.c:150:36: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(filename) - strlen(filename) - 1 X11.c:161:18: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] volume = atoi(buffer); ^ X11.c:181:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:190:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XStuff(argc,argv) ^ X11.c:247:5: warning: implicit declaration of function 'CreatePixmaps' is invalid in C99 [-Wimplicit-function-declaration] CreatePixmaps(); ^ X11.c:257:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ X11.c:259:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreatePixmaps() ^ X11.c:319:9: warning: implicit declaration of function 'CreateMarked' is invalid in C99 [-Wimplicit-function-declaration] CreateMarked(); ^ X11.c:334:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:346:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateMarked() ^ X11.c:371:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:389:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CheckforEvent() ^ X11.c:393:4: warning: implicit declaration of function 'getXevent' is invalid in C99 [-Wimplicit-function-declaration] getXevent(); ^ X11.c:395:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:397:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getXevent() ^ X11.c:412:21: warning: implicit declaration of function 'draw_screen' is invalid in C99 [-Wimplicit-function-declaration] draw_screen(); ^ X11.c:417:17: warning: implicit declaration of function 'print_scores' is invalid in C99 [-Wimplicit-function-declaration] print_scores(); ^ X11.c:424:17: warning: implicit declaration of function 'keyboard' is invalid in C99 [-Wimplicit-function-declaration] keyboard(text[0]); ^ X11.c:441:25: warning: implicit declaration of function 'unHighlight' is invalid in C99 [-Wimplicit-function-declaration] unHighlight(x,y); ^ X11.c:442:25: warning: implicit declaration of function 'Highlight' is invalid in C99 [-Wimplicit-function-declaration] Highlight(newx,newy); ^ X11.c:446:25: warning: implicit declaration of function 'unhighlightInvisible' is invalid in C99 [-Wimplicit-function-declaration] unhighlightInvisible(x,y); ^ X11.c:447:25: warning: implicit declaration of function 'highlightInvisible' is invalid in C99 [-Wimplicit-function-declaration] highlightInvisible(newx,newy); ^ X11.c:463:29: warning: implicit declaration of function 'ohno' is invalid in C99 [-Wimplicit-function-declaration] ohno(); ^ X11.c:464:29: warning: implicit declaration of function 'Highlight' is invalid in C99 [-Wimplicit-function-declaration] Highlight(x,y); ^ X11.c:468:29: warning: implicit declaration of function 'highlightInvisible' is invalid in C99 [-Wimplicit-function-declaration] highlightInvisible(x,y); ^ X11.c:489:29: warning: implicit declaration of function 'Show' is invalid in C99 [-Wimplicit-function-declaration] Show(x,y); ^ X11.c:492:29: warning: implicit declaration of function 'fillNumbers' is invalid in C99 [-Wimplicit-function-declaration] fillNumbers(x,y); ^ X11.c:495:29: warning: implicit declaration of function 'MarkCell' is invalid in C99 [-Wimplicit-function-declaration] MarkCell(x,y); ^ X11.c:501:17: warning: implicit declaration of function 'smiley' is invalid in C99 [-Wimplicit-function-declaration] smiley(); ^ X11.c:511:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:513:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DrawButton(button) ^ X11.c:528:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:530:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] checkbuttons(mx,my) ^ X11.c:542:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:544:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] show_high_scores(blank) ^ X11.c:549:5: warning: implicit declaration of function 'readScores' is invalid in C99 [-Wimplicit-function-declaration] readScores(); ^ X11.c:555:5: warning: implicit declaration of function 'draw_screen' is invalid in C99 [-Wimplicit-function-declaration] draw_screen(); ^ X11.c:587:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:589:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_screen() ^ X11.c:599:5: warning: implicit declaration of function 'show_score' is invalid in C99 [-Wimplicit-function-declaration] show_score(1); ^ X11.c:600:5: warning: implicit declaration of function 'smiley' is invalid in C99 [-Wimplicit-function-declaration] smiley(); ^ X11.c:601:5: warning: implicit declaration of function 'DrawShadow' is invalid in C99 [-Wimplicit-function-declaration] DrawShadow(0,0,hint.width-1,hint.height-1,3); ^ X11.c:617:9: warning: implicit declaration of function 'redraw_array' is invalid in C99 [-Wimplicit-function-declaration] redraw_array(); ^ X11.c:619:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:621:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DrawShadow(x1,y1,x2,y2,dir) ^ X11.c:650:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:652:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keyboard(c) ^ X11.c:666:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:668:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redraw_array() ^ X11.c:677:13: warning: implicit declaration of function 'DrawCell' is invalid in C99 [-Wimplicit-function-declaration] DrawCell(j,i); ^ X11.c:680:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:682:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DrawCell(x,y) ^ X11.c:688:15: warning: implicit declaration of function 'ReadCell' is invalid in C99 [-Wimplicit-function-declaration] val = ReadCell(x,y); ^ X11.c:694:13: warning: implicit declaration of function 'XDrawCell' is invalid in C99 [-Wimplicit-function-declaration] XDrawCell(x,y,patpix[val]); ^ X11.c:698:13: warning: implicit declaration of function 'XDrawCell' is invalid in C99 [-Wimplicit-function-declaration] XDrawCell(x,y,missmarkpix); ^ X11.c:702:13: warning: implicit declaration of function 'XDrawCell' is invalid in C99 [-Wimplicit-function-declaration] XDrawCell(x,y,boompix); ^ X11.c:706:13: warning: implicit declaration of function 'XDrawCell' is invalid in C99 [-Wimplicit-function-declaration] XDrawCell(x,y,markpix); ^ X11.c:710:13: warning: implicit declaration of function 'XDrawCell' is invalid in C99 [-Wimplicit-function-declaration] XDrawCell(x,y,coveredpix); ^ X11.c:714:13: warning: implicit declaration of function 'XDrawCell' is invalid in C99 [-Wimplicit-function-declaration] XDrawCell(x,y,minepix); ^ X11.c:717:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:719:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ohno() ^ X11.c:723:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:725:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] smiley() ^ X11.c:729:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:731:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DrawHighlight(x,y) ^ X11.c:738:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:740:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XDrawCell(x,y,pixmap) ^ X11.c:746:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:748:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] show_score(force) ^ X11.c:756:14: warning: implicit declaration of function 'getminesleft' is invalid in C99 [-Wimplicit-function-declaration] nmines = getminesleft(); ^ X11.c:757:14: warning: implicit declaration of function 'getscore' is invalid in C99 [-Wimplicit-function-declaration] nscore = getscore(); ^ X11.c:769:1: warning: non-void function does not return a value [-Wreturn-type] } ^ X11.c:771:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] WriteScore(i,s) ^ X11.c:779:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 85 warnings generated. cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DSCOREfILE=\"/var/games/scores\" -I /usr/local/include -c score.c score.c:23:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] openScores() ^ score.c:29:1: warning: non-void function does not return a value [-Wreturn-type] } ^ score.c:31:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] readScores() ^ score.c:35:28: warning: non-void function 'readScores' should return a value [-Wreturn-type] if (scoreFile == NULL) return; ^ score.c:42:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ score.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printScores() ^ score.c:52:1: warning: non-void function does not return a value [-Wreturn-type] } ^ score.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeScores() ^ score.c:58:28: warning: non-void function 'writeScores' should return a value [-Wreturn-type] if (scoreFile == NULL) return; ^ score.c:64:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ score.c:66:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] newScore(score) ^ score.c:79:22: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] name = getpwuid (getuid ()) -> pw_name; ^ score.c:81:6: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncmp (scores[i].name, name, NAMEsIZE) == 0) { ^ score.c:81:6: note: include the header or explicitly provide a declaration for 'strncmp' score.c:95:6: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy (scores[i].name, scores[i - 1].name, NAMEsIZE - 1); ^ score.c:95:6: note: include the header or explicitly provide a declaration for 'strncpy' score.c:104:1: warning: non-void function does not return a value [-Wreturn-type] } ^ score.c:106:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_scores() ^ score.c:114:9: warning: implicit declaration of function 'WriteScore' is invalid in C99 [-Wimplicit-function-declaration] WriteScore(i,s); ^ score.c:116:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 18 warnings generated. cc -L /usr/local/lib -o xmines xmines.o score.o X11.o -lX11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xmines-1.0_3 ===> Generating temporary packing list mkdir -p /wrkdirs/usr/ports/games/xmines/work/stage/var/games install -m 0644 scores/scores /wrkdirs/usr/ports/games/xmines/work/stage/var/games/xmines-scores.sample install -s -m 555 xmines /wrkdirs/usr/ports/games/xmines/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/xmines/work/xmines/README /wrkdirs/usr/ports/games/xmines/work/stage/usr/local/share/doc/xmines ====> 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-06T20:17:51+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 xmines-1.0_3 ===> Building xmines-1.0_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xmines-1.0_3 build of games/xmines | xmines-1.0_3 ended at Sat Apr 6 21:18:01 BST 2024 build time: 00:00:11