=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/rtty", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for rtty-3.2nb4 --- version.c --- --- ttysrv.o --- --- version.c --- rm -f version.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 --- 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 --- 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 --- ttysrv.o --- ttysrv.c: In function 'main': ttysrv.c:145:1: warning: old-style function definition [-Wold-style-definition] 145 | main(argc, argv) | ^~~~ 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 --- ttyprot.o --- ttyprot.c: In function 'tp_senddata': ttyprot.c:44:1: warning: old-style function definition [-Wold-style-definition] 44 | tp_senddata(fd, buf, len, typ) | ^~~~~~~~~~~ ttyprot.c:59:15: error: implicit declaration of function 'htons' [-Wimplicit-function-declaration] 59 | t.f = htons(typ); | ^~~~~ --- ttysrv.o --- ttysrv.c: In function 'tty_input': ttysrv.c:377:1: warning: old-style function definition [-Wold-style-definition] 377 | tty_input(fd, aggregate) { | ^~~~~~~~~ ttysrv.c:377:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] ttysrv.c:377:1: error: type of 'aggregate' defaults to 'int' [-Wimplicit-int] --- ttyprot.o --- ttyprot.c: In function 'tp_sendctl': ttyprot.c:77:1: warning: old-style function definition [-Wold-style-definition] 77 | tp_sendctl(fd, f, i, c) | ^~~~~~~~~~ --- ttysrv.o --- ttysrv.c: In function 'broadcast': ttysrv.c:413:1: warning: old-style function definition [-Wold-style-definition] 413 | broadcast(buf, nchars, typ) | ^~~~~~~~~ --- ttyprot.o --- ttyprot.c: In function 'tp_getdata': ttyprot.c:109:1: warning: old-style function definition [-Wold-style-definition] 109 | tp_getdata(fd, tp) | ^~~~~~~~~~ --- ttysrv.o --- ttysrv.c: In function 'serv_input': ttysrv.c:439:1: warning: old-style function definition [-Wold-style-definition] 439 | serv_input(fd) { | ^~~~~~~~~~ ttysrv.c:439:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] --- ttyprot.o --- 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 --- ttysrv.o --- ttysrv.c:483:38: error: conflicting types for 'gethostbyaddr'; have 'struct hostent *(void)' 483 | struct hostent *hp, *gethostbyaddr(); | ^~~~~~~~~~~~~ In file included from ttysrv.c:41: /usr/include/netdb.h:283:18: note: previous declaration of 'gethostbyaddr' with type 'struct hostent *(const void *, socklen_t, int)' {aka 'struct hostent *(const void *, unsigned int, int)'} 283 | struct hostent *gethostbyaddr(const void *, socklen_t, int); | ^~~~~~~~~~~~~ ttysrv.c:485:22: error: too many arguments to function 'gethostbyaddr'; expected 0, have 3 485 | hp = gethostbyaddr((char *)&in.sin_addr, | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ttysrv.c:483:38: note: declared here 483 | struct hostent *hp, *gethostbyaddr(); | ^~~~~~~~~~~~~ ttysrv.c: In function 'client_input': ttysrv.c:500:1: warning: old-style function definition [-Wold-style-definition] 500 | client_input(fd) { | ^~~~~~~~~~~~ ttysrv.c:500:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] ttysrv.c: In function 'close_client': ttysrv.c:776:1: warning: old-style function definition [-Wold-style-definition] 776 | close_client(fd) | ^~~~~~~~~~~~ ttysrv.c: In function 'set_baud': ttysrv.c:814:1: warning: old-style function definition [-Wold-style-definition] 814 | set_baud(baud) { | ^~~~~~~~ ttysrv.c:814:1: error: type of 'baud' defaults to 'int' [-Wimplicit-int] ttysrv.c: In function 'find_parity': ttysrv.c:823:1: warning: old-style function definition [-Wold-style-definition] 823 | find_parity(parity) | ^~~~~~~~~~~ ttysrv.c: In function 'set_parity': ttysrv.c:838:1: warning: old-style function definition [-Wold-style-definition] 838 | set_parity(parity) | ^~~~~~~~~~ ttysrv.c: In function 'find_wordsize': ttysrv.c:846:1: warning: old-style function definition [-Wold-style-definition] 846 | find_wordsize(wordsize) { | ^~~~~~~~~~~~~ ttysrv.c:846:1: error: type of 'wordsize' defaults to 'int' [-Wimplicit-int] ttysrv.c: In function 'set_wordsize': ttysrv.c:858:1: warning: old-style function definition [-Wold-style-definition] 858 | set_wordsize(wordsize) | ^~~~~~~~~~~~ ttysrv.c: In function 'handle_option': ttysrv.c:866:1: warning: old-style function definition [-Wold-style-definition] 866 | handle_option(option) | ^~~~~~~~~~~~~ ttysrv.c: In function 'auth_needed': ttysrv.c:878:1: warning: old-style function definition [-Wold-style-definition] 878 | auth_needed(fd) { | ^~~~~~~~~~~ ttysrv.c:878:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] ttysrv.c: In function 'auth_ok': ttysrv.c:888:1: warning: old-style function definition [-Wold-style-definition] 888 | auth_ok(fd) { | ^~~~~~~ ttysrv.c:888:1: error: type of 'fd' defaults to 'int' [-Wimplicit-int] ttysrv.c: In function 'sigpipe': ttysrv.c:897:1: warning: old-style function definition [-Wold-style-definition] 897 | sigpipe(x) { | ^~~~~~~ ttysrv.c:897:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] ttysrv.c: In function 'sighup': ttysrv.c:902:1: warning: old-style function definition [-Wold-style-definition] 902 | sighup(x) { | ^~~~~~ ttysrv.c:902:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] ttysrv.c: In function 'quit': ttysrv.c:920:1: warning: old-style function definition [-Wold-style-definition] 920 | quit(x) { | ^~~~ ttysrv.c:920:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] --- ttyprot.o --- *** [ttyprot.o] Error code 1 bmake: stopped making "all" in /tmp/work/sysutils/rtty/work --- ttysrv.o --- *** [ttysrv.o] Error code 1 bmake: stopped making "all" in /tmp/work/sysutils/rtty/work bmake: 2 errors bmake: stopped making "all" in /tmp/work/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