+ 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/spellcast-1.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spellcast-1.2nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for spellcast-1.2nb1 --- engine.o --- --- espells.o --- --- execute.o --- --- execute2.o --- --- engine.o --- gcc -O -I/opt/pkg/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -I/opt/pkg/include -c engine.c --- espells.o --- gcc -O -I/opt/pkg/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -I/opt/pkg/include -c espells.c --- execute2.o --- gcc -O -I/opt/pkg/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -I/opt/pkg/include -c execute2.c --- execute.o --- gcc -O -I/opt/pkg/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -I/opt/pkg/include -c execute.c --- engine.o --- engine.c: In function 'add_query': engine.c:37:43: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 37 | self->querylist = (struct query *)realloc(self->querylist, sizeof(struct query) * self->querylist_size); | ^~~~~~~ engine.c:6:1: note: include '' or provide a declaration of 'realloc' 5 | #include "internal.h" +++ |+#include 6 | engine.c:37:43: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 37 | self->querylist = (struct query *)realloc(self->querylist, sizeof(struct query) * self->querylist_size); | ^~~~~~~ engine.c:37:43: note: include '' or provide a declaration of 'realloc' engine.c: In function 'InitBeing': engine.c:107:5: error: implicit declaration of function 'clear_round' [-Wimplicit-function-declaration] 107 | clear_round(fred); | ^~~~~~~~~~~ engine.c: In function 'write_gestures': engine.c:153:43: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 153 | wiz->gests = (struct wizgesture *)realloc(wiz->gests, wiz->gests_size * sizeof(struct wizgesture)); | ^~~~~~~ engine.c:153:43: note: include '' or provide a declaration of 'realloc' engine.c: In function 'BeginGame': engine.c:189:48: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 189 | struct realgame *self = (struct realgame *)malloc(sizeof(struct realgame)); | ^~~~~~ engine.c:189:48: note: include '' or provide a declaration of 'malloc' engine.c:189:48: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] engine.c:189:48: note: include '' or provide a declaration of 'malloc' engine.c:192:5: error: implicit declaration of function 'srandom' [-Wimplicit-function-declaration] 192 | srandom(getpid() + rock + numplayers); | ^~~~~~~ engine.c:192:13: error: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 192 | srandom(getpid() + rock + numplayers); | ^~~~~~ engine.c:203:5: error: implicit declaration of function 'init_transcript'; did you mean 'WriteTranscript'? [-Wimplicit-function-declaration] 203 | init_transcript(self); | ^~~~~~~~~~~~~~~ | WriteTranscript In file included from engine.c:5: internal.h:3:26: error: implicit declaration of function 'log_text' [-Wimplicit-function-declaration] 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^~~~~~~~ engine.c:206:9: note: in expansion of macro 'PrintMsg' 206 | PrintMsg("Too many players requested.\n"); | ^~~~~~~~ engine.c: In function 'RunTurn': engine.c:317:30: error: implicit declaration of function 'random' [-Wimplicit-function-declaration] 317 | jx = random() % 2; | ^~~~~~ engine.c:345:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 345 | add_query(self, kx, Qu_CharmGesture, (char *)val); | ^ engine.c:431:5: error: implicit declaration of function 'log_round_header' [-Wimplicit-function-declaration] 431 | log_round_header(self); | ^~~~~~~~~~~~~~~~ engine.c: In function 'FreeGame': engine.c:615:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 615 | free((char *)self->wiz[ix]); | ^~~~ engine.c:615:9: note: include '' or provide a declaration of 'free' engine.c:615:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] engine.c:615:9: note: include '' or provide a declaration of 'free' engine.c:619:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 619 | free(self->cre[ix].name); | ^~~~ engine.c:619:9: note: include '' or provide a declaration of 'free' engine.c:621:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 621 | free((char *)self->cre); | ^~~~ engine.c:621:5: note: include '' or provide a declaration of 'free' engine.c: In function 'setup_targetlist': engine.c:635:48: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 635 | self->targetlist[0] = (struct target *)realloc(self->targetlist[0], sizeof(struct target) * self->targetlist_size[0]); | ^~~~~~~ engine.c:635:48: note: include '' or provide a declaration of 'realloc' engine.c:639:48: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 639 | self->targetlist[1] = (struct target *)realloc(self->targetlist[1], sizeof(struct target) * self->targetlist_size[1]); | ^~~~~~~ engine.c:639:48: note: include '' or provide a declaration of 'realloc' engine.c:643:48: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 643 | self->targetlist[2] = (struct target *)realloc(self->targetlist[2], sizeof(struct target) * self->targetlist_size[2]); | ^~~~~~~ engine.c:643:48: note: include '' or provide a declaration of 'realloc' engine.c: In function 'restrict_gestures': engine.c:1009:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1009 | add_query(self, wiznum, Qu_SetOffDelay, (char *)self->wiz[wiznum]->delay_bank); | ^ engine.c: In function 'build_cast_list': engine.c:1037:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1037 | free((char *)self->castlist); | ^~~~ engine.c:1037:9: note: include '' or provide a declaration of 'free' engine.c:1072:47: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1072 | res = (struct castspell *)malloc(sizeof(struct castspell)); | ^~~~~~ engine.c:1072:47: note: include '' or provide a declaration of 'malloc' engine.c:1090:43: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1090 | res = (struct castspell *)malloc(sizeof(struct castspell)); | ^~~~~~ engine.c:1090:43: note: include '' or provide a declaration of 'malloc' engine.c:1099:43: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1099 | res = (struct castspell *)malloc(sizeof(struct castspell)); | ^~~~~~ engine.c:1099:43: note: include '' or provide a declaration of 'malloc' engine.c:1114:47: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1114 | res = (struct castspell *)malloc(sizeof(struct castspell)); | ^~~~~~ engine.c:1114:47: note: include '' or provide a declaration of 'malloc' engine.c:1182:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1182 | free((char *)res); | ^~~~ engine.c:1182:25: note: include '' or provide a declaration of 'free' *** [engine.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/spellcast/work/spellcast --- execute2.o --- In file included from execute2.c:5: execute2.c: In function 'exec_enchants': internal.h:6:45: error: implicit declaration of function 'log_text' [-Wimplicit-function-declaration] 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^~~~~~~~ execute2.c:28:13: note: in expansion of macro 'PrintMsg2' 28 | PrintMsg2(cnum, "The Amnesia spell curls around your mind.\n", exbuf2); | ^~~~~~~~~ execute2.c:71:21: error: implicit declaration of function 'erase_queries' [-Wimplicit-function-declaration] 71 | erase_queries(self); | ^~~~~~~~~~~~~ execute2.c:72:21: error: implicit declaration of function 'add_query' [-Wimplicit-function-declaration] 72 | add_query(self, fred->both.enchant_caster, Qu_ParalysisHand, cnum); | ^~~~~~~~~ --- execute.o --- In file included from execute.c:5: execute.c: In function 'check_visibility': internal.h:9:61: error: implicit declaration of function 'log_text' [-Wimplicit-function-declaration] 9 | #define PrintMsg3(person1, person2, msg1, msg2, msgelse) (log_text(self, msgelse),\ | ^~~~~~~~ execute.c:256:13: note: in expansion of macro 'PrintMsg3' 256 | PrintMsg3(ctmp->caster, ctmp->target, exbuf, exbuf2, exbuf3); | ^~~~~~~~~ execute.c: In function 'execute_spells': execute.c:622:5: error: implicit declaration of function 'erase_queries' [-Wimplicit-function-declaration] 622 | erase_queries(self); | ^~~~~~~~~~~~~ execute.c:626:17: error: implicit declaration of function 'add_query' [-Wimplicit-function-declaration] 626 | add_query(self, ix, Qu_ElementalType, 0); | ^~~~~~~~~ execute.c: In function 'exec_summons': --- execute2.o --- execute2.c:121:124: error: implicit declaration of function 'pro_he' [-Wimplicit-function-declaration] 121 | sprintf(exbuf2, "The Charm Monster spell curls around %s, and %s smiles dopily at %s.\n", fred->both.name, pro_he(fred->both.gender), self->wiz[fred->cre.owner]->name); | ^~~~~~ execute2.c:268:131: error: implicit declaration of function 'pro_his' [-Wimplicit-function-declaration] 268 | sprintf(exbuf2, "The Anti-Spell jolts %s, causing the magical energies around %s hands to flicker.\n", wiz->name, pro_his(wiz->gender)); | ^~~~~~~ --- execute.o --- execute.c:812:17: error: implicit declaration of function 'create_creature' [-Wimplicit-function-declaration] 812 | create_creature(self, ix+1, cnum); | ^~~~~~~~~~~~~~~ --- execute2.o --- execute2.c:271:17: error: implicit declaration of function 'write_gestures' [-Wimplicit-function-declaration] 271 | write_gestures(self, wiz, Gesture_ANTISPELL, Gesture_ANTISPELL); | ^~~~~~~~~~~~~~ execute2.c:555:9: error: implicit declaration of function 'clear_permstats' [-Wimplicit-function-declaration] 555 | clear_permstats(&(fred->both.perm)); | ^~~~~~~~~~~~~~~ execute2.c: In function 'exec_attacks': execute2.c:698:139: error: implicit declaration of function 'pro_him' [-Wimplicit-function-declaration] 698 | sprintf(exbuf2, "The %s Lightning Bolts strike %s, staggering %s.\n", number_name(zapl[SP__LIGHTNING_BOLT]), fred->both.name, pro_him(fred->both.gender)); | ^~~~~~~ execute2.c: In function 'exec_heals': execute2.c:920:13: error: implicit declaration of function 'clear_out_spells' [-Wimplicit-function-declaration] 920 | clear_out_spells(fred, wizflag); | ^~~~~~~~~~~~~~~~ --- execute.o --- *** [execute.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/spellcast/work/spellcast --- execute2.o --- *** [execute2.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/spellcast/work/spellcast bmake: 3 errors bmake: stopped making "all" in /home/pbulk/build/games/spellcast/work/spellcast *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/spellcast *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/spellcast