+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spider-1.1nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spider-1.1nb3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for spider-1.1nb3 --- gfx.o --- --- spider.o --- --- events.o --- --- windows.o --- --- gfx.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DXAW -DROUND_CARDS -DHELPDIR="\"/opt/pkg/share/doc/spider\"" -c gfx.c --- spider.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DXAW -DROUND_CARDS -DHELPDIR="\"/opt/pkg/share/doc/spider\"" -c spider.c --- events.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DXAW -DROUND_CARDS -DHELPDIR="\"/opt/pkg/share/doc/spider\"" -c events.c --- windows.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DXAW -DROUND_CARDS -DHELPDIR="\"/opt/pkg/share/doc/spider\"" -c windows.c --- spider.o --- In file included from spider.c:17: defs.h:34:7: warning: extra tokens at end of #else directive [-Wendif-labels] 34 | #else DEBUG | ^~~~~ defs.h:63:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 63 | #endif DEBUG | ^~~~~ In file included from spider.c:18: globals.h:95:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 95 | #endif KITLESS | ^~~~~~~ --- gfx.o --- In file included from gfx.c:16: defs.h:34:7: warning: extra tokens at end of #else directive [-Wendif-labels] 34 | #else DEBUG | ^~~~~ defs.h:63:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 63 | #endif DEBUG | ^~~~~ --- spider.o --- spider.c:30:1: error: return type defaults to 'int' [-Wimplicit-int] 30 | card_init() | ^~~~~~~~~ spider.c: In function 'card_init': spider.c:65:33: error: implicit declaration of function 'add_card'; did you mean 'last_card'? [-Wimplicit-function-declaration] 65 | add_card(tmp, tmp2, LOC_BEFORE, deck); | ^~~~~~~~ | last_card --- events.o --- In file included from events.c:17: defs.h:34:7: warning: extra tokens at end of #else directive [-Wendif-labels] 34 | #else DEBUG | ^~~~~ defs.h:63:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 63 | #endif DEBUG | ^~~~~ --- spider.o --- spider.c:75:9: error: implicit declaration of function 'shuffle_cards' [-Wimplicit-function-declaration] 75 | shuffle_cards(); | ^~~~~~~~~~~~~ spider.c: At top level: spider.c:87:1: error: return type defaults to 'int' [-Wimplicit-int] 87 | compare(a1, a2) | ^~~~~~~ spider.c:96:1: error: return type defaults to 'int' [-Wimplicit-int] 96 | remove_all_cards(cache) | ^~~~~~~~~~~~~~~~ spider.c: In function 'remove_all_cards': spider.c:105:17: error: implicit declaration of function 'remove_card'; did you mean 'remove_all_cards'? [-Wimplicit-function-declaration] 105 | remove_card(tmp); | ^~~~~~~~~~~ | remove_all_cards spider.c: At top level: spider.c:131:1: error: return type defaults to 'int' [-Wimplicit-int] 131 | shuffle_cards() | ^~~~~~~~~~~~~ spider.c: In function 'shuffle_cards': spider.c:153:9: error: implicit declaration of function 'make_deck_cache' [-Wimplicit-function-declaration] 153 | make_deck_cache(); | ^~~~~~~~~~~~~~~ spider.c:168:9: error: implicit declaration of function 'init_cache' [-Wimplicit-function-declaration] 168 | init_cache(); | ^~~~~~~~~~ spider.c: At top level: --- events.o --- In file included from events.c:18: globals.h:95:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 95 | #endif KITLESS | ^~~~~~~ --- spider.o --- spider.c:174:1: error: return type defaults to 'int' [-Wimplicit-int] 174 | deal_cards() | ^~~~~~~~~~ spider.c: In function 'deal_cards': spider.c:214:17: error: implicit declaration of function 'show_list' [-Wimplicit-function-declaration] 214 | show_list(stack[i], stack[i]->cards); | ^~~~~~~~~ spider.c: In function 'deal_next_hand': spider.c:232:25: error: implicit declaration of function 'spider_bell' [-Wimplicit-function-declaration] 232 | spider_bell(dpy, 0); | ^~~~~~~~~~~ spider.c:252:25: error: implicit declaration of function 'show_card' [-Wimplicit-function-declaration] 252 | show_card(tmp); | ^~~~~~~~~ spider.c:265:17: error: implicit declaration of function 'record' [-Wimplicit-function-declaration] 265 | record (0, 0, 0, True); | ^~~~~~ spider.c: At top level: spider.c:277:1: error: return type defaults to 'int' [-Wimplicit-int] 277 | flip_card(card, state) | ^~~~~~~~~ spider.c:290:1: error: return type defaults to 'int' [-Wimplicit-int] 290 | add_card(new, old, location, list) | ^~~~~~~~ spider.c:431:1: error: return type defaults to 'int' [-Wimplicit-int] 431 | remove_card(card) | ^~~~~~~~~~~ --- events.o --- events.c: In function 'button_press': --- spider.o --- spider.c:621:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 621 | #endif DEBUG | ^~~~~ --- events.o --- events.c:237:25: error: implicit declaration of function 'spider_bell' [-Wimplicit-function-declaration] 237 | spider_bell(dpy, 0); | ^~~~~~~~~~~ --- spider.o --- spider.c:883:1: error: return type defaults to 'int' [-Wimplicit-int] 883 | show_full_suits() | ^~~~~~~~~~~~~~~ --- events.o --- events.c:249:25: error: implicit declaration of function 'show_full_suits' [-Wimplicit-function-declaration] 249 | show_full_suits(); | ^~~~~~~~~~~~~~~ events.c: In function 'button_release': events.c:275:33: error: implicit declaration of function 'deal_cards' [-Wimplicit-function-declaration] 275 | deal_cards(); | ^~~~~~~~~~ events.c: In function 'key_press': events.c:395:25: error: implicit declaration of function 'read_file_or_selection' [-Wimplicit-function-declaration] 395 | read_file_or_selection(fname); | ^~~~~~~~~~~~~~~~~~~~~~ events.c:413:25: error: implicit declaration of function 'compute_score' [-Wimplicit-function-declaration] 413 | compute_score()); | ^~~~~~~~~~~~~ --- spider.o --- *** [spider.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/spider/work/spider --- events.o --- events.c:420:17: error: implicit declaration of function 'init_cache' [-Wimplicit-function-declaration] 420 | init_cache(); /* reset move cache */ | ^~~~~~~~~~ --- gfx.o --- In file included from gfx.c:17: globals.h:95:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 95 | #endif KITLESS | ^~~~~~~ --- events.o --- events.c: In function 'do_expand': events.c:568:9: error: implicit declaration of function 'flush_message'; did you mean 'clear_message'? [-Wimplicit-function-declaration] 568 | flush_message(); | ^~~~~~~~~~~~~ | clear_message events.c: At top level: events.c:608:1: error: return type defaults to 'int' [-Wimplicit-int] 608 | spider_bell(d, level) | ^~~~~~~~~~~ *** [events.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/spider/work/spider --- windows.o --- In file included from windows.c:17: defs.h:34:7: warning: extra tokens at end of #else directive [-Wendif-labels] 34 | #else DEBUG | ^~~~~ defs.h:63:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 63 | #endif DEBUG | ^~~~~ In file included from windows.c:18: globals.h:95:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 95 | #endif KITLESS | ^~~~~~~ windows.c:119:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 119 | #endif KITLESS | ^~~~~~~ windows.c:122:1: error: return type defaults to 'int' [-Wimplicit-int] 122 | table_init(win) | ^~~~~~~~~~ windows.c:143:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 143 | #endif KITLESS | ^~~~~~~ *** [windows.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/spider/work/spider --- gfx.o --- gfx.c:123:1: error: return type defaults to 'int' [-Wimplicit-int] 123 | gfx_init(d, scr) | ^~~~~~~~ gfx.c: In function 'gfx_init': gfx.c:174:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 174 | #endif KITLESS | ^~~~~~~ gfx.c:256:9: error: implicit declaration of function 'make_card_maps' [-Wimplicit-function-declaration] 256 | make_card_maps(); | ^~~~~~~~~~~~~~ gfx.c: At top level: gfx.c:297:1: error: return type defaults to 'int' [-Wimplicit-int] 297 | make_card_maps() | ^~~~~~~~~~~~~~ gfx.c: In function 'make_card_maps': gfx.c:310:17: error: implicit declaration of function 'rot_180' [-Wimplicit-function-declaration] 310 | rot_180((unsigned char *)rank_bits[(int)r], new_bits, | ^~~~~~~ gfx.c:348:9: error: implicit declaration of function 'flip_bits' [-Wimplicit-function-declaration] 348 | flip_bits((unsigned char *)spade_bits, new_bits, spade_width, | ^~~~~~~~~ gfx.c: In function 'redraw_deck': gfx.c:599:25: error: implicit declaration of function 'show_card' [-Wimplicit-function-declaration] 599 | show_card(tmp); | ^~~~~~~~~ gfx.c: At top level: gfx.c:720:1: error: return type defaults to 'int' [-Wimplicit-int] 720 | show_list(list, card) | ^~~~~~~~~ gfx.c:768:1: error: return type defaults to 'int' [-Wimplicit-int] 768 | show_card(card) | ^~~~~~~~~ gfx.c: In function 'show_card': gfx.c:777:17: error: implicit declaration of function 'paint_card'; did you mean 'last_card'? [-Wimplicit-function-declaration] 777 | paint_card(card->x, card->y, card->rank, card->suit, delta); | ^~~~~~~~~~ | last_card gfx.c:782:25: error: implicit declaration of function 'paint_cardback' [-Wimplicit-function-declaration] 782 | paint_cardback(card->x, card->y, CARD_HEIGHT); | ^~~~~~~~~~~~~~ gfx.c: At top level: gfx.c:791:1: error: return type defaults to 'int' [-Wimplicit-int] 791 | paint_cardback(x, y, delta) | ^~~~~~~~~~~~~~ gfx.c:831:1: error: return type defaults to 'int' [-Wimplicit-int] 831 | paint_card(x, y, rank, suit, delta) | ^~~~~~~~~~ gfx.c: In function 'paint_card': gfx.c:903:17: error: implicit declaration of function 'draw_king'; did you mean 'draw_did'? [-Wimplicit-function-declaration] 903 | draw_king(suit, x, y); | ^~~~~~~~~ | draw_did gfx.c:906:17: error: implicit declaration of function 'draw_queen' [-Wimplicit-function-declaration] 906 | draw_queen(suit, x, y); | ^~~~~~~~~~ gfx.c:909:17: error: implicit declaration of function 'draw_jack' [-Wimplicit-function-declaration] 909 | draw_jack(suit, x, y); | ^~~~~~~~~ gfx.c:913:17: error: implicit declaration of function 'draw_pip'; did you mean 'draw_did'? [-Wimplicit-function-declaration] 913 | draw_pip(suit, MID_CARD_X + x, CARD_TEN_Y1 + y); | ^~~~~~~~ | draw_did gfx.c:937:17: error: implicit declaration of function 'draw_four_pips'; did you mean 'draw_six_pips'? [-Wimplicit-function-declaration] 937 | draw_four_pips(suit, x, y); | ^~~~~~~~~~~~~~ | draw_six_pips gfx.c:944:17: error: implicit declaration of function 'draw_two_pips'; did you mean 'draw_six_pips'? [-Wimplicit-function-declaration] 944 | draw_two_pips(suit, x, y); | ^~~~~~~~~~~~~ | draw_six_pips gfx.c:953:9: error: implicit declaration of function 'draw_rank' [-Wimplicit-function-declaration] 953 | draw_rank(x, y, rank, suit); | ^~~~~~~~~ gfx.c: At top level: gfx.c:977:1: error: return type defaults to 'int' [-Wimplicit-int] 977 | draw_pip(suit, x, y) | ^~~~~~~~ gfx.c:1089:1: error: return type defaults to 'int' [-Wimplicit-int] 1089 | draw_two_pips(suit, x, y) | ^~~~~~~~~~~~~ gfx.c:1100:1: error: return type defaults to 'int' [-Wimplicit-int] 1100 | draw_four_pips(suit, x, y) | ^~~~~~~~~~~~~~ gfx.c:1147:1: error: return type defaults to 'int' [-Wimplicit-int] 1147 | draw_jack(suit, x, y) | ^~~~~~~~~ gfx.c:1162:1: error: return type defaults to 'int' [-Wimplicit-int] 1162 | draw_queen(suit, x, y) | ^~~~~~~~~~ gfx.c:1177:1: error: return type defaults to 'int' [-Wimplicit-int] 1177 | draw_king(suit, x, y) | ^~~~~~~~~ gfx.c:1192:1: error: return type defaults to 'int' [-Wimplicit-int] 1192 | draw_rank(x, y, rank, suit) | ^~~~~~~~~ gfx.c:1318:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 1318 | #endif KITLESS | ^~~~~~~ gfx.c:1390:1: error: return type defaults to 'int' [-Wimplicit-int] 1390 | flip_bits(src, dst, W, H) | ^~~~~~~~~ gfx.c:1404:1: error: return type defaults to 'int' [-Wimplicit-int] 1404 | rot_180(src, dst, W, H) | ^~~~~~~ *** [gfx.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/spider/work/spider bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/games/spider/work/spider *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/spider *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/spider