+ 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
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for snooper-19991202nb5
--- main.o ---
--- scrn.o ---
--- log.o ---
--- binlog.o ---
--- main.o ---
gcc -c -O -I. -I./../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int32_t=uint32_t -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c ../src/main.c
--- scrn.o ---
gcc -c -O -I. -I./../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int32_t=uint32_t -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c ../src/scrn.c
--- log.o ---
gcc -c -O -I. -I./../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int32_t=uint32_t -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c ../src/log.c
--- binlog.o ---
gcc -c -O -I. -I./../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int32_t=uint32_t -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c ../src/binlog.c
--- log.o ---
../src/log.c: In function 'log_init':
../src/log.c:73:18: 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:21: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration]
  104 |                 if (isprint(buf[i])) {
      |                     ^~~~~~~
../src/log.c:14:1: note: include '<ctype.h>' or provide a declaration of 'isprint'
   13 | #include <assert.h>
  +++ |+#include <ctype.h>
   14 | 
--- main.o ---
../src/main.c: In function 'uucplock':
--- binlog.o ---
../src/binlog.c: In function 'binlog_init':
--- main.o ---
../src/main.c:92:31: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration]
   92 |                 ret = uu_lock(rindex(name, '/') + 1);
      |                               ^~~~~~
../src/main.c:92:31: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch]
../src/main.c: In function 'uucpunlock':
../src/main.c:107:33: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch]
  107 |                 ret = uu_unlock(rindex(name, '/') + 1);
      |                                 ^~~~~~
--- log.o ---
../src/log.c: In function 'log_status':
../src/log.c:142:20: error: 'TIOCM_LE' undeclared (first use in this function)
  142 |         SHOW("LE", TIOCM_LE);
      |                    ^~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
../src/log.c:142:20: note: each undeclared identifier is reported only once for each function it appears in
  142 |         SHOW("LE", TIOCM_LE);
      |                    ^~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
--- binlog.o ---
../src/binlog.c:75:27: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
   75 |         binlog_fd[line] = open(name, O_WRONLY|O_CREAT|O_APPEND, 0644);
      |                           ^~~~
      |                           popen
--- main.o ---
../src/main.c: In function 'canondev':
../src/main.c:129:14: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
  129 |         fd = open(p, O_RDWR|O_NONBLOCK);
      |              ^~~~
      |              popen
--- log.o ---
../src/log.c:143:21: error: 'TIOCM_DTR' undeclared (first use in this function)
  143 |         SHOW("DTR", TIOCM_DTR);
      |                     ^~~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
--- main.o ---
../src/main.c: In function 'showstatus':
../src/main.c:241:13: warning: extra tokens at end of #undef directive
  241 | #undef  SHOW()
      |             ^
../src/main.c: In function 'echoback':
../src/main.c:298:45: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration]
  298 |                 } else if (buf[i] != ' ' && isprint(buf[i])) {
      |                                             ^~~~~~~
../src/main.c:15:1: note: include '<ctype.h>' or provide a declaration of 'isprint'
   14 | # include <termios.h>
  +++ |+#include <ctype.h>
   15 | #else
--- log.o ---
../src/log.c:144:21: error: 'TIOCM_RTS' undeclared (first use in this function)
  144 |         SHOW("RTS", TIOCM_RTS);
      |                     ^~~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
../src/log.c:145:20: error: 'TIOCM_ST' undeclared (first use in this function)
  145 |         SHOW("ST", TIOCM_ST);
      |                    ^~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
../src/log.c:146:20: error: 'TIOCM_SR' undeclared (first use in this function)
  146 |         SHOW("SR", TIOCM_SR);
      |                    ^~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
--- main.o ---
../src/main.c: In function 'mainloop':
../src/main.c:636:25: warning: implicit declaration of function 'log_flush'; did you mean 'noqiflush'? [-Wimplicit-function-declaration]
  636 |                         log_flush();
      |                         ^~~~~~~~~
      |                         noqiflush
--- log.o ---
../src/log.c:147:21: error: 'TIOCM_CTS' undeclared (first use in this function)
  147 |         SHOW("CTS", TIOCM_CTS);
      |                     ^~~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
--- main.o ---
../src/main.c:637:25: warning: implicit declaration of function 'binlog_flush' [-Wimplicit-function-declaration]
  637 |                         binlog_flush(0);
      |                         ^~~~~~~~~~~~
../src/main.c:677:45: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration]
  677 |                                         if (islower(c1))
      |                                             ^~~~~~~
../src/main.c:677:45: note: include '<ctype.h>' or provide a declaration of 'islower'
../src/main.c:678:54: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
  678 |                                                 c1 = toupper(c1);
      |                                                      ^~~~~~~
../src/main.c:678:54: note: include '<ctype.h>' or provide a declaration of 'toupper'
--- log.o ---
../src/log.c:148:20: error: 'TIOCM_CD' undeclared (first use in this function)
  148 |         SHOW("CD", TIOCM_CD);
      |                    ^~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
--- main.o ---
../src/main.c:682:46: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration]
  682 |                                         if (!index(hex, c1)) {
      |                                              ^~~~~
../src/main.c:682:46: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch]
../src/main.c:686:46: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch]
  686 |                                         if (!index(hex, c2)) {
      |                                              ^~~~~
../src/main.c:690:46: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch]
  690 |                                         c = (index(hex, c1) - hex) & 0x0f;
      |                                              ^~~~~
--- log.o ---
../src/log.c:149:20: error: 'TIOCM_RI' undeclared (first use in this function)
  149 |         SHOW("RI", TIOCM_RI);
      |                    ^~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
../src/log.c:150:21: error: 'TIOCM_DSR' undeclared (first use in this function)
  150 |         SHOW("DSR", TIOCM_DSR);
      |                     ^~~~~~~~~
../src/log.c:130:21: note: in definition of macro 'SHOW'
  130 |         if (state & bit)                \
      |                     ^~~
../src/log.c:153:13: warning: extra tokens at end of #undef directive
  153 | #undef  SHOW()
      |             ^
*** [log.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/comms/snooper/work/snooper/build
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/comms/snooper/work/snooper/build
*** Error code 2

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

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