=> Building games/xmines Started : Friday, 8 MAR 2019 at 10:00:54 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> 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 -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/xmines XDG_CONFIG_HOME=/construction/games/xmines HOME=/construction/games/xmines TMPDIR="/tmp" PATH=/construction/games/xmines/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/xmines XDG_CONFIG_HOME=/construction/games/xmines HOME=/construction/games/xmines TMPDIR="/tmp" PATH=/construction/games/xmines/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-error=return-type -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-error=return-type -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/xmines/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xmines" EXAMPLESDIR="share/examples/xmines" DATADIR="share/xmines" WWWDIR="www/xmines" ETCDIR="etc/xmines" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> xmines-1.0_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> xmines-1.0_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xmines-1.0_3 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by xmines-1.0_3 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by xmines-1.0_3 for building => SHA256 Checksum OK for xmines.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by xmines-1.0_3 for building ===> Extracting for xmines-1.0_3 => SHA256 Checksum OK for xmines.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for xmines-1.0_3 ===> Applying ports patches for xmines-1.0_3 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.7,1.txz Installing libX11-1.6.7,1... `-- Installing libXau-1.0.8_5... `-- Extracting libXau-1.0.8_5: .......... done `-- Installing libXdmcp-1.1.2_2... | `-- Installing xorgproto-2018.4... | `-- Extracting xorgproto-2018.4: .......... done `-- Extracting libXdmcp-1.1.2_2: ......... done `-- Installing libxcb-1.13.1... | `-- Installing libpthread-stubs-0.4... | `-- Extracting libpthread-stubs-0.4: .... done | `-- Installing libxml2-2.9.8... | `-- Extracting libxml2-2.9.8: .......... done `-- Extracting libxcb-1.13.1: .......... done Extracting libX11-1.6.7,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.1.5_2,1.txz Installing libXt-1.1.5_2,1... `-- Installing libICE-1.0.9_3,1... `-- Extracting libICE-1.0.9_3,1: .......... done `-- Installing libSM-1.2.3,1... `-- Extracting libSM-1.2.3,1: .......... done Extracting libXt-1.1.5_2,1: .......... done ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of xmines-1.0_3 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for xmines-1.0_3 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for xmines-1.0_3 --- xmines.o --- --- X11.o --- --- score.o --- --- xmines.o --- cc -pipe -Wno-error=return-type -O2 -fno-strict-aliasing -DSCOREfILE=\"/var/games/scores\" -I /usr/local/include -c xmines.c --- X11.o --- cc -pipe -Wno-error=return-type -O2 -fno-strict-aliasing -DSCOREfILE=\"/var/games/scores\" -I /usr/local/include -c X11.c --- score.o --- cc -pipe -Wno-error=return-type -O2 -fno-strict-aliasing -DSCOREfILE=\"/var/games/scores\" -I /usr/local/include -c score.c score.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] openScores() ^~~~~~~~~~ score.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] readScores() ^~~~~~~~~~ score.c: In function 'readScores': score.c:35:28: warning: 'return' with no value, in function returning non-void if (scoreFile == NULL) return; ^~~~~~ score.c:31:1: note: declared here readScores() ^~~~~~~~~~ score.c: At top level: score.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] printScores() ^~~~~~~~~~~ score.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] writeScores() ^~~~~~~~~~~ score.c: In function 'writeScores': score.c:58:28: warning: 'return' with no value, in function returning non-void if (scoreFile == NULL) return; ^~~~~~ score.c:54:1: note: declared here writeScores() ^~~~~~~~~~~ score.c: At top level: score.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] newScore(score) ^~~~~~~~ score.c: In function 'newScore': score.c:79:22: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] name = getpwuid (getuid ()) -> pw_name; ^~~~~~ getpwuid score.c:81:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp (scores[i].name, name, NAMEsIZE) == 0) { ^~~~~~~ score.c:95:6: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy (scores[i].name, scores[i - 1].name, NAMEsIZE - 1); ^~~~~~~ score.c:95:6: warning: incompatible implicit declaration of built-in function 'strncpy' score.c:95:6: note: include '' or provide a declaration of 'strncpy' score.c:6:1: +#include score.c:95:6: strncpy (scores[i].name, scores[i - 1].name, NAMEsIZE - 1); ^~~~~~~ score.c:98:2: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy (scores[i].name, name, NAMEsIZE); ^~~~~~~ score.c:98:2: note: include '' or provide a declaration of 'strncpy' score.c: At top level: score.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] print_scores() ^~~~~~~~~~~~ score.c: In function 'print_scores': score.c:114:9: warning: implicit declaration of function 'WriteScore'; did you mean 'writeScores'? [-Wimplicit-function-declaration] WriteScore(i,s); ^~~~~~~~~~ writeScores --- xmines.o --- xmines.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] delay(time) ^~~~~ xmines.c: In function 'delay': xmines.c:53:5: warning: implicit declaration of function 'pause'; did you mean 'raise'? [-Wimplicit-function-declaration] pause(); ^~~~~ raise xmines.c: At top level: xmines.c:62:1: warning: return type defaults to 'int' [-Wimplicit-int] setdoneflag(i) ^~~~~~~~~~~ xmines.c: In function 'setdoneflag': xmines.c:62:1: warning: type of 'i' defaults to 'int' [-Wimplicit-int] xmines.c: At top level: xmines.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] setup_signals() ^~~~~~~~~~~~~ xmines.c: In function 'setup_signals': xmines.c:78:49: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] fcntl(ConnectionNumber(display), F_SETOWN, getpid()); ^~~~~~ xmines.c: At top level: xmines.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ xmines.c: In function 'main': xmines.c:85:5: warning: implicit declaration of function 'openScores' [-Wimplicit-function-declaration] openScores(); ^~~~~~~~~~ xmines.c:87:5: warning: implicit declaration of function 'parseOptions' [-Wimplicit-function-declaration] parseOptions(argc,argv); ^~~~~~~~~~~~ xmines.c:91:5: warning: implicit declaration of function 'XStuff' [-Wimplicit-function-declaration] XStuff(argc,argv); ^~~~~~ xmines.c:93:5: warning: implicit declaration of function 'srandom' [-Wimplicit-function-declaration] srandom(getpid()); ^~~~~~~ xmines.c:101:9: warning: implicit declaration of function 'newscreen' [-Wimplicit-function-declaration] newscreen(); ^~~~~~~~~ xmines.c:102:9: warning: implicit declaration of function 'draw_screen' [-Wimplicit-function-declaration] draw_screen(); ^~~~~~~~~~~ xmines.c:107:6: warning: implicit declaration of function 'CheckforEvent'; did you mean 'XCheckIfEvent'? [-Wimplicit-function-declaration] CheckforEvent(); ^~~~~~~~~~~~~ XCheckIfEvent xmines.c:111:3: warning: implicit declaration of function 'show_score' [-Wimplicit-function-declaration] show_score(0); ^~~~~~~~~~ xmines.c:117:13: warning: implicit declaration of function 'newScore' [-Wimplicit-function-declaration] newScore(getscore()); ^~~~~~~~ xmines.c:117:22: warning: implicit declaration of function 'getscore' [-Wimplicit-function-declaration] newScore(getscore()); ^~~~~~~~ xmines.c:121:13: warning: implicit declaration of function 'showallmines' [-Wimplicit-function-declaration] showallmines(); ^~~~~~~~~~~~ xmines.c:123:9: warning: implicit declaration of function 'show_high_scores' [-Wimplicit-function-declaration] show_high_scores(0); ^~~~~~~~~~~~~~~~ xmines.c: At top level: xmines.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] getscore() ^~~~~~~~ xmines.c:142:1: warning: return type defaults to 'int' [-Wimplicit-int] getminesleft() ^~~~~~~~~~~~ xmines.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int] cntmines(x,y) ^~~~~~~~ xmines.c: In function 'cntmines': xmines.c:148:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:148:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] xmines.c: At top level: xmines.c:155:1: warning: return type defaults to 'int' [-Wimplicit-int] Number(x,y) ^~~~~~ xmines.c: In function 'Number': xmines.c:155:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:155:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] xmines.c: At top level: xmines.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] MissmarkCell(x,y) ^~~~~~~~~~~~ xmines.c: In function 'MissmarkCell': xmines.c:160:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:160:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] xmines.c: At top level: xmines.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] MarkCell(x,y) ^~~~~~~~ xmines.c: In function 'MarkCell': xmines.c:165:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:165:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] xmines.c:180:5: warning: implicit declaration of function 'DrawCell'; did you mean 'MarkCell'? [-Wimplicit-function-declaration] DrawCell(x,y); ^~~~~~~~ MarkCell xmines.c: At top level: xmines.c:183:1: warning: return type defaults to 'int' [-Wimplicit-int] BoomCell(x,y) ^~~~~~~~ xmines.c: In function 'BoomCell': xmines.c:183:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:183:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] xmines.c: At top level: xmines.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] UncoverCell(x,y) ^~~~~~~~~~~ xmines.c: In function 'UncoverCell': xmines.c:189:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:189:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] xmines.c: At top level: xmines.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] WriteCell(x,y,val) ^~~~~~~~~ xmines.c: In function 'WriteCell': xmines.c:195:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:195:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] xmines.c:195:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] xmines.c: At top level: xmines.c:200:1: warning: return type defaults to 'int' [-Wimplicit-int] ReadCell(x,y) ^~~~~~~~ xmines.c: In function 'ReadCell': xmines.c:200:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:200:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] xmines.c: At top level: xmines.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] newscreen() ^~~~~~~~~ xmines.c: In function 'newscreen': xmines.c:221:17: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] x = random() % width; ^~~~~~ xmines.c: At top level: xmines.c:238:1: warning: return type defaults to 'int' [-Wimplicit-int] showallmines() ^~~~~~~~~~~~ xmines.c:264:1: warning: return type defaults to 'int' [-Wimplicit-int] Highlight(x,y) ^~~~~~~~~ xmines.c: In function 'Highlight': xmines.c:264:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:264:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] --- X11.o --- X11.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] paws() ^~~~ X11.c: In function 'paws': X11.c:100:17: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] start_time += (time(0) - pause_start); ^~~~ --- xmines.o --- xmines.c:268:9: warning: implicit declaration of function 'DrawHighlight'; did you mean 'Highlight'? [-Wimplicit-function-declaration] DrawHighlight(x,y); ^~~~~~~~~~~~~ Highlight xmines.c: At top level: xmines.c:272:1: warning: return type defaults to 'int' [-Wimplicit-int] unHighlight(x,y) ^~~~~~~~~~~ xmines.c: In function 'unHighlight': xmines.c:272:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] xmines.c:272:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] xmines.c: At top level: xmines.c:324:1: warning: return type defaults to 'int' [-Wimplicit-int] unhighlightInvisible(x,y) ^~~~~~~~~~~~~~~~~~~~ --- X11.o --- X11.c:106:5: warning: implicit declaration of function 'draw_screen' [-Wimplicit-function-declaration] draw_screen(); ^~~~~~~~~~~ X11.c: At top level: X11.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] quit() ^~~~ X11.c: In function 'quit': X11.c:111:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ X11.c:111:5: warning: incompatible implicit declaration of built-in function 'exit' X11.c:111:5: note: include '' or provide a declaration of 'exit' X11.c:22:1: +#include X11.c:111:5: exit(1); ^~~~ X11.c: At top level: X11.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int] parseOptions(argc,argv) ^~~~~~~~~~~~ X11.c: In function 'parseOptions': X11.c:145:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(DisplayName,value.addr,(int) value.size); ^~~~~~~ X11.c:145:9: warning: incompatible implicit declaration of built-in function 'strncpy' X11.c:145:9: note: include '' or provide a declaration of 'strncpy' X11.c:22:1: +#include X11.c:145:9: strncpy(DisplayName,value.addr,(int) value.size); ^~~~~~~ X11.c:149:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(filename,sptr,sizeof(filename)); ^~~~~~~ X11.c:149:5: note: include '' or provide a declaration of 'strncpy' X11.c:150:5: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); ^~~~~~~ X11.c:150:5: warning: incompatible implicit declaration of built-in function 'strncat' X11.c:150:5: note: include '' or provide a declaration of 'strncat' X11.c:150:55: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); ^~~~~~ X11.c:150:55: warning: incompatible implicit declaration of built-in function 'strlen' X11.c:150:55: note: include '' or provide a declaration of 'strlen' X11.c:161:18: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] volume = atoi(buffer); ^~~~ X11.c: At top level: X11.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] XStuff(argc,argv) ^~~~~~ X11.c: In function 'XStuff': X11.c:202:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ X11.c:202:9: note: include '' or provide a declaration of 'exit' X11.c:247:5: warning: implicit declaration of function 'CreatePixmaps'; did you mean 'XCreatePixmap'? [-Wimplicit-function-declaration] CreatePixmaps(); ^~~~~~~~~~~~~ XCreatePixmap X11.c: At top level: X11.c:259:1: warning: return type defaults to 'int' [-Wimplicit-int] CreatePixmaps() ^~~~~~~~~~~~~ X11.c: In function 'CreatePixmaps': X11.c:284:52: warning: incompatible implicit declaration of built-in function 'strlen' (SWIDTH-XTextWidth(xfontinfo,pixstr[i],strlen(pixstr[i])))/2, ^~~~~~ X11.c:284:52: note: include '' or provide a declaration of 'strlen' X11.c:319:9: warning: implicit declaration of function 'CreateMarked'; did you mean 'XCreateImage'? [-Wimplicit-function-declaration] CreateMarked(); ^~~~~~~~~~~~ XCreateImage X11.c: At top level: X11.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] CreateMarked() ^~~~~~~~~~~~ X11.c:389:1: warning: return type defaults to 'int' [-Wimplicit-int] CheckforEvent() ^~~~~~~~~~~~~ X11.c: In function 'CheckforEvent': X11.c:393:4: warning: implicit declaration of function 'getXevent'; did you mean 'getenv'? [-Wimplicit-function-declaration] getXevent(); ^~~~~~~~~ getenv X11.c: At top level: X11.c:397:1: warning: return type defaults to 'int' [-Wimplicit-int] getXevent() ^~~~~~~~~ X11.c: In function 'getXevent': X11.c:417:17: warning: implicit declaration of function 'print_scores' [-Wimplicit-function-declaration] print_scores(); ^~~~~~~~~~~~ X11.c:424:17: warning: implicit declaration of function 'keyboard' [-Wimplicit-function-declaration] keyboard(text[0]); ^~~~~~~~ X11.c:441:25: warning: implicit declaration of function 'unHighlight'; did you mean 'XIMHighlight'? [-Wimplicit-function-declaration] unHighlight(x,y); ^~~~~~~~~~~ XIMHighlight X11.c:442:25: warning: implicit declaration of function 'Highlight'; did you mean 'XIMHighlight'? [-Wimplicit-function-declaration] Highlight(newx,newy); ^~~~~~~~~ XIMHighlight X11.c:446:25: warning: implicit declaration of function 'unhighlightInvisible'; did you mean 'highlight_width'? [-Wimplicit-function-declaration] unhighlightInvisible(x,y); ^~~~~~~~~~~~~~~~~~~~ highlight_width X11.c:447:25: warning: implicit declaration of function 'highlightInvisible'; did you mean 'highlight_width'? [-Wimplicit-function-declaration] highlightInvisible(newx,newy); ^~~~~~~~~~~~~~~~~~ highlight_width X11.c:463:29: warning: implicit declaration of function 'ohno' [-Wimplicit-function-declaration] ohno(); ^~~~ X11.c:489:29: warning: implicit declaration of function 'Show' [-Wimplicit-function-declaration] Show(x,y); ^~~~ X11.c:492:29: warning: implicit declaration of function 'fillNumbers' [-Wimplicit-function-declaration] fillNumbers(x,y); ^~~~~~~~~~~ X11.c:495:29: warning: implicit declaration of function 'MarkCell' [-Wimplicit-function-declaration] MarkCell(x,y); ^~~~~~~~ X11.c:501:17: warning: implicit declaration of function 'smiley' [-Wimplicit-function-declaration] smiley(); ^~~~~~ X11.c: At top level: X11.c:513:1: warning: return type defaults to 'int' [-Wimplicit-int] DrawButton(button) ^~~~~~~~~~ X11.c: In function 'DrawButton': X11.c:521:49: warning: incompatible implicit declaration of built-in function 'strlen' xoffset = XTextWidth(xfontinfo,button->name,strlen(button->name)); ^~~~~~ X11.c:521:49: note: include '' or provide a declaration of 'strlen' X11.c: At top level: X11.c:530:1: warning: return type defaults to 'int' [-Wimplicit-int] checkbuttons(mx,my) ^~~~~~~~~~~~ X11.c: In function 'checkbuttons': X11.c:530:1: warning: type of 'mx' defaults to 'int' [-Wimplicit-int] X11.c:530:1: warning: type of 'my' defaults to 'int' [-Wimplicit-int] X11.c: At top level: X11.c:544:1: warning: return type defaults to 'int' [-Wimplicit-int] show_high_scores(blank) ^~~~~~~~~~~~~~~~ X11.c: In function 'show_high_scores': X11.c:544:1: warning: type of 'blank' defaults to 'int' [-Wimplicit-int] X11.c:549:5: warning: implicit declaration of function 'readScores' [-Wimplicit-function-declaration] readScores(); ^~~~~~~~~~ X11.c: At top level: X11.c:589:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_screen() ^~~~~~~~~~~ X11.c: In function 'draw_screen': X11.c:599:5: warning: implicit declaration of function 'show_score' [-Wimplicit-function-declaration] show_score(1); ^~~~~~~~~~ X11.c:601:5: warning: implicit declaration of function 'DrawShadow'; did you mean 'DrawButton'? [-Wimplicit-function-declaration] DrawShadow(0,0,hint.width-1,hint.height-1,3); ^~~~~~~~~~ DrawButton X11.c:617:9: warning: implicit declaration of function 'redraw_array' [-Wimplicit-function-declaration] redraw_array(); ^~~~~~~~~~~~ X11.c: At top level: X11.c:621:1: warning: return type defaults to 'int' [-Wimplicit-int] DrawShadow(x1,y1,x2,y2,dir) ^~~~~~~~~~ X11.c: In function 'DrawShadow': X11.c:621:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] X11.c:621:1: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] X11.c:621:1: warning: type of 'x2' defaults to 'int' [-Wimplicit-int] X11.c:621:1: warning: type of 'y2' defaults to 'int' [-Wimplicit-int] X11.c:621:1: warning: type of 'dir' defaults to 'int' [-Wimplicit-int] X11.c: At top level: X11.c:652:1: warning: return type defaults to 'int' [-Wimplicit-int] keyboard(c) ^~~~~~~~ X11.c:668:1: warning: return type defaults to 'int' [-Wimplicit-int] redraw_array() ^~~~~~~~~~~~ X11.c: In function 'redraw_array': X11.c:677:13: warning: implicit declaration of function 'DrawCell'; did you mean 'XDrawText'? [-Wimplicit-function-declaration] DrawCell(j,i); ^~~~~~~~ XDrawText X11.c: At top level: X11.c:682:1: warning: return type defaults to 'int' [-Wimplicit-int] DrawCell(x,y) ^~~~~~~~ X11.c: In function 'DrawCell': X11.c:688:15: warning: implicit declaration of function 'ReadCell'; did you mean 'DrawCell'? [-Wimplicit-function-declaration] val = ReadCell(x,y); ^~~~~~~~ DrawCell X11.c:694:13: warning: implicit declaration of function 'XDrawCell'; did you mean 'DrawCell'? [-Wimplicit-function-declaration] XDrawCell(x,y,patpix[val]); ^~~~~~~~~ DrawCell X11.c: At top level: X11.c:719:1: warning: return type defaults to 'int' [-Wimplicit-int] ohno() ^~~~ X11.c:725:1: warning: return type defaults to 'int' [-Wimplicit-int] smiley() ^~~~~~ X11.c:731:1: warning: return type defaults to 'int' [-Wimplicit-int] DrawHighlight(x,y) ^~~~~~~~~~~~~ X11.c: In function 'DrawHighlight': X11.c:731:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] X11.c:731:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] X11.c: At top level: X11.c:740:1: warning: return type defaults to 'int' [-Wimplicit-int] XDrawCell(x,y,pixmap) ^~~~~~~~~ X11.c:748:1: warning: return type defaults to 'int' [-Wimplicit-int] show_score(force) ^~~~~~~~~~ X11.c: In function 'show_score': X11.c:756:14: warning: implicit declaration of function 'getminesleft'; did you mean 'getXevent'? [-Wimplicit-function-declaration] nmines = getminesleft(); ^~~~~~~~~~~~ getXevent X11.c:757:14: warning: implicit declaration of function 'getscore'; did you mean 'getcolor'? [-Wimplicit-function-declaration] nscore = getscore(); ^~~~~~~~ getcolor X11.c:764:21: warning: incompatible implicit declaration of built-in function 'strlen' XOFFSET+10,50,s,strlen(s)); ^~~~~~ X11.c:764:21: note: include '' or provide a declaration of 'strlen' X11.c: At top level: X11.c:771:1: warning: return type defaults to 'int' [-Wimplicit-int] WriteScore(i,s) ^~~~~~~~~~ X11.c: In function 'WriteScore': X11.c:778:12: warning: incompatible implicit declaration of built-in function 'strlen' ,s,strlen(s)); ^~~~~~ X11.c:778:12: note: include '' or provide a declaration of 'strlen' --- xmines --- cc -L /usr/local/lib -o xmines xmines.o score.o X11.o -lX11 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for xmines-1.0_3 ===> Generating temporary packing list mkdir -p /construction/games/xmines/stage/var/games install -m 0644 scores/scores /construction/games/xmines/stage/var/games/xmines-scores.sample install -s -m 555 xmines /construction/games/xmines/stage/usr/local/bin install -m 0644 /construction/games/xmines/xmines/README /construction/games/xmines/stage/usr/local/share/doc/xmines ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for xmines-1.0_3 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 10:01:01 UTC Duration: 00:00:07