=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/spellcast", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for spellcast-1.2nb1 --- engine.o --- --- espells.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 --- 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' --- 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.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/games/spellcast/work/spellcast --- 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': execute.c:812:17: error: implicit declaration of function 'create_creature' [-Wimplicit-function-declaration] 812 | create_creature(self, ix+1, cnum); | ^~~~~~~~~~~~~~~ *** [execute.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/games/spellcast/work/spellcast bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/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