+ 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/rtty-3.2nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rtty-3.2nb4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for rtty-3.2nb4 --- version.c --- --- ttysrv.o --- --- ttyprot.o --- --- connutil.o --- --- version.c --- rm -f version.c ( echo "#ifndef LINT"; echo "char Copyright[] ="; echo ' "Copyright 1996 by Internet Software Consortium";'; echo "char Version[] ="; echo ' "Version 3.2 ('`whoami`'@'`hostname`' '`date`')";'; echo "#endif"; ) >version.c bash: line 5: whoami: command not found --- connutil.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int16_t=uint16_t -Du_int32_t=uint32_t -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -DNEED_INET_ATON -c connutil.c --- ttysrv.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int16_t=uint16_t -Du_int32_t=uint32_t -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -DNEED_INET_ATON -c ttysrv.c --- ttyprot.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int16_t=uint16_t -Du_int32_t=uint32_t -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -DNEED_INET_ATON -c ttyprot.c --- misc.o --- --- ttyprot.o --- ttyprot.c: In function 'tp_senddata': ttyprot.c:59:15: error: implicit declaration of function 'htons' [-Wimplicit-function-declaration] 59 | t.f = htons(typ); | ^~~~~ ttyprot.c: In function 'tp_getdata': ttyprot.c:113:19: error: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] 113 | int len = ntohs(tp->i); | ^~~~~ ttyprot.c:116:30: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 116 | if (len != (nchars = read(fd, tp->c, len))) { | ^~~~ | fread --- misc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int16_t=uint16_t -Du_int32_t=uint32_t -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -DNEED_INET_ATON -c misc.c --- ttysrv.o --- ttysrv.c: In function 'main': ttysrv.c:228:9: error: implicit declaration of function 'install_ttyios'; did you mean 'install_termios'? [-Wimplicit-function-declaration] 228 | install_ttyios(Tty, &Ttyios); | ^~~~~~~~~~~~~~ | install_termios --- rtty.o --- --- ttysrv.o --- ttysrv.c: In function 'tty_input': ttysrv.c:377:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] 377 | tty_input(fd, aggregate) { | ^~~~~~~~~ ttysrv.c:377:1: error: type of 'aggregate' defaults to 'int' [-Wimplicit-int] ttysrv.c: In function 'serv_input': ttysrv.c:439:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] 439 | serv_input(fd) { | ^~~~~~~~~~ ttysrv.c: In function 'client_input': ttysrv.c:500:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] 500 | client_input(fd) { | ^~~~~~~~~~~~ --- rtty.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Du_int16_t=uint16_t -Du_int32_t=uint32_t -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -DNEED_INET_ATON -c rtty.c --- ttysrv.o --- ttysrv.c: In function 'set_baud': ttysrv.c:814:1: error: type of 'baud' defaults to 'int' [-Wimplicit-int] 814 | set_baud(baud) { | ^~~~~~~~ ttysrv.c: In function 'find_wordsize': ttysrv.c:846:1: error: type of 'wordsize' defaults to 'int' [-Wimplicit-int] 846 | find_wordsize(wordsize) { | ^~~~~~~~~~~~~ ttysrv.c: In function 'auth_needed': ttysrv.c:878:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] 878 | auth_needed(fd) { | ^~~~~~~~~~~ ttysrv.c: In function 'auth_ok': ttysrv.c:888:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] 888 | auth_ok(fd) { | ^~~~~~~ ttysrv.c: In function 'sigpipe': ttysrv.c:897:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] 897 | sigpipe(x) { | ^~~~~~~ ttysrv.c: In function 'sighup': ttysrv.c:902:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] 902 | sighup(x) { | ^~~~~~ ttysrv.c: In function 'quit': ttysrv.c:920:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] 920 | quit(x) { | ^~~~ *** [ttysrv.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/rtty/work --- misc.o --- misc.c: In function 'inet_aton': misc.c:187:18: error: implicit declaration of function 'inet_addr'; did you mean 'inet_aton'? [-Wimplicit-function-declaration] 187 | if ((v = inet_addr(cp)) > 0) { | ^~~~~~~~~ | inet_aton --- ttyprot.o --- *** [ttyprot.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/rtty/work --- rtty.o --- rtty.c:105:1: error: return type defaults to 'int' [-Wimplicit-int] 105 | main(argc, argv) | ^~~~ rtty.c: In function 'main': rtty.c:133:33: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 133 | Debug = atoi(optarg); | ^~~~ In file included from rtty.c:43: rtty.h:32:35: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 32 | exit(1); } | ^~~~ rtty.c:143:25: note: in expansion of macro 'USAGE' 143 | USAGE((stderr, "%s: getopt=%c ?\n", ProgName, ch)); | ^~~~~ rtty.c:57:1: note: include '' or provide a declaration of 'exit' 56 | #include +++ |+#include 57 | #else rtty.h:32:35: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 32 | exit(1); } | ^~~~ rtty.c:143:25: note: in expansion of macro 'USAGE' 143 | USAGE((stderr, "%s: getopt=%c ?\n", ProgName, ch)); | ^~~~~ rtty.h:32:35: note: include '' or provide a declaration of 'exit' 32 | exit(1); } | ^~~~ rtty.c:143:25: note: in expansion of macro 'USAGE' 143 | USAGE((stderr, "%s: getopt=%c ?\n", ProgName, ch)); | ^~~~~ rtty.h:32:35: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 32 | exit(1); } | ^~~~ rtty.c:148:17: note: in expansion of macro 'USAGE' 148 | USAGE((stderr, "must specify service\n")); | ^~~~~ rtty.h:32:35: note: include '' or provide a declaration of 'exit' 32 | exit(1); } | ^~~~ rtty.c:148:17: note: in expansion of macro 'USAGE' 148 | USAGE((stderr, "must specify service\n")); | ^~~~~ rtty.h:27:56: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 27 | perror(m1); exit(1);} | ^~~~ rtty.h:28:33: note: in expansion of macro 'ASSERT2' 28 | #define ASSERT(e, m) ASSERT2(e, m, "") | ^~~~~~~ rtty.c:157:17: note: in expansion of macro 'ASSERT' 157 | ASSERT(Serv>=0, "socket"); | ^~~~~~ rtty.h:27:56: note: include '' or provide a declaration of 'exit' 27 | perror(m1); exit(1);} | ^~~~ rtty.h:28:33: note: in expansion of macro 'ASSERT2' 28 | #define ASSERT(e, m) ASSERT2(e, m, "") | ^~~~~~~ rtty.c:157:17: note: in expansion of macro 'ASSERT' 157 | ASSERT(Serv>=0, "socket"); | ^~~~~~ rtty.h:27:56: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 27 | perror(m1); exit(1);} | ^~~~ rtty.h:28:33: note: in expansion of macro 'ASSERT2' 28 | #define ASSERT(e, m) ASSERT2(e, m, "") | ^~~~~~~ rtty.c:162:17: note: in expansion of macro 'ASSERT' 162 | ASSERT(0<=connect(Serv, (struct sockaddr *)&n, sizeof n), | ^~~~~~ rtty.h:27:56: note: include '' or provide a declaration of 'exit' 27 | perror(m1); exit(1);} | ^~~~ rtty.h:28:33: note: in expansion of macro 'ASSERT2' 28 | #define ASSERT(e, m) ASSERT2(e, m, "") | ^~~~~~~ rtty.c:162:17: note: in expansion of macro 'ASSERT' 162 | ASSERT(0<=connect(Serv, (struct sockaddr *)&n, sizeof n), | ^~~~~~ rtty.c:208:17: error: implicit declaration of function 'install_ttyios'; did you mean 'install_termios'? [-Wimplicit-function-declaration] 208 | install_ttyios(Tty, &Ttyios); | ^~~~~~~~~~~~~~ | install_termios rtty.c: In function 'main_loop': rtty.h:27:56: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 27 | perror(m1); exit(1);} | ^~~~ rtty.h:28:33: note: in expansion of macro 'ASSERT2' 28 | #define ASSERT(e, m) ASSERT2(e, m, "") | ^~~~~~~ rtty.c:240:17: note: in expansion of macro 'ASSERT' 240 | ASSERT(0<=nfound, "select"); | ^~~~~~ rtty.h:27:56: note: include '' or provide a declaration of 'exit' 27 | perror(m1); exit(1);} | ^~~~ rtty.h:28:33: note: in expansion of macro 'ASSERT2' 28 | #define ASSERT(e, m) ASSERT2(e, m, "") | ^~~~~~~ rtty.c:240:17: note: in expansion of macro 'ASSERT' 240 | ASSERT(0<=nfound, "select"); | ^~~~~~ rtty.c: In function 'tty_input': rtty.c:272:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] 272 | tty_input(fd) { | ^~~~~~~~~ rtty.c: In function 'serv_input': rtty.c:549:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] 549 | serv_input(fd) { | ^~~~~~~~~~ rtty.c: In function 'quit': rtty.c:676:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] 676 | quit(x) { | ^~~~ rtty.c:681:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 681 | exit(0); | ^~~~ rtty.c:681:9: note: include '' or provide a declaration of 'exit' *** [rtty.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/rtty/work --- misc.o --- *** [misc.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/rtty/work bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/sysutils/rtty/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/rtty *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/rtty