+ 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
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())
      | 
knightcap.h:664:21: error: conflicting types for 'fmin'; have 'float(float,  float)'
  664 | static inline float fmin(float i1, float i2)
      |                     ^~~~
/usr/include/iso/math_c99.h:251:15: note: previous declaration of 'fmin' with type 'double(double,  double)'
  251 | extern double fmin(double, double);
      |               ^~~~
knightcap.h:669:21: error: conflicting types for 'fmax'; have 'float(float,  float)'
  669 | static inline float fmax(float i1, float i2)
      |                     ^~~~
/usr/include/iso/math_c99.h:250:15: note: previous declaration of 'fmax' with type 'double(double,  double)'
  250 | extern double fmax(double, double);
      |               ^~~~
knightcap.c: In function 'parse_stdin':
knightcap.c:359:28: 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
1 error

bmake: stopped in /home/pbulk/build/games/knightcap/work/Export
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/knightcap
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/knightcap