+ 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/snooper-19991202nb5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snooper-19991202nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for snooper-19991202nb5 gcc -c -O -I. -I./../include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c ../src/main.c ../src/main.c: In function 'uucplock': ../src/main.c:92:17: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 92 | ret = uu_lock(rindex(name, '/') + 1); | ^~~~~~ ../src/main.c:92:17: warning: incompatible implicit declaration of built-in function 'rindex' ../src/main.c: In function 'uucpunlock': ../src/main.c:107:19: warning: incompatible implicit declaration of built-in function 'rindex' 107 | ret = uu_unlock(rindex(name, '/') + 1); | ^~~~~~ ../src/main.c: In function 'canondev': ../src/main.c:129:7: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 129 | fd = open(p, O_RDWR|O_NONBLOCK); | ^~~~ | popen ../src/main.c: In function 'showstatus': ../src/main.c:241:12: warning: extra tokens at end of #undef directive 241 | #undef SHOW() | ^ ../src/main.c: In function 'echoback': ../src/main.c:298:31: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 298 | } else if (buf[i] != ' ' && isprint(buf[i])) { | ^~~~~~~ ../src/main.c: In function 'mainloop': ../src/main.c:636:4: warning: implicit declaration of function 'log_flush'; did you mean 'noqiflush'? [-Wimplicit-function-declaration] 636 | log_flush(); | ^~~~~~~~~ | noqiflush ../src/main.c:637:4: warning: implicit declaration of function 'binlog_flush' [-Wimplicit-function-declaration] 637 | binlog_flush(0); | ^~~~~~~~~~~~ ../src/main.c:677:10: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] 677 | if (islower(c1)) | ^~~~~~~ ../src/main.c:678:12: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] 678 | c1 = toupper(c1); | ^~~~~~~ ../src/main.c:682:11: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 682 | if (!index(hex, c1)) { | ^~~~~ ../src/main.c:682:11: warning: incompatible implicit declaration of built-in function 'index' ../src/main.c:686:11: warning: incompatible implicit declaration of built-in function 'index' 686 | if (!index(hex, c2)) { | ^~~~~ ../src/main.c:690:11: warning: incompatible implicit declaration of built-in function 'index' 690 | c = (index(hex, c1) - hex) & 0x0f; | ^~~~~ gcc -c -O -I. -I./../include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c ../src/scrn.c gcc -c -O -I. -I./../include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c ../src/log.c ../src/log.c: In function 'log_init': ../src/log.c:73:11: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 73 | log_fd = open(name, O_WRONLY|O_CREAT|O_APPEND, 0644); | ^~~~ | popen ../src/log.c: In function 'log_write': ../src/log.c:104:7: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 104 | if (isprint(buf[i])) { | ^~~~~~~ ../src/log.c: In function 'log_status': ../src/log.c:142:13: error: 'TIOCM_LE' undeclared (first use in this function) 142 | SHOW("LE", TIOCM_LE); | ^~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:142:13: note: each undeclared identifier is reported only once for each function it appears in 142 | SHOW("LE", TIOCM_LE); | ^~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:143:14: error: 'TIOCM_DTR' undeclared (first use in this function) 143 | SHOW("DTR", TIOCM_DTR); | ^~~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:144:14: error: 'TIOCM_RTS' undeclared (first use in this function) 144 | SHOW("RTS", TIOCM_RTS); | ^~~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:145:13: error: 'TIOCM_ST' undeclared (first use in this function) 145 | SHOW("ST", TIOCM_ST); | ^~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:146:13: error: 'TIOCM_SR' undeclared (first use in this function) 146 | SHOW("SR", TIOCM_SR); | ^~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:147:14: error: 'TIOCM_CTS' undeclared (first use in this function) 147 | SHOW("CTS", TIOCM_CTS); | ^~~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:148:13: error: 'TIOCM_CD' undeclared (first use in this function) 148 | SHOW("CD", TIOCM_CD); | ^~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:149:13: error: 'TIOCM_RI' undeclared (first use in this function) 149 | SHOW("RI", TIOCM_RI); | ^~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:150:14: error: 'TIOCM_DSR' undeclared (first use in this function) 150 | SHOW("DSR", TIOCM_DSR); | ^~~~~~~~~ ../src/log.c:130:14: note: in definition of macro 'SHOW' 130 | if (state & bit) \ | ^~~ ../src/log.c:153:12: warning: extra tokens at end of #undef directive 153 | #undef SHOW() | ^ *** [log.o] Error code 1 bmake: stopped in /home/pbulk/build/comms/snooper/work/snooper/build 1 error bmake: stopped in /home/pbulk/build/comms/snooper/work/snooper/build *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/snooper *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/snooper