+ 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/colchess-7.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/colchess-7.0/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for colchess-7.0 --- chess.o --- --- moves.o --- --- comp.o --- --- tactics.o --- --- chess.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I . -Wall -DPREFIX=\"/opt/pkg\" -c chess.c --- comp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I . -Wall -DPREFIX=\"/opt/pkg\" -c comp.c --- tactics.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I . -Wall -DPREFIX=\"/opt/pkg\" -c tactics.c --- moves.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I . -Wall -DPREFIX=\"/opt/pkg\" -c moves.c --- tactics.o --- tactics.c: In function 'tact_rook_kpr': tactics.c:694:21: warning: variable 'b' set but not used [-Wunused-but-set-variable] 694 | int sc=ROOK_SCORE,b=y,a,dpp=0; | ^ --- comp.o --- comp.c:19:9: warning: "INFINITY" redefined 19 | #define INFINITY (100000000) /* Initial value for beta & -alpha */ | ^~~~~~~~ In file included from /usr/include/math.h:36, from comp.c:3: /usr/include/iso/math_c99.h:59:9: note: this is the location of the previous definition 59 | #define INFINITY (__builtin_inff()) | ^~~~~~~~ comp.c: In function 'comp': comp.c:157:3: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 157 | memset(sq->pawnfile, 0, sizeof(sq->pawnfile)); | ^~~~~~ comp.c:14:1: note: include '' or provide a declaration of 'memset' 13 | #include "eval.h" +++ |+#include 14 | comp.c:157:3: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 157 | memset(sq->pawnfile, 0, sizeof(sq->pawnfile)); | ^~~~~~ comp.c:157:3: note: include '' or provide a declaration of 'memset' --- chess.o --- chess.c: In function 'main': chess.c:1000:17: error: implicit declaration of function 'signal'; did you mean 'strsignal'? [-Wimplicit-function-declaration] 1000 | (void)signal(SIGINT, SIG_IGN); | ^~~~~~ | strsignal --- comp.o --- *** [comp.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/colchess/work/ColChess --- chess.o --- *** [chess.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/colchess/work/ColChess bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/games/colchess/work/ColChess *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/colchess *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/colchess