=> Building games/trojka Started : Thursday, 19 APR 2018 at 16:20:41 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-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 -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/trojka XDG_CONFIG_HOME=/construction/games/trojka HOME=/construction/games/trojka TMPDIR="/tmp" PATH=/construction/games/trojka/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/trojka XDG_CONFIG_HOME=/construction/games/trojka HOME=/construction/games/trojka TMPDIR="/tmp" PATH=/construction/games/trojka/.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=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -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/trojka/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/trojka" EXAMPLESDIR="share/examples/trojka" DATADIR="share/trojka" WWWDIR="www/trojka" ETCDIR="etc/trojka" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/trojka DOCSDIR=/usr/local/share/doc/trojka EXAMPLESDIR=/usr/local/share/examples/trojka WWWDIR=/usr/local/www/trojka ETCDIR=/usr/local/etc/trojka -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 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 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License TROJKA accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> trojka-1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of trojka-1.0_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License TROJKA accepted by the user ===> Fetching all distfiles required by trojka-1.0_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License TROJKA accepted by the user ===> Fetching all distfiles required by trojka-1.0_1 for building => SHA256 Checksum OK for trojka.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License TROJKA accepted by the user ===> Fetching all distfiles required by trojka-1.0_1 for building ===> Extracting for trojka-1.0_1 => SHA256 Checksum OK for trojka.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for trojka-1.0_1 ===> Applying ports patches for trojka-1.0_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.0.0s20171223_1.txz Installing ncurses-6.0.0s20171223_1... Extracting ncurses-6.0.0s20171223_1: .......... done ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of trojka-1.0_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for trojka-1.0_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for trojka-1.0_1 --- trojka.o --- --- screen.o --- --- scan.o --- --- hiscore.o --- --- system.o --- --- screen.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c screen.c --- trojka.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c trojka.c --- scan.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c scan.c --- hiscore.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c hiscore.c --- system.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" -c system.c --- hiscore.o --- In file included from hiscore.c:7:0: sys_custom.h:16:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _sys_custom_ ^ In file included from hiscore.c:8:0: hiscore.h:24:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _hiscore_ ^ In file included from hiscore.c:9:0: trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _trojka_h_ ^ hiscore.c: In function 'gameover': hiscore.c:36:2: warning: implicit declaration of function 'showscore' [-Wimplicit-function-declaration] showscore(); ^ hiscore.c:38:2: warning: implicit declaration of function 'showgameover' [-Wimplicit-function-declaration] showgameover(); ^ hiscore.c:60:9: warning: implicit declaration of function 'getname' [-Wimplicit-function-declaration] while(getname(a->name)==0) /* empty name not allowed */ ^ hiscore.c: In function 'readscores': hiscore.c:74:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(i->name, STDNAME); ^ hiscore.c:74:3: warning: incompatible implicit declaration of built-in function 'strcpy' hiscore.c:74:3: note: include '' or provide a declaration of 'strcpy' hiscore.c:80:15: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] old_umask = umask(0); ^ hiscore.c:84:4: warning: implicit declaration of function 'quit_prog' [-Wimplicit-function-declaration] quit_prog("Error creating scorefile"); ^ hiscore.c:85:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^ hiscore.c:90:5: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if(read(fd,sfile, FILE_SIZE) == -1) ^ hiscore.c: In function 'writescores': hiscore.c:103:6: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if((write(fd, sfile, FILE_SIZE)) == -1) ^ --- scan.o --- In file included from scan.c:9:0: trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _trojka_h_ ^ scan.c: In function 'scan': scan.c:43:3: warning: implicit declaration of function 'delay' [-Wimplicit-function-declaration] delay(100); ^ scan.c:44:3: warning: implicit declaration of function 'shiftblocks' [-Wimplicit-function-declaration] shiftblocks(); ^ scan.c:48:3: warning: implicit declaration of function 'showscore' [-Wimplicit-function-declaration] showscore(); ^ scan.c:52:4: warning: implicit declaration of function 'handletrojka' [-Wimplicit-function-declaration] handletrojka(wipe_count); /* trojka ! */ ^ scan.c: In function 'explode': scan.c:100:5: warning: implicit declaration of function 'makestars' [-Wimplicit-function-declaration] makestars(x, y); ^ scan.c: In function 'shiftdown': scan.c:123:3: warning: implicit declaration of function 'makeblock' [-Wimplicit-function-declaration] makeblock(x, y, field[x][y]); ^ --- trojka.o --- In file included from trojka.c:11:0: trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _trojka_h_ ^ In file included from trojka.c:12:0: hiscore.h:24:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _hiscore_ ^ trojka.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ trojka.c: In function 'main': trojka.c:71:30: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] sfile = (struct scorefile *)malloc(FILE_SIZE); ^ trojka.c:71:30: warning: incompatible implicit declaration of built-in function 'malloc' trojka.c:71:30: note: include '' or provide a declaration of 'malloc' trojka.c:73:3: warning: implicit declaration of function 'quit_prog' [-Wimplicit-function-declaration] quit_prog("Not enough memory to hold scores."); ^ trojka.c:74:2: warning: implicit declaration of function 'readscores' [-Wimplicit-function-declaration] readscores(); ^ trojka.c:77:2: warning: implicit declaration of function 'initcurses' [-Wimplicit-function-declaration] initcurses(); ^ trojka.c:81:3: warning: implicit declaration of function 'titlescreen' [-Wimplicit-function-declaration] titlescreen(); ^ trojka.c:83:17: warning: implicit declaration of function 'selectspeed' [-Wimplicit-function-declaration] speed = (int)selectspeed(); ^ trojka.c:86:5: warning: implicit declaration of function 'build' [-Wimplicit-function-declaration] build(); ^ trojka.c: In function 'play': trojka.c:99:2: warning: implicit declaration of function 'showspeed' [-Wimplicit-function-declaration] showspeed(speed); ^ trojka.c:107:3: warning: implicit declaration of function 'wipeblock' [-Wimplicit-function-declaration] wipeblock(last_xpos, last_ypos); ^ trojka.c:108:3: warning: implicit declaration of function 'makeblock' [-Wimplicit-function-declaration] makeblock(xpos, ypos, shape); ^ trojka.c:114:3: warning: implicit declaration of function 'delay' [-Wimplicit-function-declaration] delay(Pause); /* game speed */ ^ trojka.c:118:10: warning: implicit declaration of function 'getkey' [-Wimplicit-function-declaration] switch(getkey()) { /* key control */ ^ trojka.c:152:4: warning: implicit declaration of function 'redraw' [-Wimplicit-function-declaration] redraw(); ^ trojka.c:165:7: warning: implicit declaration of function 'scan' [-Wimplicit-function-declaration] if(scan() < PLM_TOP) { ^ trojka.c:172:5: warning: implicit declaration of function 'statistics' [-Wimplicit-function-declaration] statistics(); ^ trojka.c:173:5: warning: implicit declaration of function 'showscore' [-Wimplicit-function-declaration] showscore(); ^ trojka.c:177:19: warning: implicit declaration of function 'wipemesg' [-Wimplicit-function-declaration] /* GAME OVER */ wipemesg(); ^ trojka.c:183:2: warning: implicit declaration of function 'gameover' [-Wimplicit-function-declaration] gameover(); ^ trojka.c: In function 'initialize': trojka.c:231:2: warning: implicit declaration of function 'reset_f' [-Wimplicit-function-declaration] reset_f(); /* reset shadow buffer in scan.c */ ^ In file included from trojka.c:11:0: trojka.c: In function 'resetgame': trojka.h:99:21: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration] #define setrandom() srand((unsigned)time(0)) ^ trojka.c:246:2: note: in expansion of macro 'setrandom' setrandom(); ^ trojka.h:99:37: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] #define setrandom() srand((unsigned)time(0)) ^ trojka.c:246:2: note: in expansion of macro 'setrandom' setrandom(); ^ trojka.c: In function 'resetblock': trojka.h:98:23: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] #define getrandom(s) (rand() % (s)) ^ trojka.c:270:10: note: in expansion of macro 'getrandom' shape = getrandom(BLOCKS) + 1; ^ trojka.c: In function 'check_mesg': trojka.c:299:3: warning: implicit declaration of function 'showmesg' [-Wimplicit-function-declaration] showmesg(mesg_count++); ^ trojka.c: In function 'getopt': trojka.c:319:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(!strcmp(argv[1], "-s")) ^ trojka.c:320:4: warning: implicit declaration of function 'scorelist' [-Wimplicit-function-declaration] scorelist(); ^ trojka.c:323:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ trojka.c:323:3: warning: incompatible implicit declaration of built-in function 'exit' trojka.c:323:3: note: include '' or provide a declaration of 'exit' --- system.o --- In file included from system.c:30:0: trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _trojka_h_ ^ system.c: In function 'initcurses': system.c:86:18: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGTERM, catch); ^ In file included from /usr/include/signal.h:38:0, from system.c:20: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'int (*)()' __sighandler_t *signal (int, __sighandler_t *); ^ system.c:87:17: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGINT, catch); ^ In file included from /usr/include/signal.h:38:0, from system.c:20: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'int (*)()' __sighandler_t *signal (int, __sighandler_t *); ^ system.c: In function 'quit_prog': system.c:118:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ system.c:118:2: warning: incompatible implicit declaration of built-in function 'exit' system.c:118:2: note: include '' or provide a declaration of 'exit' --- trojka.6.out --- sed "s|%%PREFIX%%|/usr/local|" trojka.6 > trojka.6.out --- screen.o --- In file included from screen.c:10:0: sys_custom.h:16:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _sys_custom_ ^ In file included from screen.c:11:0: trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _trojka_h_ ^ In file included from screen.c:12:0: screen.h:41:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _screen_ ^ In file included from screen.c:13:0: hiscore.h:24:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _hiscore_ ^ screen.c: In function 'showtrojka': screen.c:132:2: warning: implicit declaration of function 'delay' [-Wimplicit-function-declaration] delay(1000); ^ In file included from screen.c:8:0: screen.c: In function 'showmesg': screen.c:149:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] movexy((80 - strlen(mesg[n])) / 2, MESG_Y); ^ /usr/local/include/ncurses/curses.h:1279:38: note: in definition of macro 'move' #define move(y,x) wmove(stdscr,(y),(x)) ^ screen.c:149:2: note: in expansion of macro 'movexy' movexy((80 - strlen(mesg[n])) / 2, MESG_Y); ^ screen.c:149:15: warning: incompatible implicit declaration of built-in function 'strlen' movexy((80 - strlen(mesg[n])) / 2, MESG_Y); ^ /usr/local/include/ncurses/curses.h:1279:38: note: in definition of macro 'move' #define move(y,x) wmove(stdscr,(y),(x)) ^ screen.c:149:2: note: in expansion of macro 'movexy' movexy((80 - strlen(mesg[n])) / 2, MESG_Y); ^ screen.c:149:15: note: include '' or provide a declaration of 'strlen' movexy((80 - strlen(mesg[n])) / 2, MESG_Y); ^ /usr/local/include/ncurses/curses.h:1279:38: note: in definition of macro 'move' #define move(y,x) wmove(stdscr,(y),(x)) ^ screen.c:149:2: note: in expansion of macro 'movexy' movexy((80 - strlen(mesg[n])) / 2, MESG_Y); ^ screen.c: In function 'titlescreen': screen.c:197:2: warning: implicit declaration of function 'readscores' [-Wimplicit-function-declaration] readscores(); /* re-read scores */ ^ screen.c:201:2: warning: implicit declaration of function 'killkeys' [-Wimplicit-function-declaration] killkeys(); ^ --- trojka --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DSCOREFILE=\"/var/games/trojka.scores\" trojka.o screen.o scan.o hiscore.o system.o -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lncurses -o trojka -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for trojka-1.0_1 ===> Generating temporary packing list install -s -m 555 trojka /construction/games/trojka/stage/usr/local/bin install -m 444 trojka.6.out /construction/games/trojka/stage/usr/local/man/man6/trojka.6 mkdir -p /construction/games/trojka/stage/var/games touch /construction/games/trojka/stage/var/games/trojka.scores.sample ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for trojka-1.0_1 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 16:20:46 UTC Duration: 00:00:05