+ 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/xcdplayer-2.2nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xcdplayer-2.2nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for xcdplayer-2.2nb6
bmake: "/home/pbulk/build/audio/xcdplayer/work/xcdplayer-2.2/Makefile" line 970: warning: duplicate script for target "lint" ignored
bmake: "/home/pbulk/build/audio/xcdplayer/work/xcdplayer-2.2/Makefile" line 948: warning: using previous script for "lint" defined here
bmake: "/home/pbulk/build/audio/xcdplayer/work/xcdplayer-2.2/Makefile" line 972: warning: duplicate script for target "lint1" ignored
bmake: "/home/pbulk/build/audio/xcdplayer/work/xcdplayer-2.2/Makefile" line 950: warning: using previous script for "lint1" defined here
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       -I/opt/pkg/include -c main.c
main.c: In function 'usage':
main.c:48:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   48 |         exit(1);
      |         ^~~~
main.c:23:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   22 | # include "cdrom_globs.h"
  +++ |+#include <stdlib.h>
   23 | 
main.c:48:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   48 |         exit(1);
      |         ^~~~
main.c:48:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c: In function 'main':
main.c:79:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   79 |         exit(0);
      |         ^~~~
main.c:79:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
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       -I/opt/pkg/include -c top_setup.c
top_setup.c: In function 'top_setup':
top_setup.c:115:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  115 |                 exit(1);
      |                 ^~~~
top_setup.c:27:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   26 | # include "logo.xbm"
  +++ |+#include <stdlib.h>
   27 | 
top_setup.c:115:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  115 |                 exit(1);
      |                 ^~~~
top_setup.c:115:17: note: include '<stdlib.h>' or provide a declaration of 'exit'
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       -I/opt/pkg/include -c logo_setup.c
logo_setup.c: In function 'cb_track_button':
logo_setup.c:271:17: warning: implicit declaration of function 'cdrom_new_disc' [-Wimplicit-function-declaration]
  271 |                 cdrom_new_disc();
      |                 ^~~~~~~~~~~~~~
logo_setup.c: In function 'cb_timer_button':
logo_setup.c:333:51: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
  333 |                 sprintf(timer_buf, "-%02u:%02u\n",abs(time_remaining) / 60,
      |                                                   ^~~
logo_setup.c:44:1: note: include '<stdlib.h>' or provide a declaration of 'abs'
   43 | # include <X11/bitmaps/gray>
  +++ |+#include <stdlib.h>
   44 | 
logo_setup.c: In function 'volume_jump_proc':
logo_setup.c:430:9: warning: implicit declaration of function 'debug_printf' [-Wimplicit-function-declaration]
  430 |         debug_printf(1, "volume=%u\n", (unsigned int) vol);
      |         ^~~~~~~~~~~~
logo_setup.c: In function 'volume_scroll_proc':
logo_setup.c:448:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  448 |         if ((abspos = (int) position) < 0)
      |                       ^
logo_setup.c:472:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  472 |         if ((int) position < 0)
      |             ^
logo_setup.c: In function 'Done':
logo_setup.c:591:13: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
  591 |             free(disc_title);
      |             ^~~~
logo_setup.c:591:13: note: include '<stdlib.h>' or provide a declaration of 'free'
logo_setup.c:591:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
logo_setup.c:591:13: note: include '<stdlib.h>' or provide a declaration of 'free'
logo_setup.c: In function 'popdown_title_dialog':
logo_setup.c:609:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
  609 |             free(disc_title);
      |             ^~~~
logo_setup.c:609:13: note: include '<stdlib.h>' or provide a declaration of 'free'
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       -I/opt/pkg/include -c button_setup.c
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       -I/opt/pkg/include -c cdrom_callb.c
cdrom_callb.c: In function 'cb_cdrom_play':
cdrom_callb.c:52:17: warning: implicit declaration of function 'debug_printf'; did you mean 'debug_print'? [-Wimplicit-function-declaration]
   52 |                 debug_printf(1, "cb_cdrom_play: error from cdrom_open\n");
      |                 ^~~~~~~~~~~~
      |                 debug_print
cdrom_callb.c:55:17: warning: implicit declaration of function 'eject_button_set'; did you mean 'eject_button_reset'? [-Wimplicit-function-declaration]
   55 |                 eject_button_set();
      |                 ^~~~~~~~~~~~~~~~
      |                 eject_button_reset
cdrom_callb.c: In function 'cb_cdrom_stop':
cdrom_callb.c:226:17: warning: implicit declaration of function 'stop_button_reset'; did you mean 'pgm_button_reset'? [-Wimplicit-function-declaration]
  226 |                 stop_button_reset();
      |                 ^~~~~~~~~~~~~~~~~
      |                 pgm_button_reset
cdrom_callb.c: In function 'cb_cdrom_quit':
cdrom_callb.c:602:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  602 |         exit(0);
      |         ^~~~
cdrom_callb.c:30:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   29 | # include "cdrom_sun.h"
  +++ |+#include <stdlib.h>
   30 | #endif
cdrom_callb.c:602:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  602 |         exit(0);
      |         ^~~~
cdrom_callb.c:602:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
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       -I/opt/pkg/include -c cdrom_sun.c
cdrom_sun.c:26:11: fatal error: sun/dkio.h: No such file or directory
   26 | # include <sun/dkio.h>
      |           ^~~~~~~~~~~~
compilation terminated.
*** [cdrom_sun.o] Error code 1

bmake: stopped in /home/pbulk/build/audio/xcdplayer/work/xcdplayer-2.2
1 error

bmake: stopped in /home/pbulk/build/audio/xcdplayer/work/xcdplayer-2.2
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/xcdplayer