+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/knightcap-3.6nb8/work.log + su pbulk -c '"$@"' make /usr/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 --- --- knightcap.o --- gcc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/usr/pkg/share/egtb\" -I/usr/pkg/include -I/usr/pkg/include -DRENDERED_DISPLAY=1 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -c knightcap.c --- trackball.o --- gcc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -O2 -fshort-enums -Wall -DTB_DIR=\"/usr/pkg/share/egtb\" -I/usr/pkg/include -I/usr/pkg/include -DRENDERED_DISPLAY=1 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -c trackball.c --- knightcap.o --- In file included from knightcap.c:7:0: knightcap.h:234:0: warning: "INFINITY" redefined [enabled by default] #define INFINITY (40.50*STATIC_PAWN_VALUE) ^ In file included from /usr/include/math.h:39:0, from includes.h:8, from knightcap.c:5: /usr/include/bits/inf.h:26:0: note: this is the location of the previous definition # define INFINITY (__builtin_inff()) ^ In file included from knightcap.c:7:0: knightcap.h:664:21: error: conflicting types for 'fmin' static inline float fmin(float i1, float i2) ^ knightcap.h:669:21: error: conflicting types for 'fmax' static inline float fmax(float i1, float i2) ^ knightcap.c: In function 'parse_stdin': knightcap.c:359:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (opponent == CRAFTY) ^ knightcap.c: In function 'idle_func': knightcap.c:675:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("killall sleep"); ^ knightcap.c:677:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("killall sleep"); ^ knightcap.c: In function 'save_game': knightcap.c:751:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, state, sizeof(*state)); ^ knightcap.c: In function 'restore_game': knightcap.c:762:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, state, sizeof(*state)); ^ knightcap.c: In function 'parse_options': knightcap.c:1089:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", opponents_list); ^ knightcap.c:1095:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s", noplay_list); ^ *** [knightcap.o] Error code 1 bmake: stopped in /home/pbulk/build/games/knightcap/work/Export 1 error bmake: stopped in /home/pbulk/build/games/knightcap/work/Export *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/knightcap *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/knightcap