+ 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/modemd-19970221nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/modemd-19970221nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for modemd-19970221nb2
all ===> common
cc -pipe -O2    -I/home/pbulk/build/comms/modemd/work/modemd-970221/common/.. -I/home/pbulk/build/comms/modemd/work/modemd-970221/common/../include -c atparse.c
atparse.c: In function 'atparse':
atparse.c:57:11: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
   int i = strlen (string);
           ^
atparse.c:117:7: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
       memcpy (bp, s, n - s);
       ^
cc -pipe -O2    -I/home/pbulk/build/comms/modemd/work/modemd-970221/common/.. -I/home/pbulk/build/comms/modemd/work/modemd-970221/common/../include -c compat.c
cc -pipe -O2    -I/home/pbulk/build/comms/modemd/work/modemd-970221/common/.. -I/home/pbulk/build/comms/modemd/work/modemd-970221/common/../include -c dialog.c
In file included from dialog.c:52:0:
dialog.c: In function 'modemAttn':
/home/pbulk/build/comms/modemd/work/modemd-970221/common/../include/ttio.h:171:14: error: 'TIOCCDTR' undeclared (first use in this function)
   ioctl (fd, TIOCCDTR, 0)
              ^
dialog.c:66:7: note: in expansion of macro 'RESET_DTR'
       RESET_DTR (tty);
       ^
/home/pbulk/build/comms/modemd/work/modemd-970221/common/../include/ttio.h:171:14: note: each undeclared identifier is reported only once for each function it appears in
   ioctl (fd, TIOCCDTR, 0)
              ^
dialog.c:66:7: note: in expansion of macro 'RESET_DTR'
       RESET_DTR (tty);
       ^
/home/pbulk/build/comms/modemd/work/modemd-970221/common/../include/ttio.h:166:14: error: 'TIOCSDTR' undeclared (first use in this function)
   ioctl (fd, TIOCSDTR, 0)
              ^
dialog.c:69:7: note: in expansion of macro 'SET_DTR'
       SET_DTR (tty);
       ^
dialog.c: In function 'modemInit':
dialog.c:177:11: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
  count += strlen (*pp);
           ^
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /home/pbulk/build/comms/modemd/work/modemd-970221/common
*** Error code 1

Stop.
bmake: stopped making "all" in /home/pbulk/build/comms/modemd/work/modemd-970221
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/modemd
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/modemd