+ 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/xemeraldia-0.31nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xemeraldia-0.31nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xemeraldia-0.31nb6
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM     -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DHIGH_SCORE_TABLE=\"/opt/pkg/share/games/xemeraldia/xemeraldia.scores\"                -D__USE_FIXED_PROTOTYPES__ -I/opt/pkg/include -c main.c
In file included from main.c:6:
graphics.h:76:7: error: conflicting types for 'usleep'; have 'void()'
   76 | void  usleep ();
      |       ^~~~~~
In file included from graphics.h:8:
/usr/include/unistd.h:554:12: note: previous declaration of 'usleep' with type 'int(useconds_t)' {aka 'int(unsigned int)'}
  554 | extern int usleep(useconds_t);
      |            ^~~~~~
*** [main.o] Error code 1

bmake: stopped in /home/pbulk/build/games/xemeraldia/work/xemeraldia-0.3
1 error

bmake: stopped in /home/pbulk/build/games/xemeraldia/work/xemeraldia-0.3
*** Error code 2

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

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