+ 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 ---
--- listener.o ---
--- 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:10: fatal error: sys/filio.h: No such file or directory
 #include <sys/filio.h>
          ^~~~~~~~~~~~~
compilation terminated.
*** [telnet.o] Error code 1

bmake: stopped in /home/pbulk/build/sysutils/tits/work/tits-1.3.0
--- masterpty.o ---
masterpty.c: In function 'masterpty_open_pt':
masterpty.c:198:12: warning: implicit declaration of function 'posix_openpt' [-Wimplicit-function-declaration]
  if ((fd = posix_openpt(O_RDWR | O_NONBLOCK)) < 0)
            ^~~~~~~~~~~~
masterpty.c:201:6: warning: implicit declaration of function 'unlockpt'; did you mean 'unlinkat'? [-Wimplicit-function-declaration]
  if (unlockpt(fd) < 0 || grantpt(fd) < 0) {
      ^~~~~~~~
      unlinkat
masterpty.c:201:26: warning: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration]
  if (unlockpt(fd) < 0 || grantpt(fd) < 0) {
                          ^~~~~~~
masterpty.c:206:19: warning: implicit declaration of function 'ptsname'; did you mean 'ttyname'? [-Wimplicit-function-declaration]
  if ((slavename = ptsname(fd)) == NULL) {
                   ^~~~~~~
                   ttyname
masterpty.c:206:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  if ((slavename = ptsname(fd)) == NULL) {
                 ^
1 error

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-el8-trunk-x86_64/sysutils/tits
*** Error code 1

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