=>> Building games/spider build started at Sat Apr 6 02:45:36 BST 2024 port directory: /usr/ports/games/spider package name: spider-1.1_5 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: bofh@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 799 Mar 7 22:02 /usr/ports/games/spider/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 6fd3b33787 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 15 ---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/15/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/games/spider/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spider/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/spider/work/.cache HOME=/wrkdirs/usr/ports/games/spider/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/spider/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/spider/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-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/games/spider/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spider/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/spider/work/.cache HOME=/wrkdirs/usr/ports/games/spider/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/spider/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/spider/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-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/spider" EXAMPLESDIR="share/examples/spider" DATADIR="share/spider" WWWDIR="www/spider" ETCDIR="etc/spider" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/spider DOCSDIR=/usr/local/share/doc/spider EXAMPLESDIR=/usr/local/share/examples/spider WWWDIR=/usr/local/www/spider ETCDIR=/usr/local/etc/spider --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: This port is deprecated; you may wish to reconsider installing it: SUNSITE is no longer maintained. It is scheduled to be removed on or after 2024-04-05. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spider-1.1_5 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 ===> spider-1.1_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spider-1.1_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: SUNSITE is no longer maintained. It is scheduled to be removed on or after 2024-04-05. ===> Fetching all distfiles required by spider-1.1_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: SUNSITE is no longer maintained. It is scheduled to be removed on or after 2024-04-05. ===> Fetching all distfiles required by spider-1.1_5 for building => SHA256 Checksum OK for spider.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: SUNSITE is no longer maintained. It is scheduled to be removed on or after 2024-04-05. ===> Fetching all distfiles required by spider-1.1_5 for building ===> Extracting for spider-1.1_5 => SHA256 Checksum OK for spider.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for spider-1.1_5 ===> Applying FreeBSD patches for spider-1.1_5 from /usr/ports/games/spider/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spider-1.1_5 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg-builder.dan.net.uk] Installing imake-1.0.10_1,1... [pkg-builder.dan.net.uk] `-- Installing gccmakedep-1.0.4... [pkg-builder.dan.net.uk] `-- Extracting gccmakedep-1.0.4: .. done [pkg-builder.dan.net.uk] `-- Installing makedepend-1.0.9,1... [pkg-builder.dan.net.uk] `-- Extracting makedepend-1.0.9,1: .. done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing xorg-cf-files-1.0.8_1... [pkg-builder.dan.net.uk] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg-builder.dan.net.uk] Extracting imake-1.0.10_1,1: .......... done ===> spider-1.1_5 depends on executable: imake - found ===> Returning to build of spider-1.1_5 ===> spider-1.1_5 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg-builder.dan.net.uk] Installing tradcpp-0.5.3... [pkg-builder.dan.net.uk] Extracting tradcpp-0.5.3: .. done ===> spider-1.1_5 depends on executable: tradcpp - found ===> Returning to build of spider-1.1_5 ===> spider-1.1_5 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 ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of spider-1.1_5 ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg-builder.dan.net.uk] Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] Extracting libXext-1.3.6,1: .......... done ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of spider-1.1_5 ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.14_1,2.pkg [pkg-builder.dan.net.uk] Installing libXaw-1.0.14_1,2... [pkg-builder.dan.net.uk] `-- Installing libXmu-1.1.4,1... [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 [pkg-builder.dan.net.uk] `-- Extracting libXmu-1.1.4,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXpm-3.5.17_1... [pkg-builder.dan.net.uk] | `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] | `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting libXpm-3.5.17_1: .......... done [pkg-builder.dan.net.uk] Extracting libXaw-1.0.14_1,2: .......... done ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of spider-1.1_5 ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for spider-1.1_5 imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -- gfx.c spider.c events.c windows.c movelog.c util.c version.c xaw_ui.c xaw_stubs.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for spider-1.1_5 cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c gfx.c -o gfx.o In file included from gfx.c:16: ./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else DEBUG ^ // ./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEBUG ^ // In file included from gfx.c:17: ./globals.h:100:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // gfx.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gfx_init(d, scr) ^ gfx.c:169:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // gfx.c:251:2: warning: implicit declaration of function 'make_card_maps' is invalid in C99 [-Wimplicit-function-declaration] make_card_maps(); ^ gfx.c:252:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:292:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] make_card_maps() ^ gfx.c:305:3: warning: implicit declaration of function 'rot_180' is invalid in C99 [-Wimplicit-function-declaration] rot_180((unsigned char *)rank_bits[(int)r], new_bits, ^ gfx.c:309:4: 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] new_bits, rank_width, rank_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:316:3: warning: implicit declaration of function 'rot_180' is invalid in C99 [-Wimplicit-function-declaration] rot_180((unsigned char *)rank_bits[(int)r], new_bits, ^ gfx.c:325:5: 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] new_bits, rank_width, rank_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:343:2: warning: implicit declaration of function 'flip_bits' is invalid in C99 [-Wimplicit-function-declaration] flip_bits((unsigned char *)spade_bits, new_bits, spade_width, ^ gfx.c:346:3: 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] new_bits, spade_width, spade_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:356:3: 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] new_bits, spade_sm_width, spade_sm_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:383:4: 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] new_bits, heart_width, heart_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:397:3: 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] new_bits, heart_sm_width, heart_sm_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:405:4: 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] new_bits, heart_sm_width, heart_sm_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:452:4: 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] new_bits, diamond_width, diamond_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:466:3: 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] new_bits, diamond_sm_width, diamond_sm_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:474:4: 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] new_bits, diamond_sm_width, diamond_sm_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:518:3: 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] new_bits, club_width, club_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:528:3: 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] new_bits, club_sm_width, club_sm_height); ^~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gfx.c:542:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:569:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redraw_deck(x, y, w, h) ^ gfx.c:577:3: warning: non-void function 'redraw_deck' should return a value [-Wreturn-type] return; ^ gfx.c:595:4: warning: implicit declaration of function 'show_card' is invalid in C99 [-Wimplicit-function-declaration] show_card(tmp); ^ gfx.c:599:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ gfx.c:602:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redraw_card_piles(x, y, w, h) ^ gfx.c:610:3: warning: non-void function 'redraw_card_piles' should return a value [-Wreturn-type] return; ^ gfx.c:616:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = piles[i]->cards) { ~~~~^~~~~~~~~~~~~~~~~ gfx.c:616:12: note: place parentheses around the assignment to silence this warning if (tmp = piles[i]->cards) { ^ ( ) gfx.c:616:12: note: use '==' to turn this assignment into an equality comparison if (tmp = piles[i]->cards) { ^ == gfx.c:622:6: warning: implicit declaration of function 'show_card' is invalid in C99 [-Wimplicit-function-declaration] show_card(tmp); ^ gfx.c:641:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ gfx.c:644:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redraw_card_stacks(x, y, w, h) ^ gfx.c:652:3: warning: non-void function 'redraw_card_stacks' should return a value [-Wreturn-type] return; ^ gfx.c:658:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = stack[i]->cards) { ~~~~^~~~~~~~~~~~~~~~~ gfx.c:658:12: note: place parentheses around the assignment to silence this warning if (tmp = stack[i]->cards) { ^ ( ) gfx.c:658:12: note: use '==' to turn this assignment into an equality comparison if (tmp = stack[i]->cards) { ^ == gfx.c:682:8: warning: implicit declaration of function 'show_card' is invalid in C99 [-Wimplicit-function-declaration] show_card(tmp); ^ gfx.c:691:8: warning: implicit declaration of function 'show_card' is invalid in C99 [-Wimplicit-function-declaration] show_card(tmp); ^ gfx.c:713:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ gfx.c:718:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] show_list(list, card) ^ gfx.c:758:3: warning: implicit declaration of function 'show_card' is invalid in C99 [-Wimplicit-function-declaration] show_card(tmp); ^ gfx.c:761:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:766:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] show_card(card) ^ gfx.c:775:3: warning: implicit declaration of function 'paint_card' is invalid in C99 [-Wimplicit-function-declaration] paint_card(card->x, card->y, card->rank, card->suit, delta); ^ gfx.c:780:4: warning: implicit declaration of function 'paint_cardback' is invalid in C99 [-Wimplicit-function-declaration] paint_cardback(card->x, card->y, CARD_HEIGHT); ^ gfx.c:783:4: warning: implicit declaration of function 'paint_cardback' is invalid in C99 [-Wimplicit-function-declaration] paint_cardback(card->x, card->y, ^ gfx.c:787:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:789:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] paint_cardback(x, y, delta) ^ gfx.c:823:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:829:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] paint_card(x, y, rank, suit, delta) ^ gfx.c:901:3: warning: implicit declaration of function 'draw_king' is invalid in C99 [-Wimplicit-function-declaration] draw_king(suit, x, y); ^ gfx.c:904:3: warning: implicit declaration of function 'draw_queen' is invalid in C99 [-Wimplicit-function-declaration] draw_queen(suit, x, y); ^ gfx.c:907:3: warning: implicit declaration of function 'draw_jack' is invalid in C99 [-Wimplicit-function-declaration] draw_jack(suit, x, y); ^ gfx.c:911:3: warning: implicit declaration of function 'draw_pip' is invalid in C99 [-Wimplicit-function-declaration] draw_pip(suit, MID_CARD_X + x, CARD_TEN_Y1 + y); ^ gfx.c:912:3: warning: implicit declaration of function 'draw_did' is invalid in C99 [-Wimplicit-function-declaration] draw_did(suit, MID_CARD_X + x, CARD_TEN_Y2 + y); ^ gfx.c:913:3: warning: implicit declaration of function 'draw_eight_pips' is invalid in C99 [-Wimplicit-function-declaration] draw_eight_pips(suit, x, y); ^ gfx.c:928:3: warning: implicit declaration of function 'draw_six_pips' is invalid in C99 [-Wimplicit-function-declaration] draw_six_pips(suit, x, y); ^ gfx.c:935:3: warning: implicit declaration of function 'draw_four_pips' is invalid in C99 [-Wimplicit-function-declaration] draw_four_pips(suit, x, y); ^ gfx.c:942:3: warning: implicit declaration of function 'draw_two_pips' is invalid in C99 [-Wimplicit-function-declaration] draw_two_pips(suit, x, y); ^ gfx.c:945:3: warning: implicit declaration of function 'draw_center_pip' is invalid in C99 [-Wimplicit-function-declaration] draw_center_pip(suit, x + MID_CARD_X, y + MID_CARD_Y); ^ gfx.c:951:2: warning: implicit declaration of function 'draw_rank' is invalid in C99 [-Wimplicit-function-declaration] draw_rank(x, y, rank, suit); ^ gfx.c:962:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:975:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_pip(suit, x, y) ^ gfx.c:1007:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:1014:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_did(suit, x, y) ^ gfx.c:1021:3: warning: non-void function 'draw_did' should return a value [-Wreturn-type] return; ^ gfx.c:1049:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ gfx.c:1054:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_center_pip(suit, x, y) ^ gfx.c:1061:3: warning: non-void function 'draw_center_pip' should return a value [-Wreturn-type] return; ^ gfx.c:1086:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ gfx.c:1091:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_two_pips(suit, x, y) ^ gfx.c:1097:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:1102:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_four_pips(suit, x, y) ^ gfx.c:1111:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:1113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_six_pips(suit, x, y) ^ gfx.c:1122:3: warning: non-void function 'draw_six_pips' should return a value [-Wreturn-type] return; ^ gfx.c:1130:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ gfx.c:1132:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_eight_pips(suit, x, y) ^ gfx.c:1141:3: warning: non-void function 'draw_eight_pips' should return a value [-Wreturn-type] return; ^ gfx.c:1151:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ gfx.c:1153:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_jack(suit, x, y) ^ gfx.c:1166:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:1168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_queen(suit, x, y) ^ gfx.c:1181:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:1183:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_king(suit, x, y) ^ gfx.c:1196:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:1198:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_rank(x, y, rank, suit) ^ gfx.c:1324:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // gfx.c:1257:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:1396:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] flip_bits(src, dst, W, H) ^ gfx.c:1408:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gfx.c:1410:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rot_180(src, dst, W, H) ^ gfx.c:1438:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 93 warnings generated. cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c spider.c -o spider.o In file included from spider.c:19: ./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else DEBUG ^ // ./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEBUG ^ // In file included from spider.c:20: ./globals.h:15:2: warning: EXTERN [-W#warnings] #warning EXTERN ^ ./globals.h:100:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // spider.c:32:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] card_init() ^ spider.c:67:5: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(tmp, tmp2, LOC_BEFORE, deck); ^ spider.c:77:2: warning: implicit declaration of function 'shuffle_cards' is invalid in C99 [-Wimplicit-function-declaration] shuffle_cards(); ^ spider.c:78:1: warning: non-void function does not return a value [-Wreturn-type] } ^ spider.c:89:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] compare(a1, a2) ^ spider.c:98:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] remove_all_cards(cache) ^ spider.c:107:3: warning: implicit declaration of function 'remove_card' is invalid in C99 [-Wimplicit-function-declaration] remove_card(tmp); ^ spider.c:114:4: warning: implicit declaration of function 'remove_card' is invalid in C99 [-Wimplicit-function-declaration] remove_card(tmp); ^ spider.c:122:4: warning: implicit declaration of function 'remove_card' is invalid in C99 [-Wimplicit-function-declaration] remove_card(tmp); ^ spider.c:128:1: warning: non-void function does not return a value [-Wreturn-type] } ^ spider.c:133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] shuffle_cards() ^ spider.c:151:3: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(shuffled_cards[i].card, deck->cards, LOC_START, deck); ^ spider.c:155:2: warning: implicit declaration of function 'make_deck_cache' is invalid in C99 [-Wimplicit-function-declaration] make_deck_cache(); ^ spider.c:170:2: warning: implicit declaration of function 'init_cache' is invalid in C99 [-Wimplicit-function-declaration] init_cache(); ^ spider.c:171:1: warning: non-void function does not return a value [-Wreturn-type] } ^ spider.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] deal_cards() ^ spider.c:197:3: warning: implicit declaration of function 'remove_card' is invalid in C99 [-Wimplicit-function-declaration] remove_card(tmp[num]); ^ spider.c:206:4: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(tmp[j], stack[i]->cards, LOC_END, stack[i]); ^ spider.c:216:3: warning: implicit declaration of function 'show_list' is invalid in C99 [-Wimplicit-function-declaration] show_list(stack[i], stack[i]->cards); ^ spider.c:218:1: warning: non-void function does not return a value [-Wreturn-type] } ^ spider.c:223:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] deal_next_hand(log) ^ spider.c:235:4: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ spider.c:236:4: warning: non-void function 'deal_next_hand' should return a value [-Wreturn-type] return; ^ spider.c:242:3: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ spider.c:243:3: warning: non-void function 'deal_next_hand' should return a value [-Wreturn-type] return; ^ spider.c:249:3: warning: implicit declaration of function 'remove_card' is invalid in C99 [-Wimplicit-function-declaration] remove_card(tmp); ^ spider.c:251:3: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(tmp, stack[i]->cards, LOC_END, stack[i]); ^ spider.c:253:4: warning: implicit declaration of function 'show_list' is invalid in C99 [-Wimplicit-function-declaration] show_list(stack[i], stack[i]->cards); ^ spider.c:255:4: warning: implicit declaration of function 'show_card' is invalid in C99 [-Wimplicit-function-declaration] show_card(tmp); ^ spider.c:263:3: warning: implicit declaration of function 'redraw_deck' is invalid in C99 [-Wimplicit-function-declaration] redraw_deck(0, 0, table_width, table_height); ^ spider.c:268:3: warning: implicit declaration of function 'record' is invalid in C99 [-Wimplicit-function-declaration] record (0, 0, 0, True); ^ spider.c:275:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ spider.c:280:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] flip_card(card, state) ^ spider.c:285:2: warning: implicit declaration of function 'show_card' is invalid in C99 [-Wimplicit-function-declaration] show_card(card); ^ spider.c:286:1: warning: non-void function does not return a value [-Wreturn-type] } ^ spider.c:293:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] add_card(new, old, location, list) ^ spider.c:348:1: warning: non-void function does not return a value [-Wreturn-type] } ^ spider.c:374:5: warning: implicit declaration of function 'show_list' is invalid in C99 [-Wimplicit-function-declaration] show_list(list, list->cards); ^ spider.c:434:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] remove_card(card) ^ spider.c:451:1: warning: non-void function does not return a value [-Wreturn-type] } ^ spider.c:483:3: warning: implicit declaration of function 'show_list' is invalid in C99 [-Wimplicit-function-declaration] show_list(card->list, card->list->cards); ^ spider.c:485:3: warning: implicit declaration of function 'show_list' is invalid in C99 [-Wimplicit-function-declaration] show_list(card->list, card->prev); ^ spider.c:510:4: warning: implicit declaration of function 'show_card' is invalid in C99 [-Wimplicit-function-declaration] show_card(tmp); ^ spider.c:519:3: warning: implicit declaration of function 'record' is invalid in C99 [-Wimplicit-function-declaration] record(from, dest, count, exposed); ^ spider.c:624:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEBUG ^ // spider.c:743:4: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ spider.c:769:5: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ spider.c:886:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] show_full_suits() ^ spider.c:936:1: warning: non-void function does not return a value [-Wreturn-type] } ^ spider.c:941:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] expand(list) ^ spider.c:952:3: warning: non-void function 'expand' should return a value [-Wreturn-type] return; ^ spider.c:990:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ spider.c:1097:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (num = col_locate(stack[i], suit, rank, checksuit)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spider.c:1097:11: note: place parentheses around the assignment to silence this warning if (num = col_locate(stack[i], suit, rank, checksuit)) { ^ ( ) spider.c:1097:11: note: use '==' to turn this assignment into an equality comparison if (num = col_locate(stack[i], suit, rank, checksuit)) { ^ == spider.c:1300:4: warning: implicit declaration of function 'show_list' is invalid in C99 [-Wimplicit-function-declaration] show_list(list, list->cards); ^ 58 warnings generated. cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c events.c -o events.o In file included from events.c:17: ./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else DEBUG ^ // ./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEBUG ^ // In file included from events.c:18: ./globals.h:100:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // events.c:138:2: warning: implicit declaration of function 'redraw_deck' is invalid in C99 [-Wimplicit-function-declaration] redraw_deck(xev->x, xev->y, xev->width, xev->height); ^ events.c:139:2: warning: implicit declaration of function 'redraw_card_piles' is invalid in C99 [-Wimplicit-function-declaration] redraw_card_piles(xev->x, xev->y, xev->width, xev->height); ^ events.c:140:2: warning: implicit declaration of function 'redraw_card_stacks' is invalid in C99 [-Wimplicit-function-declaration] redraw_card_stacks(xev->x, xev->y, xev->width, xev->height); ^ events.c:237:4: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ events.c:247:4: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ events.c:249:4: warning: implicit declaration of function 'show_full_suits' is invalid in C99 [-Wimplicit-function-declaration] show_full_suits(); ^ events.c:275:5: warning: implicit declaration of function 'deal_cards' is invalid in C99 [-Wimplicit-function-declaration] deal_cards(); ^ events.c:277:5: warning: implicit declaration of function 'deal_next_hand' is invalid in C99 [-Wimplicit-function-declaration] deal_next_hand(True); ^ events.c:281:4: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ events.c:309:5: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ events.c:319:4: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ events.c:338:4: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ events.c:355:3: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ events.c:395:4: warning: implicit declaration of function 'read_file_or_selection' is invalid in C99 [-Wimplicit-function-declaration] read_file_or_selection(fname); ^ events.c:406:4: warning: implicit declaration of function 'write_file' is invalid in C99 [-Wimplicit-function-declaration] write_file(fname, write_confirmer); ^ events.c:413:4: warning: implicit declaration of function 'compute_score' is invalid in C99 [-Wimplicit-function-declaration] compute_score()); ^ events.c:420:3: warning: implicit declaration of function 'init_cache' is invalid in C99 [-Wimplicit-function-declaration] init_cache(); /* reset move cache */ ^ events.c:446:4: warning: implicit declaration of function 'deal_cards' is invalid in C99 [-Wimplicit-function-declaration] deal_cards(); ^ events.c:448:4: warning: implicit declaration of function 'deal_next_hand' is invalid in C99 [-Wimplicit-function-declaration] deal_next_hand(True); ^ events.c:454:3: warning: implicit declaration of function 'undo' is invalid in C99 [-Wimplicit-function-declaration] undo(); ^ events.c:568:2: warning: implicit declaration of function 'flush_message' is invalid in C99 [-Wimplicit-function-declaration] flush_message(); ^ events.c:572:3: warning: implicit declaration of function 'expand' is invalid in C99 [-Wimplicit-function-declaration] expand(list); ^ events.c:608:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] spider_bell(d, level) ^ events.c:614:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 27 warnings generated. cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c windows.c -o windows.o In file included from windows.c:17: ./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else DEBUG ^ // ./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEBUG ^ // In file included from windows.c:18: ./globals.h:100:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // windows.c:119:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // windows.c:122:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] table_init(win) ^ windows.c:143:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // windows.c:142:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 7 warnings generated. cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c movelog.c -o movelog.o In file included from movelog.c:17: ./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else DEBUG ^ // ./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEBUG ^ // In file included from movelog.c:18: ./globals.h:100:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // movelog.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] make_deck_cache() ^ movelog.c:49:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_cache() ^ movelog.c:58:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:60:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] grow_cache() ^ movelog.c:72:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ movelog.c:74:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] record(from, dest, num_cards, exposed) ^ movelog.c:84:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:86:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unencode(val, from, dest, num_cards, exposed) ^ movelog.c:97:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] undo() ^ movelog.c:107:3: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ movelog.c:108:3: warning: non-void function 'undo' should return a value [-Wreturn-type] return; ^ movelog.c:114:3: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ movelog.c:119:3: warning: implicit declaration of function 'undo_deal' is invalid in C99 [-Wimplicit-function-declaration] undo_deal(); ^ movelog.c:122:3: warning: implicit declaration of function 'spider_bell' is invalid in C99 [-Wimplicit-function-declaration] spider_bell(dpy, 0); ^ movelog.c:129:4: warning: implicit declaration of function 'undo_suit' is invalid in C99 [-Wimplicit-function-declaration] undo_suit(from - 1, exposed); ^ movelog.c:131:4: warning: implicit declaration of function 'undo_normal' is invalid in C99 [-Wimplicit-function-declaration] undo_normal(from - 1, dest - 1, num_cards, exposed); ^ movelog.c:134:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ movelog.c:139:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] undo_deal() ^ movelog.c:146:3: warning: implicit declaration of function 'remove_card' is invalid in C99 [-Wimplicit-function-declaration] remove_card(tmp); ^ movelog.c:147:3: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(tmp, deck->cards, LOC_BEFORE, deck); ^ movelog.c:148:3: warning: implicit declaration of function 'flip_card' is invalid in C99 [-Wimplicit-function-declaration] flip_card(tmp, Facedown); ^ movelog.c:153:4: warning: implicit declaration of function 'show_list' is invalid in C99 [-Wimplicit-function-declaration] show_list(stack[i], stack[i]->cards); ^ movelog.c:155:4: warning: implicit declaration of function 'show_list' is invalid in C99 [-Wimplicit-function-declaration] show_list(stack[i], last_card(stack[i])); ^ movelog.c:160:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] undo_suit(from, exposed) ^ movelog.c:172:3: warning: implicit declaration of function 'flip_card' is invalid in C99 [-Wimplicit-function-declaration] flip_card(last_card(stack[from]), Facedown); ^ movelog.c:180:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:182:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] undo_normal(from, dest, num_cards, exposed) ^ movelog.c:189:3: warning: implicit declaration of function 'flip_card' is invalid in C99 [-Wimplicit-function-declaration] flip_card(last_card(stack[from]), Facedown); ^ movelog.c:198:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:349:4: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(cache[i], deck->cards, LOC_END, deck); ^ movelog.c:374:2: warning: implicit declaration of function 'remove_all_cards' is invalid in C99 [-Wimplicit-function-declaration] remove_all_cards(cache); ^ movelog.c:408:3: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(card, deck->cards, LOC_END, deck); ^ movelog.c:477:4: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(card, stack[i]->cards, LOC_END, stack[i]); ^ movelog.c:493:5: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(card, stack[i]->cards, LOC_END, ^ movelog.c:536:5: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(card, piles[i]->cards, LOC_START, ^ movelog.c:578:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_file(fname, confirmer) ^ movelog.c:595:4: warning: non-void function 'write_file' should return a value [-Wreturn-type] return; ^ movelog.c:602:3: warning: non-void function 'write_file' should return a value [-Wreturn-type] return; ^ movelog.c:668:2: warning: implicit declaration of function 'write_human' is invalid in C99 [-Wimplicit-function-declaration] write_human(fp); ^ movelog.c:672:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ movelog.c:674:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_human(fp) ^ movelog.c:713:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:715:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_selection(buf) ^ movelog.c:733:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:735:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_file_or_selection(fname) ^ movelog.c:741:3: warning: implicit declaration of function 'read_file' is invalid in C99 [-Wimplicit-function-declaration] read_file(fname); ^ movelog.c:743:1: warning: non-void function does not return a value [-Wreturn-type] } ^ movelog.c:745:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_file(fname) ^ movelog.c:757:3: warning: non-void function 'read_file' should return a value [-Wreturn-type] return; ^ movelog.c:790:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ movelog.c:821:2: warning: implicit declaration of function 'remove_all_cards' is invalid in C99 [-Wimplicit-function-declaration] remove_all_cards(cache); ^ movelog.c:837:3: warning: implicit declaration of function 'add_card' is invalid in C99 [-Wimplicit-function-declaration] add_card(card, deck->cards, LOC_END, deck); ^ movelog.c:847:2: warning: implicit declaration of function 'deal_cards' is invalid in C99 [-Wimplicit-function-declaration] deal_cards(); ^ movelog.c:955:9: warning: implicit declaration of function 'show_play_events' is invalid in C99 [-Wimplicit-function-declaration] (void) show_play_events(); ^ movelog.c:967:4: warning: implicit declaration of function 'deal_next_hand' is invalid in C99 [-Wimplicit-function-declaration] deal_next_hand(False); ^ 61 warnings generated. cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c util.c -o util.o In file included from util.c:17: ./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else DEBUG ^ // ./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEBUG ^ // In file included from util.c:18: ./globals.h:100:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // util.c:83:16: 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] (void)strncpy(prop, text.ptr, end - start); ^~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ util.c:185:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pwd = getpwnam(uname)) { ~~~~^~~~~~~~~~~~~~~~~ util.c:185:12: note: place parentheses around the assignment to silence this warning if (pwd = getpwnam(uname)) { ^ ( ) util.c:185:12: note: use '==' to turn this assignment into an equality comparison if (pwd = getpwnam(uname)) { ^ == 5 warnings generated. cc -DDATE="\"`date`\"" -c version.c cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c xaw_ui.c -o xaw_ui.o In file included from xaw_ui.c:17: ./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else DEBUG ^ // ./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEBUG ^ // In file included from xaw_ui.c:18: ./globals.h:100:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // xaw_ui.c:145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ xaw_ui.c:152:10: warning: implicit declaration of function 'xaw_init' is invalid in C99 [-Wimplicit-function-declaration] nargs = xaw_init(argc, argv); ^ xaw_ui.c:171:2: warning: implicit declaration of function 'table_init' is invalid in C99 [-Wimplicit-function-declaration] table_init(XtWindow(table_w)); ^ xaw_ui.c:172:2: warning: implicit declaration of function 'card_init' is invalid in C99 [-Wimplicit-function-declaration] card_init(); ^ xaw_ui.c:175:3: warning: implicit declaration of function 'read_file' is invalid in C99 [-Wimplicit-function-declaration] read_file(save_file); ^ xaw_ui.c:182:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xaw_init(argc, argv) ^ xaw_ui.c:243:2: warning: implicit declaration of function 'gfx_init' is invalid in C99 [-Wimplicit-function-declaration] gfx_init(XtDisplay(toplevel), scr); ^ xaw_ui.c:416:2: warning: implicit declaration of function 'create_confirmer' is invalid in C99 [-Wimplicit-function-declaration] create_confirmer(); ^ xaw_ui.c:421:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] create_confirmer() ^ xaw_ui.c:450:55: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] XtAddCallback(button, XtNcallback, confirm_callback, 1); ^ /usr/local/include/X11/Intrinsic.h:1263:1: note: passing argument to parameter here ); ^ xaw_ui.c:455:55: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] XtAddCallback(button, XtNcallback, confirm_callback, 2); ^ /usr/local/include/X11/Intrinsic.h:1263:1: note: passing argument to parameter here ); ^ xaw_ui.c:456:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xaw_ui.c:474:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] flush_message() ^ xaw_ui.c:484:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xaw_ui.c:512:50: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] XtAddCallback(button, XtNcallback, change_help, 1); ^ /usr/local/include/X11/Intrinsic.h:1263:1: note: passing argument to parameter here ); ^ xaw_ui.c:517:50: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] XtAddCallback(button, XtNcallback, change_help, 2); ^ /usr/local/include/X11/Intrinsic.h:1263:1: note: passing argument to parameter here ); ^ xaw_ui.c:522:50: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] XtAddCallback(button, XtNcallback, change_help, 3); ^ /usr/local/include/X11/Intrinsic.h:1263:1: note: passing argument to parameter here ); ^ xaw_ui.c:527:50: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] XtAddCallback(button, XtNcallback, change_help, 4); ^ /usr/local/include/X11/Intrinsic.h:1263:1: note: passing argument to parameter here ); ^ xaw_ui.c:532:50: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] XtAddCallback(button, XtNcallback, change_help, 5); ^ /usr/local/include/X11/Intrinsic.h:1263:1: note: passing argument to parameter here ); ^ xaw_ui.c:537:50: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] XtAddCallback(button, XtNcallback, change_help, 6); ^ /usr/local/include/X11/Intrinsic.h:1263:1: note: passing argument to parameter here ); ^ xaw_ui.c:542:50: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] XtAddCallback(button, XtNcallback, change_help, 7); ^ /usr/local/include/X11/Intrinsic.h:1263:1: note: passing argument to parameter here ); ^ 24 warnings generated. cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c xaw_stubs.c -o xaw_stubs.o In file included from xaw_stubs.c:16: ./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else DEBUG ^ // ./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif DEBUG ^ // In file included from xaw_stubs.c:17: ./globals.h:100:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KITLESS ^ // xaw_stubs.c:37:3: warning: implicit declaration of function 'compute_score' is invalid in C99 [-Wimplicit-function-declaration] compute_score()); ^ xaw_stubs.c:47:6: warning: implicit declaration of function 'newgame_confirmer' is invalid in C99 [-Wimplicit-function-declaration] if (newgame_confirmer()) { ^ xaw_stubs.c:49:3: warning: implicit declaration of function 'shuffle_cards' is invalid in C99 [-Wimplicit-function-declaration] shuffle_cards(); ^ xaw_stubs.c:59:10: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] switch ((int) call_data) { ^~~~~~~~~~~~~~~ xaw_stubs.c:61:4: warning: implicit declaration of function 'undo' is invalid in C99 [-Wimplicit-function-declaration] undo(); ^ xaw_stubs.c:65:4: warning: implicit declaration of function 'init_cache' is invalid in C99 [-Wimplicit-function-declaration] init_cache(); /* reset move cache */ ^ xaw_stubs.c:104:10: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] switch ((int) call_data) { ^~~~~~~~~~~~~~~ xaw_stubs.c:111:22: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] fname = helpfiles[(int)call_data - 1]; ^~~~~~~~~~~~~~ xaw_stubs.c:157:10: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] switch ((int) call_data) { ^~~~~~~~~~~~~~~ xaw_stubs.c:160:5: warning: implicit declaration of function 'write_file' is invalid in C99 [-Wimplicit-function-declaration] write_file(fname, write_confirmer); ^ xaw_stubs.c:161:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (fname = get_selection()) { ~~~~~~^~~~~~~~~~~~~~~~~ xaw_stubs.c:161:21: note: place parentheses around the assignment to silence this warning } else if (fname = get_selection()) { ^ ( ) xaw_stubs.c:161:21: note: use '==' to turn this assignment into an equality comparison } else if (fname = get_selection()) { ^ == xaw_stubs.c:162:5: warning: implicit declaration of function 'write_file' is invalid in C99 [-Wimplicit-function-declaration] write_file(fname, write_confirmer); ^ xaw_stubs.c:169:5: warning: implicit declaration of function 'read_file' is invalid in C99 [-Wimplicit-function-declaration] read_file(fname); ^ xaw_stubs.c:177:5: warning: implicit declaration of function 'read_selection' is invalid in C99 [-Wimplicit-function-declaration] read_selection(fname); ^ xaw_stubs.c:269:3: warning: implicit declaration of function 'shuffle_cards' is invalid in C99 [-Wimplicit-function-declaration] shuffle_cards(); ^ xaw_stubs.c:305:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if ((int)call_data == 1) ^~~~~~~~~~~~~~ 19 warnings generated. rm -f spider cc -o spider -L/usr/local/lib gfx.o spider.o events.o windows.o movelog.o util.o version.o xaw_ui.o xaw_stubs.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -Wl,-rpath,/usr/local/lib rm -f spider._man if test -z "" ; then cd `dirname spider` && ln -s `basename spider.man` `basename spider._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < spider.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >spider._man; fi =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> spider-1.1_5 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for spider-1.1_5 ===> Generating temporary packing list /usr/bin/install -c -s spider /wrkdirs/usr/ports/games/spider/work/stage/usr/local/bin/spider install in . done + mkdir -p /wrkdirs/usr/ports/games/spider/work/stage/usr/local/lib/X11/spider + /usr/bin/install -c -m 0444 doc.intro /wrkdirs/usr/ports/games/spider/work/stage/usr/local/lib/X11/spider + /usr/bin/install -c -m 0444 doc.rules /wrkdirs/usr/ports/games/spider/work/stage/usr/local/lib/X11/spider + /usr/bin/install -c -m 0444 doc.controls /wrkdirs/usr/ports/games/spider/work/stage/usr/local/lib/X11/spider + /usr/bin/install -c -m 0444 doc.examples /wrkdirs/usr/ports/games/spider/work/stage/usr/local/lib/X11/spider + /usr/bin/install -c -m 0444 doc.misc /wrkdirs/usr/ports/games/spider/work/stage/usr/local/lib/X11/spider + /usr/bin/install -c -m 0444 doc.summary /wrkdirs/usr/ports/games/spider/work/stage/usr/local/lib/X11/spider rm -f /wrkdirs/usr/ports/games/spider/work/stage/usr/local/share/man/man1/spider.1* /usr/bin/install -c -m 0444 spider._man /wrkdirs/usr/ports/games/spider/work/stage/usr/local/share/man/man1/spider.1 gzip -n /wrkdirs/usr/ports/games/spider/work/stage/usr/local/share/man/man1/spider.1 install.man in . done ====> 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-06T01:45:36+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=6fd3b33787' '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 spider-1.1_5 ===> Building spider-1.1_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for spider-1.1_5 build of games/spider | spider-1.1_5 ended at Sat Apr 6 02:45:50 BST 2024 build time: 00:00:15