+ 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/sdorfehs-1.4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sdorfehs-1.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for sdorfehs-1.4
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O2 -Wall  -Wunused -Wmissing-prototypes -Wstrict-prototypes -Wunused  `pkg-config --cflags x11 xft xrandr xtst`  -DVERSION=\"1.4\" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c actions.c
actions.c: In function 'spawn':
actions.c:2803:45: error: 'TIOCNOTTY' undeclared (first use in this function)
 2803 |                                 ioctl(ctty, TIOCNOTTY);
      |                                             ^~~~~~~~~
actions.c:2803:45: note: each undeclared identifier is reported only once for each function it appears in
*** [actions.o] Error code 1

bmake: stopped in /home/pbulk/build/wm/sdorfehs/work/sdorfehs-1.4
1 error

bmake: stopped in /home/pbulk/build/wm/sdorfehs/work/sdorfehs-1.4
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/sdorfehs