+ 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/tits-1.3.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tits-1.3.0/work.log
===> Building for tits-1.3.0
--- main.o ---
--- buffer.o ---
--- client.o ---
--- context.o ---
--- main.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/etc/opt/pkg/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c main.c
--- buffer.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/etc/opt/pkg/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c buffer.c
--- client.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/etc/opt/pkg/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c client.c
--- context.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/etc/opt/pkg/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c context.c
--- listener.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/etc/opt/pkg/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c listener.c
--- masterpty.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/etc/opt/pkg/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c masterpty.c
--- telnet.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/etc/opt/pkg/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c telnet.c
--- tty.o ---
--- dispatcher.o ---
--- masterpty.o ---
masterpty.c: In function 'masterpty_open_pt':
masterpty.c:220:50: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
  220 |                 snprintf(buff, sizeof(buff), "%s/%s", mc->mc_ma.ma_linkdir,
      |                                                  ^~
masterpty.c:220:17: note: 'snprintf' output between 2 and 2048 bytes into a destination of size 1024
  220 |                 snprintf(buff, sizeof(buff), "%s/%s", mc->mc_ma.ma_linkdir,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  221 |                     mc->mc_ma.ma_linkname);
      |                     ~~~~~~~~~~~~~~~~~~~~~~
masterpty.c:217:52: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
  217 |                 snprintf(buff, sizeof(buff), "%s/%s", mc->mc_ma.ma_linkdir,
      |                                                    ^
--- telnet.o ---
telnet.c: In function 'telnet_init':
telnet.c:117:31: error: 'struct sockaddr' has no member named 'sa_len'
  117 |         if (getnameinfo(sa, sa->sa_len, buff, sizeof(buff), NULL, 0, 0) != 0) {
      |                               ^~
telnet.c: In function 'telnet_opt_dont':
telnet.c:274:44: warning: format string is not an array of type 'char' [-Wformat=]
  274 |         (void) sprintf(buff, (const char *)dont, opt);
      |                                            ^~~~
telnet.c: In function 'telnet_opt_do':
telnet.c:284:44: warning: format string is not an array of type 'char' [-Wformat=]
  284 |         (void) sprintf(buff, (const char *)doopt, opt);
      |                                            ^~~~~
telnet.c: In function 'telnet_opt_will':
telnet.c:294:44: warning: format string is not an array of type 'char' [-Wformat=]
  294 |         (void) sprintf(buff, (const char *)will, opt);
      |                                            ^~~~
--- tty.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/etc/opt/pkg/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c tty.c
--- masterpty.o ---
masterpty.c:217:17: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024
  217 |                 snprintf(buff, sizeof(buff), "%s/%s", mc->mc_ma.ma_linkdir,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  218 |                     basename(mc->mc_slavename));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
masterpty.c: In function 'cf_masterpty_symlinkname':
masterpty.c:331:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  331 |         strncpy(ma->ma_linkname, argv[1], sizeof(ma->ma_linkname));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
masterpty.c: In function 'cf_masterpty_symlinkdir':
masterpty.c:320:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  320 |         strncpy(ma->ma_linkdir, argv[1], sizeof(ma->ma_linkdir));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- tty.o ---
tty.c:131:17: error: 'B7200' undeclared here (not in a function); did you mean 'B1200'?
  131 |         {7200,  B7200},
      |                 ^~~~~
      |                 B1200
tty.c:132:17: error: 'B14400' undeclared here (not in a function); did you mean 'B1200'?
  132 |         {14400, B14400},
      |                 ^~~~~~
      |                 B1200
tty.c:133:17: error: 'B28800' undeclared here (not in a function); did you mean 'B76800'?
  133 |         {28800, B28800},
      |                 ^~~~~~
      |                 B76800
tty.c: In function 'tty_open_device':
tty.c:447:9: warning: implicit declaration of function 'cfmakeraw' [-Wimplicit-function-declaration]
  447 |         cfmakeraw(&tent);
      |         ^~~~~~~~~
--- dispatcher.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -I/usr/include -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"/etc/opt/pkg/tits.conf\" -DTITS_DEFAULT_LINKDIR=\"/run\" -c dispatcher.c
--- telnet.o ---
*** [telnet.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/sysutils/tits/work/tits-1.3.0
--- tty.o ---
*** [tty.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/sysutils/tits/work/tits-1.3.0
--- dispatcher.o ---
dispatcher.c: In function 'dispatcher_mainloop':
dispatcher.c:255:35: error: 'INFTIM' undeclared (first use in this function)
  255 |                         timeout = INFTIM;
      |                                   ^~~~~~
dispatcher.c:255:35: note: each undeclared identifier is reported only once for each function it appears in
*** [dispatcher.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/sysutils/tits/work/tits-1.3.0
bmake: 3 errors

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

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/tits
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/tits