+ 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/garmin-utils-2.5nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/garmin-utils-2.5nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for garmin-utils-2.5nb1
all ===> lib
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -I/home/pbulk/build/geography/garmin-utils/work/garmin-utils-2.5/lib/../lib -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Werror -DDEFAULT_PORT=\"/dev/gps\" -DVERSION=\"2.5\" -DSIO_TYPE=BSD    -c gps1.c
In file included from gps1.c:21:
gpslib.h:116:9: error: unknown type name 'u_int32_t'
  116 |         u_int32_t u;
      |         ^~~~~~~~~
gps1.c: In function 'gps_open':
gps1.c:91:33: error: 'TIOCGETA' undeclared (first use in this function); did you mean 'TIOCGETD'?
   91 |         if (ioctl(gps_state.fd, TIOCGETA, &termios) < 0)
      |                                 ^~~~~~~~
      |                                 TIOCGETD
gps1.c:91:33: note: each undeclared identifier is reported only once for each function it appears in
gps1.c:95:16: error: 'struct termios' has no member named 'c_ispeed'
   95 |         termios.c_ispeed = termios.c_ospeed = 9600;
      |                ^
gps1.c:95:35: error: 'struct termios' has no member named 'c_ospeed'
   95 |         termios.c_ispeed = termios.c_ospeed = 9600;
      |                                   ^
gps1.c:103:33: error: 'TIOCSETAF' undeclared (first use in this function); did you mean 'TIOCSETLD'?
  103 |         if (ioctl(gps_state.fd, TIOCSETAF, &termios) < 0)
      |                                 ^~~~~~~~~
      |                                 TIOCSETLD
gps1.c: In function 'gps_close':
gps1.c:132:49: error: 'TIOCSETAF' undeclared (first use in this function); did you mean 'TIOCSETLD'?
  132 |                         if (ioctl(gps_state.fd, TIOCSETAF,
      |                                                 ^~~~~~~~~
      |                                                 TIOCSETLD
*** Error code 1

Stop.
bmake[1]: stopped in /home/pbulk/build/geography/garmin-utils/work/garmin-utils-2.5/lib
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/geography/garmin-utils/work/garmin-utils-2.5
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/geography/garmin-utils
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/geography/garmin-utils