+ 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/syncterm-1.1nb8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/syncterm-1.1nb8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for syncterm-1.1nb8
/opt/pkg/bin/gmake -C /home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev mtlib
gmake[1]: Entering directory '/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev'
Compiling conwrap.c
Compiling dat_file.c
Compiling datewrap.c
Compiling dirwrap.c
Compiling filewrap.c
Compiling genwrap.c
Compiling ini_file.c
Compiling link_list.c
Compiling msg_queue.c
Compiling multisock.c
Compiling semwrap.c
Compiling netwrap.c
Compiling sockwrap.c
Compiling semfile.c
Compiling str_list.c
Compiling strwrap.c
Compiling threadwrap.c
Compiling unicode.c
Compiling xp_dl.c
Compiling xpbeep.c
xpbeep.c: In function 'unix_beep':
xpbeep.c:1195:43: error: 'KIOCSOUND' undeclared (first use in this function)
 1195 |                         ioctl(console_fd, KIOCSOUND, (int) (1193180 / freq));
      |                                           ^~~~~~~~~
xpbeep.c:1195:43: note: each undeclared identifier is reported only once for each function it appears in
gmake[1]: *** [/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/build/Common.gmake:456: gcc.sunos.obj.release-mt/xpbeep.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev'
gmake: *** [/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/build/Common.gmake:487: xpdev-mt] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/comms/syncterm
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/comms/syncterm