+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xemeraldia-0.31nb6/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xemeraldia-0.31nb6/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xemeraldia-0.31nb6
--- main.o ---
--- init-graphics.o ---
--- graphics.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/local/include -I/usr/include -DNO_ASM     -I/opt/local/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DHIGH_SCORE_TABLE=\"/opt/local/share/games/xemeraldia/xemeraldia.scores\"                -D__USE_FIXED_PROTOTYPES__ -I/opt/local/include -I/usr/include -c graphics.c
--- main.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/local/include -I/usr/include -DNO_ASM     -I/opt/local/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DHIGH_SCORE_TABLE=\"/opt/local/share/games/xemeraldia/xemeraldia.scores\"                -D__USE_FIXED_PROTOTYPES__ -I/opt/local/include -I/usr/include -c main.c
--- init-graphics.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/local/include -I/usr/include -DNO_ASM     -I/opt/local/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64      -DHIGH_SCORE_TABLE=\"/opt/local/share/games/xemeraldia/xemeraldia.scores\"                -D__USE_FIXED_PROTOTYPES__ -I/opt/local/include -I/usr/include -c init-graphics.c
--- main.o ---
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);
      |            ^~~~~~
--- graphics.o ---
In file included from graphics.c:5:
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);
      |            ^~~~~~
--- init-graphics.o ---
In file included from init-graphics.c:5:
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 ---
*** [main.o] Error code 1

bmake: stopped making "xemeraldia" in /home/pbulk/build/games/xemeraldia/work/xemeraldia-0.3
--- graphics.o ---
*** [graphics.o] Error code 1

bmake: stopped making "xemeraldia" in /home/pbulk/build/games/xemeraldia/work/xemeraldia-0.3
--- init-graphics.o ---
*** [init-graphics.o] Error code 1

bmake: stopped making "xemeraldia" in /home/pbulk/build/games/xemeraldia/work/xemeraldia-0.3
bmake: 3 errors

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

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/xemeraldia