------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ncurses-6.1.20190525.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by trojka-1.0_1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by trojka-1.0_1 for building => SHA256 Checksum OK for trojka.tar.gz. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by trojka-1.0_1 for building ===> Extracting for trojka-1.0_1 => SHA256 Checksum OK for trojka.tar.gz. Extracted Memory Use: 0.06M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for trojka-1.0_1 ===> Applying ports patches for trojka-1.0_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Configuring for trojka-1.0_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for trojka-1.0_1 --- trojka.o --- --- screen.o --- --- scan.o --- --- hiscore.o --- --- system.o --- --- trojka.6.out --- --- 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 --- trojka.6.out --- sed "s|%%PREFIX%%|/usr/local|" trojka.6 > trojka.6.out --- hiscore.o --- In file included from hiscore.c:7: 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: hiscore.h:24:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _hiscore_ ^~~~~~~~~ In file included from hiscore.c:9: trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _trojka_h_ ^~~~~~~~~~ --- 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 --- hiscore.c: In function 'gameover': hiscore.c:36:2: warning: implicit declaration of function 'showscore'; did you mean 'shiftscores'? [-Wimplicit-function-declaration] showscore(); ^~~~~~~~~ shiftscores hiscore.c:38:2: warning: implicit declaration of function 'showgameover'; did you mean 'gameover'? [-Wimplicit-function-declaration] showgameover(); ^~~~~~~~~~~~ gameover hiscore.c:60:9: warning: implicit declaration of function 'getname'; did you mean 'rename'? [-Wimplicit-function-declaration] while(getname(a->name)==0) /* empty name not allowed */ ^~~~~~~ rename 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:13:1: +#include hiscore.c:74:3: strcpy(i->name, STDNAME); ^~~~~~ hiscore.c:80:15: warning: implicit declaration of function 'umask'; did you mean 'fd_mask'? [-Wimplicit-function-declaration] old_umask = umask(0); ^~~~~ fd_mask 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'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose hiscore.c:90:5: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if(read(fd,sfile, FILE_SIZE) == -1) ^~~~ fread hiscore.c: In function 'writescores': hiscore.c:103:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if((write(fd, sfile, FILE_SIZE)) == -1) ^~~~~ fwrite --- screen.o --- In file included from screen.c:10: 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: trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _trojka_h_ ^~~~~~~~~~ In file included from screen.c:12: screen.h:41:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _screen_ ^~~~~~~~ In file included from screen.c:13: 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'; did you mean 'nodelay'? [-Wimplicit-function-declaration] delay(1000); ^~~~~ nodelay In file included from screen.c:8: 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:1280: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:1280: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' screen.c:14:1: +#include screen.c:149:15: movexy((80 - strlen(mesg[n])) / 2, MESG_Y); ^~~~~~ /usr/local/include/ncurses/curses.h:1280: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'; did you mean 'listscores'? [-Wimplicit-function-declaration] readscores(); /* re-read scores */ ^~~~~~~~~~ listscores screen.c:201:2: warning: implicit declaration of function 'killkeys'; did you mean 'killchar'? [-Wimplicit-function-declaration] killkeys(); ^~~~~~~~ killchar --- scan.o --- In file included from scan.c:9: 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'; did you mean 'nodelay'? [-Wimplicit-function-declaration] delay(100); ^~~~~ nodelay scan.c:44:3: warning: implicit declaration of function 'shiftblocks'; did you mean 'shifblocks'? [-Wimplicit-function-declaration] shiftblocks(); ^~~~~~~~~~~ shifblocks 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'; did you mean 'va_start'? [-Wimplicit-function-declaration] makestars(x, y); ^~~~~~~~~ va_start scan.c: In function 'shiftdown': scan.c:123:3: warning: implicit declaration of function 'makeblock'; did you mean 'shifblocks'? [-Wimplicit-function-declaration] makeblock(x, y, field[x][y]); ^~~~~~~~~ shifblocks --- system.o --- In file included from system.c:30: 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, from system.c:20: /usr/include/sys/signal.h:317: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, from system.c:20: /usr/include/sys/signal.h:317:17: note: expected 'void (*)(int)' but argument is of type 'int (*)()' __sighandler_t *signal(int, __sighandler_t *); --- trojka.o --- In file included from trojka.c:11: trojka.h:105:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _trojka_h_ ^~~~~~~~~~ In file included from trojka.c:12: 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:13:1: +#include trojka.c:71:30: sfile = (struct scorefile *)malloc(FILE_SIZE); ^~~~~~ --- system.o --- ^~~~~~ 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' system.c:31:1: +#include system.c:118:2: exit(0); ^~~~ --- trojka.o --- 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'; did you mean 'multscore'? [-Wimplicit-function-declaration] readscores(); ^~~~~~~~~~ multscore trojka.c:77:2: warning: implicit declaration of function 'initcurses'; did you mean 'initscr'? [-Wimplicit-function-declaration] initcurses(); ^~~~~~~~~~ initscr trojka.c:81:3: warning: implicit declaration of function 'titlescreen'; did you mean 'delscreen'? [-Wimplicit-function-declaration] titlescreen(); ^~~~~~~~~~~ delscreen trojka.c:83:17: warning: implicit declaration of function 'selectspeed'; did you mean 'check_speed'? [-Wimplicit-function-declaration] speed = (int)selectspeed(); ^~~~~~~~~~~ check_speed 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'; did you mean 'check_speed'? [-Wimplicit-function-declaration] showspeed(speed); ^~~~~~~~~ check_speed trojka.c:107:3: warning: implicit declaration of function 'wipeblock'; did you mean 'resetblock'? [-Wimplicit-function-declaration] wipeblock(last_xpos, last_ypos); ^~~~~~~~~ resetblock trojka.c:108:3: warning: implicit declaration of function 'makeblock'; did you mean 'resetblock'? [-Wimplicit-function-declaration] makeblock(xpos, ypos, shape); ^~~~~~~~~ resetblock trojka.c:114:3: warning: implicit declaration of function 'delay'; did you mean 'play'? [-Wimplicit-function-declaration] delay(Pause); /* game speed */ ^~~~~ play trojka.c:118:10: warning: implicit declaration of function 'getkey'; did you mean 'getbegy'? [-Wimplicit-function-declaration] switch(getkey()) { /* key control */ ^~~~~~ getbegy trojka.c:152:4: warning: implicit declaration of function 'redraw'; did you mean 'wredrawln'? [-Wimplicit-function-declaration] redraw(); ^~~~~~ wredrawln trojka.c:165:7: warning: implicit declaration of function 'scan'; did you mean 'scanw'? [-Wimplicit-function-declaration] if(scan() < PLM_TOP) { ^~~~ scanw trojka.c:172:5: warning: implicit declaration of function 'statistics' [-Wimplicit-function-declaration] statistics(); ^~~~~~~~~~ trojka.c:173:5: warning: implicit declaration of function 'showscore'; did you mean 'multscore'? [-Wimplicit-function-declaration] showscore(); ^~~~~~~~~ multscore 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'; did you mean 'wmove'? [-Wimplicit-function-declaration] gameover(); ^~~~~~~~ wmove trojka.c: In function 'initialize': trojka.c:231:2: warning: implicit declaration of function 'reset_f'; did you mean 'resetty'? [-Wimplicit-function-declaration] reset_f(); /* reset shadow buffer in scan.c */ ^~~~~~~ resetty In file included from trojka.c:11: trojka.c: In function 'resetgame': trojka.h:99:21: warning: implicit declaration of function 'srand'; did you mean 'scanw'? [-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'; did you mean 'true'? [-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'; did you mean 'raw'? [-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'; did you mean 'howmany'? [-Wimplicit-function-declaration] showmesg(mesg_count++); ^~~~~~~~ howmany 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 --- 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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for trojka-1.0_1 ===> trojka-1.0_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> 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) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for trojka-1.0_1 file sizes/checksums [3]: 0% file sizes/checksums [3]: 100% packing files [3]: 0% packing files [3]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:04