=> Building games/trojka build started at Wed Oct 5 04:13:27 PDT 2016 port directory: /usr/ports/games/trojka building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: e@ik.nu ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../01//usr/ports/games/trojka/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=trojka-1.0_1 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/games/trojka XDG_CONFIG_HOME=/wrkdirs/games/trojka HOME=/wrkdirs/games/trojka TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/games/trojka XDG_CONFIG_HOME=/wrkdirs/games/trojka HOME=/wrkdirs/games/trojka TMPDIR="/tmp" 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 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/trojka" EXAMPLESDIR="share/examples/trojka" DATADIR="share/trojka" WWWDIR="www/trojka" ETCDIR="etc/trojka" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License TROJKA accepted by the user =========================================================================== =================================================== ===> trojka-1.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> trojka-1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of trojka-1.0_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> License TROJKA accepted by the user ===> Fetching all distfiles required by trojka-1.0_1 for building =========================================================================== =================================================== ===> License TROJKA accepted by the user ===> Fetching all distfiles required by trojka-1.0_1 for building => SHA256 Checksum OK for trojka.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for trojka-1.0_1 ===> Applying ports patches for trojka-1.0_1 =========================================================================== =================================================== ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.0_5.txz Installing ncurses-6.0_5... Extracting ncurses-6.0_5: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses 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 ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of trojka-1.0_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for trojka-1.0_1 =========================================================================== =================================================== ===> Building for trojka-1.0_1 --- trojka.o --- --- screen.o --- --- scan.o --- --- hiscore.o --- --- system.o --- --- 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 --- 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 --- 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 --- 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:1230: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:1230: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:1230: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); ^ --- 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 ! */ ^ --- screen.o --- 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(); ^ --- scan.o --- 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]); ^ --- 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) ^ --- 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' --- trojka.6.out --- sed "s|%%PREFIX%%|/usr/local|" trojka.6 > trojka.6.out --- 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:39:0, from system.c:20: /usr/include/sys/signal.h:413: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:39:0, from system.c:20: /usr/include/sys/signal.h:413: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 --- 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 =========================================================================== =================================================== ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - found =========================================================================== =================================================== ===> Staging for trojka-1.0_1 ===> Generating temporary packing list install -s -m 555 trojka /wrkdirs/games/trojka/stage/usr/local/bin install -m 444 trojka.6.out /wrkdirs/games/trojka/stage/usr/local/man/man6/trojka.6 mkdir -p /wrkdirs/games/trojka/stage/var/games touch /wrkdirs/games/trojka/stage/var/games/trojka.scores.sample ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for trojka-1.0_1 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for trojka-1.0_1 build of games/trojka ended at Wed Oct 5 04:13:32 PDT 2016 build time: 00:00:05