+ 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 --- --- 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 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) { | ^~~~~~~~~~~~ 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) { | ^~~~ --- 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.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/rtty/work --- 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 *** [ttyprot.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 *** [misc.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/rtty/work bmake: 3 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