+ 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/sci-0.5.6nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sci-0.5.6nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for sci-0.5.6nb2
cd . && autoheader
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.in'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /usr/bin/bash ./config.status
creating config.h
config.h is unchanged
/opt/pkg/bin/bmake  all-recursive
Making all in samples
CURSESH="/usr/include/ncurses.h" ;  [ ! -f $CURSESH ] && CURSESH="/usr/include/curses.h" ;  sed -nf ./keys.sed < $CURSESH >./keys.x
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -c sci.c
sci.c:221:5: error: conflicting types for 'usleep'; have 'int(long unsigned int)'
  221 | int usleep(unsigned long usec);
      |     ^~~~~~
In file included from sci.c:48:
/usr/include/unistd.h:560:12: note: previous declaration of 'usleep' with type 'int(useconds_t)' {aka 'int(unsigned int)'}
  560 | extern int usleep(useconds_t);
      |            ^~~~~~
*** [sci.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/misc/sci/work/sci-0.5.6
1 error

bmake[2]: stopped in /home/pbulk/build/misc/sci/work/sci-0.5.6
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/misc/sci/work/sci-0.5.6
1 error

bmake[1]: stopped in /home/pbulk/build/misc/sci/work/sci-0.5.6
*** [all-recursive-am] Error code 2

bmake: stopped in /home/pbulk/build/misc/sci/work/sci-0.5.6
1 error

bmake: stopped in /home/pbulk/build/misc/sci/work/sci-0.5.6
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/sci
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/sci