+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tits-1.3.0/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tits-1.3.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for tits-1.3.0
--- main.o ---
--- buffer.o ---
--- main.o ---
cc -pipe -O2 -I/usr/pkg/include   -I/usr/pkg/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/usr/pkg/etc/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c main.c
--- buffer.o ---
cc -pipe -O2 -I/usr/pkg/include   -I/usr/pkg/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/usr/pkg/etc/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c buffer.c
--- client.o ---
cc -pipe -O2 -I/usr/pkg/include   -I/usr/pkg/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/usr/pkg/etc/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c client.c
--- context.o ---
cc -pipe -O2 -I/usr/pkg/include   -I/usr/pkg/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/usr/pkg/etc/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c context.c
--- listener.o ---
cc -pipe -O2 -I/usr/pkg/include   -I/usr/pkg/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/usr/pkg/etc/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c listener.c
--- masterpty.o ---
cc -pipe -O2 -I/usr/pkg/include   -I/usr/pkg/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/usr/pkg/etc/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c masterpty.c
--- telnet.o ---
cc -pipe -O2 -I/usr/pkg/include   -I/usr/pkg/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/usr/pkg/etc/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c telnet.c
telnet.c:33:23: fatal error: sys/filio.h: No such file or directory
 #include <sys/filio.h>
                       ^
compilation terminated.
--- masterpty.o ---
masterpty.c: In function 'masterpty_open_pt':
masterpty.c:206:17: warning: assignment makes pointer from integer without a cast [enabled by default]
  if ((slavename = ptsname(fd)) == NULL) {
                 ^
--- tty.o ---
cc -pipe -O2 -I/usr/pkg/include   -I/usr/pkg/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/usr/pkg/etc/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c tty.c
--- telnet.o ---
*** [telnet.o] Error code 1

bmake: stopped in /home/pbulk/build/sysutils/tits/work/tits-1.3.0
--- tty.o ---
tty.c:33:23: fatal error: sys/filio.h: No such file or directory
 #include <sys/filio.h>
                       ^
compilation terminated.
*** [tty.o] Error code 1

bmake: stopped in /home/pbulk/build/sysutils/tits/work/tits-1.3.0
2 errors

bmake: stopped in /home/pbulk/build/sysutils/tits/work/tits-1.3.0
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/tits
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/tits