+ 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: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] int i = strlen (string); ^~~~~~ atparse.c:57:11: warning: incompatible implicit declaration of built-in function 'strlen' atparse.c:57:11: note: include '' or provide a declaration of 'strlen' atparse.c:49:1: +#include atparse.c:57:11: int i = strlen (string); ^~~~~~ atparse.c:73:8: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] if (!strncasecmp (s, "at", 2)) ^~~~~~~~~~~ atparse.c:117:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy (bp, s, n - s); ^~~~~~ atparse.c:117:7: warning: incompatible implicit declaration of built-in function 'memcpy' atparse.c:117:7: note: include '' or provide a declaration of 'memcpy' 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: 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); did you mean 'TIOCM_DTR'? 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:199:28: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] #define DELAY_ONE_SECOND() sleep(2) ^~~~~ dialog.c:68:7: note: in expansion of macro 'DELAY_ONE_SECOND' DELAY_ONE_SECOND(); ^~~~~~~~~~~~~~~~ /home/pbulk/build/comms/modemd/work/modemd-970221/common/../include/ttio.h:166:14: error: 'TIOCSDTR' undeclared (first use in this function); did you mean 'TIOCSETD'? 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: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] count += strlen (*pp); ^~~~~~ dialog.c:177:11: warning: incompatible implicit declaration of built-in function 'strlen' dialog.c:177:11: note: include '' or provide a declaration of 'strlen' dialog.c:53:1: +#include dialog.c:177:11: count += strlen (*pp); ^~~~~~ *** Error code 1 Stop. bmake[1]: stopped in /home/pbulk/build/comms/modemd/work/modemd-970221/common *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/comms/modemd/work/modemd-970221 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/modemd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/modemd