+ 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/knightcap-3.6nb8/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/knightcap-3.6nb8/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for knightcap-3.6nb8 --- knightcap.o --- --- trackball.o --- --- move.o --- --- util.o --- --- generate.o --- --- eval.o --- --- movement.o --- --- ordering.o --- --- knightcap.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -c knightcap.c In file included from knightcap.c:7: knightcap.h:234: warning: "INFINITY" redefined 234 | #define INFINITY (40.50*STATIC_PAWN_VALUE) | In file included from /usr/include/math.h:36, from includes.h:8, from knightcap.c:5: /usr/include/iso/math_c99.h:59: note: this is the location of the previous definition 59 | #define INFINITY (__builtin_inff()) | In file included from knightcap.c:7: knightcap.h:664:21: error: conflicting types for 'fmin' 664 | static inline float fmin(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from knightcap.c:5: /usr/include/iso/math_c99.h:251:15: note: previous declaration of 'fmin' was here 251 | extern double fmin(double, double); | ^~~~ In file included from knightcap.c:7: knightcap.h:669:21: error: conflicting types for 'fmax' 669 | static inline float fmax(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from knightcap.c:5: /usr/include/iso/math_c99.h:250:15: note: previous declaration of 'fmax' was here 250 | extern double fmax(double, double); | ^~~~ knightcap.c: In function 'parse_stdin': knightcap.c:359:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 359 | if (opponent == CRAFTY) | ^ *** [knightcap.o] Error code 1 bmake: stopped in /home/pbulk/build/games/knightcap/work/Export --- trackball.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -c trackball.c --- move.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -c move.c --- util.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -c util.c --- generate.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -c generate.c --- eval.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -c eval.c --- movement.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -c movement.c --- ordering.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -c ordering.c --- move.o --- In file included from move.c:2: knightcap.h:234: warning: "INFINITY" redefined 234 | #define INFINITY (40.50*STATIC_PAWN_VALUE) | In file included from /usr/include/math.h:36, from includes.h:8, from move.c:1: /usr/include/iso/math_c99.h:59: note: this is the location of the previous definition 59 | #define INFINITY (__builtin_inff()) | In file included from move.c:2: knightcap.h:664:21: error: conflicting types for 'fmin' 664 | static inline float fmin(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from move.c:1: /usr/include/iso/math_c99.h:251:15: note: previous declaration of 'fmin' was here 251 | extern double fmin(double, double); | ^~~~ In file included from move.c:2: knightcap.h:669:21: error: conflicting types for 'fmax' 669 | static inline float fmax(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from move.c:1: /usr/include/iso/math_c99.h:250:15: note: previous declaration of 'fmax' was here 250 | extern double fmax(double, double); | ^~~~ move.c: In function 'search_expired': move.c:43:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 43 | if (state->computer == 0) | ^ --- util.o --- In file included from util.c:2: knightcap.h:234: warning: "INFINITY" redefined 234 | #define INFINITY (40.50*STATIC_PAWN_VALUE) | In file included from /usr/include/math.h:36, from includes.h:8, from util.c:1: /usr/include/iso/math_c99.h:59: note: this is the location of the previous definition 59 | #define INFINITY (__builtin_inff()) | In file included from util.c:2: knightcap.h:664:21: error: conflicting types for 'fmin' 664 | static inline float fmin(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from util.c:1: /usr/include/iso/math_c99.h:251:15: note: previous declaration of 'fmin' was here 251 | extern double fmin(double, double); | ^~~~ In file included from util.c:2: knightcap.h:669:21: error: conflicting types for 'fmax' 669 | static inline float fmax(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from util.c:1: /usr/include/iso/math_c99.h:250:15: note: previous declaration of 'fmax' was here 250 | extern double fmax(double, double); | ^~~~ --- generate.o --- In file included from generate.c:2: knightcap.h:234: warning: "INFINITY" redefined 234 | #define INFINITY (40.50*STATIC_PAWN_VALUE) | In file included from /usr/include/math.h:36, from includes.h:8, from generate.c:1: /usr/include/iso/math_c99.h:59: note: this is the location of the previous definition 59 | #define INFINITY (__builtin_inff()) | In file included from generate.c:2: knightcap.h:664:21: error: conflicting types for 'fmin' 664 | static inline float fmin(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from generate.c:1: /usr/include/iso/math_c99.h:251:15: note: previous declaration of 'fmin' was here 251 | extern double fmin(double, double); | ^~~~ In file included from generate.c:2: knightcap.h:669:21: error: conflicting types for 'fmax' 669 | static inline float fmax(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from generate.c:1: /usr/include/iso/math_c99.h:250:15: note: previous declaration of 'fmax' was here 250 | extern double fmax(double, double); | ^~~~ --- move.o --- At top level: move.c:1828:13: warning: 'show_eval' defined but not used [-Wunused-function] 1828 | static void show_eval(Position *b, Eval v, int edepth) | ^~~~~~~~~ --- util.o --- util.c: In function 'parse_algebraic': util.c:190:6: warning: variable 'capture' set but not used [-Wunused-but-set-variable] 190 | int capture = 0; | ^~~~~~~ --- move.o --- *** [move.o] Error code 1 bmake: stopped in /home/pbulk/build/games/knightcap/work/Export --- generate.o --- *** [generate.o] Error code 1 bmake: stopped in /home/pbulk/build/games/knightcap/work/Export --- eval.o --- In file included from eval.c:4: knightcap.h:234: warning: "INFINITY" redefined 234 | #define INFINITY (40.50*STATIC_PAWN_VALUE) | In file included from /usr/include/math.h:36, from includes.h:8, from eval.c:3: /usr/include/iso/math_c99.h:59: note: this is the location of the previous definition 59 | #define INFINITY (__builtin_inff()) | In file included from eval.c:4: knightcap.h:664:21: error: conflicting types for 'fmin' 664 | static inline float fmin(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from eval.c:3: /usr/include/iso/math_c99.h:251:15: note: previous declaration of 'fmin' was here 251 | extern double fmin(double, double); | ^~~~ In file included from eval.c:4: knightcap.h:669:21: error: conflicting types for 'fmax' 669 | static inline float fmax(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from eval.c:3: /usr/include/iso/math_c99.h:250:15: note: previous declaration of 'fmax' was here 250 | extern double fmax(double, double); | ^~~~ --- util.o --- *** [util.o] Error code 1 bmake: stopped in /home/pbulk/build/games/knightcap/work/Export --- eval.o --- eval.c: In function 'board_control1': eval.c:1169:51: warning: variable 'oldblack_holes' set but not used [-Wunused-but-set-variable] 1169 | uint64 white_holes, black_holes, oldwhite_holes, oldblack_holes; | ^~~~~~~~~~~~~~ eval.c:1169:35: warning: variable 'oldwhite_holes' set but not used [-Wunused-but-set-variable] 1169 | uint64 white_holes, black_holes, oldwhite_holes, oldblack_holes; | ^~~~~~~~~~~~~~ eval.c:1169:22: warning: variable 'black_holes' set but not used [-Wunused-but-set-variable] 1169 | uint64 white_holes, black_holes, oldwhite_holes, oldblack_holes; | ^~~~~~~~~~~ eval.c:1169:9: warning: variable 'white_holes' set but not used [-Wunused-but-set-variable] 1169 | uint64 white_holes, black_holes, oldwhite_holes, oldblack_holes; | ^~~~~~~~~~~ --- movement.o --- In file included from movement.c:8: knightcap.h:234: warning: "INFINITY" redefined 234 | #define INFINITY (40.50*STATIC_PAWN_VALUE) | In file included from /usr/include/math.h:36, from includes.h:8, from movement.c:7: /usr/include/iso/math_c99.h:59: note: this is the location of the previous definition 59 | #define INFINITY (__builtin_inff()) | In file included from movement.c:8: knightcap.h:664:21: error: conflicting types for 'fmin' 664 | static inline float fmin(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from movement.c:7: /usr/include/iso/math_c99.h:251:15: note: previous declaration of 'fmin' was here 251 | extern double fmin(double, double); | ^~~~ In file included from movement.c:8: knightcap.h:669:21: error: conflicting types for 'fmax' 669 | static inline float fmax(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from movement.c:7: /usr/include/iso/math_c99.h:250:15: note: previous declaration of 'fmax' was here 250 | extern double fmax(double, double); | ^~~~ *** [movement.o] Error code 1 bmake: stopped in /home/pbulk/build/games/knightcap/work/Export --- eval.o --- *** [eval.o] Error code 1 bmake: stopped in /home/pbulk/build/games/knightcap/work/Export --- ordering.o --- In file included from ordering.c:3: knightcap.h:234: warning: "INFINITY" redefined 234 | #define INFINITY (40.50*STATIC_PAWN_VALUE) | In file included from /usr/include/math.h:36, from includes.h:8, from ordering.c:2: /usr/include/iso/math_c99.h:59: note: this is the location of the previous definition 59 | #define INFINITY (__builtin_inff()) | In file included from ordering.c:3: knightcap.h:664:21: error: conflicting types for 'fmin' 664 | static inline float fmin(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from ordering.c:2: /usr/include/iso/math_c99.h:251:15: note: previous declaration of 'fmin' was here 251 | extern double fmin(double, double); | ^~~~ In file included from ordering.c:3: knightcap.h:669:21: error: conflicting types for 'fmax' 669 | static inline float fmax(float i1, float i2) | ^~~~ In file included from /usr/include/math.h:36, from includes.h:8, from ordering.c:2: /usr/include/iso/math_c99.h:250:15: note: previous declaration of 'fmax' was here 250 | extern double fmax(double, double); | ^~~~ *** [ordering.o] Error code 1 bmake: stopped in /home/pbulk/build/games/knightcap/work/Export 7 errors bmake: stopped in /home/pbulk/build/games/knightcap/work/Export *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/knightcap *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/knightcap