=> Bootstrap dependency digest>=20010302: found digest-20210928 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for rtty-3.2nb3 --- version.c --- --- ttysrv.o --- --- ttyprot.o --- --- connutil.o --- --- ttysrv.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -UNEED_INET_ATON -c ttysrv.c --- version.c --- rm -f version.c --- ttyprot.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -UNEED_INET_ATON -c ttyprot.c --- connutil.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -UNEED_INET_ATON -c connutil.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 --- misc.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -UNEED_INET_ATON -c misc.c --- rtty.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -UNEED_INET_ATON -c rtty.c --- ttyprot.o --- ttyprot.c: In function 'tp_getdata': ttyprot.c:116:23: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if (len != (nchars = read(fd, tp->c, len))) { ^~~~ fread --- ttysrv.o --- ttysrv.c: In function 'main': ttysrv.c:228:2: warning: implicit declaration of function 'install_ttyios'; did you mean 'install_termios'? [-Wimplicit-function-declaration] install_ttyios(Tty, &Ttyios); ^~~~~~~~~~~~~~ install_termios ttysrv.c: In function 'tty_input': ttysrv.c:377:1: warning: type of 'fd' defaults to 'int' [-Wimplicit-int] tty_input(fd, aggregate) { ^~~~~~~~~ ttysrv.c:377:1: warning: type of 'aggregate' defaults to 'int' [-Wimplicit-int] ttysrv.c: In function 'serv_input': ttysrv.c:439:1: warning: type of 'fd' defaults to 'int' [-Wimplicit-int] serv_input(fd) { ^~~~~~~~~~ ttysrv.c: In function 'client_input': ttysrv.c:500:1: warning: type of 'fd' defaults to 'int' [-Wimplicit-int] client_input(fd) { ^~~~~~~~~~~~ ttysrv.c: In function 'set_baud': ttysrv.c:814:1: warning: type of 'baud' defaults to 'int' [-Wimplicit-int] set_baud(baud) { ^~~~~~~~ ttysrv.c: In function 'find_wordsize': ttysrv.c:846:1: warning: type of 'wordsize' defaults to 'int' [-Wimplicit-int] find_wordsize(wordsize) { ^~~~~~~~~~~~~ ttysrv.c: In function 'auth_needed': ttysrv.c:878:1: warning: type of 'fd' defaults to 'int' [-Wimplicit-int] auth_needed(fd) { ^~~~~~~~~~~ ttysrv.c: In function 'auth_ok': ttysrv.c:888:1: warning: type of 'fd' defaults to 'int' [-Wimplicit-int] auth_ok(fd) { ^~~~~~~ ttysrv.c: In function 'sigpipe': ttysrv.c:897:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] sigpipe(x) { ^~~~~~~ ttysrv.c: In function 'sighup': ttysrv.c:902:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] sighup(x) { ^~~~~~ ttysrv.c: In function 'quit': ttysrv.c:920:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] quit(x) { ^~~~ --- rtty.o --- rtty.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ rtty.c: In function 'main': rtty.c:132:12: warning: implicit declaration of function 'atoi'; did you mean 'dtoc'? [-Wimplicit-function-declaration] Debug = atoi(optarg); ^~~~ dtoc In file included from rtty.c:42:0: rtty.h:32:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); } ^ rtty.c:142:4: note: in expansion of macro 'USAGE' USAGE((stderr, "%s: getopt=%c ?\n", ProgName, ch)); ^~~~~ rtty.h:32:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); } ^ rtty.c:142:4: note: in expansion of macro 'USAGE' USAGE((stderr, "%s: getopt=%c ?\n", ProgName, ch)); ^~~~~ rtty.h:32:7: note: include '' or provide a declaration of 'exit' exit(1); } ^ rtty.c:142:4: note: in expansion of macro 'USAGE' USAGE((stderr, "%s: getopt=%c ?\n", ProgName, ch)); ^~~~~ rtty.h:32:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); } ^ rtty.c:147:3: note: in expansion of macro 'USAGE' USAGE((stderr, "must specify service\n")); ^~~~~ rtty.h:32:7: note: include '' or provide a declaration of 'exit' exit(1); } ^ rtty.c:147:3: note: in expansion of macro 'USAGE' USAGE((stderr, "must specify service\n")); ^~~~~ rtty.h:27:21: warning: incompatible implicit declaration of built-in function 'exit' perror(m1); exit(1);} ^ rtty.h:28:23: note: in expansion of macro 'ASSERT2' #define ASSERT(e, m) ASSERT2(e, m, "") ^~~~~~~ rtty.c:156:3: note: in expansion of macro 'ASSERT' ASSERT(Serv>=0, "socket"); ^~~~~~ rtty.h:27:21: note: include '' or provide a declaration of 'exit' perror(m1); exit(1);} ^ rtty.h:28:23: note: in expansion of macro 'ASSERT2' #define ASSERT(e, m) ASSERT2(e, m, "") ^~~~~~~ rtty.c:156:3: note: in expansion of macro 'ASSERT' ASSERT(Serv>=0, "socket"); ^~~~~~ rtty.h:27:21: warning: incompatible implicit declaration of built-in function 'exit' perror(m1); exit(1);} ^ rtty.h:28:23: note: in expansion of macro 'ASSERT2' #define ASSERT(e, m) ASSERT2(e, m, "") ^~~~~~~ rtty.c:161:3: note: in expansion of macro 'ASSERT' ASSERT(0<=connect(Serv, (struct sockaddr *)&n, sizeof n), ^~~~~~ rtty.h:27:21: note: include '' or provide a declaration of 'exit' perror(m1); exit(1);} ^ rtty.h:28:23: note: in expansion of macro 'ASSERT2' #define ASSERT(e, m) ASSERT2(e, m, "") ^~~~~~~ rtty.c:161:3: note: in expansion of macro 'ASSERT' ASSERT(0<=connect(Serv, (struct sockaddr *)&n, sizeof n), ^~~~~~ rtty.c:207:3: warning: implicit declaration of function 'install_ttyios'; did you mean 'install_termios'? [-Wimplicit-function-declaration] install_ttyios(Tty, &Ttyios); ^~~~~~~~~~~~~~ install_termios rtty.c: In function 'main_loop': rtty.c:235:12: warning: implicit declaration of function 'select'; did you mean 'exect'? [-Wimplicit-function-declaration] nfound = select(highest_fd+1, &readfds, NULL, ^~~~~~ exect In file included from rtty.c:42:0: rtty.h:27:21: warning: incompatible implicit declaration of built-in function 'exit' perror(m1); exit(1);} ^ rtty.h:28:23: note: in expansion of macro 'ASSERT2' #define ASSERT(e, m) ASSERT2(e, m, "") ^~~~~~~ rtty.c:239:3: note: in expansion of macro 'ASSERT' ASSERT(0<=nfound, "select"); ^~~~~~ rtty.h:27:21: note: include '' or provide a declaration of 'exit' perror(m1); exit(1);} ^ rtty.h:28:23: note: in expansion of macro 'ASSERT2' #define ASSERT(e, m) ASSERT2(e, m, "") ^~~~~~~ rtty.c:239:3: note: in expansion of macro 'ASSERT' ASSERT(0<=nfound, "select"); ^~~~~~ rtty.c: In function 'tty_input': rtty.c:271:1: warning: type of 'fd' defaults to 'int' [-Wimplicit-int] tty_input(fd) { ^~~~~~~~~ rtty.c: In function 'serv_input': rtty.c:521:1: warning: type of 'fd' defaults to 'int' [-Wimplicit-int] serv_input(fd) { ^~~~~~~~~~ --- locbrok.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -UNEED_INET_ATON -c locbrok.c --- rtty.o --- rtty.c: In function 'quit': rtty.c:648:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] quit(x) { ^~~~ rtty.c:653:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ rtty.c:653:2: note: include '' or provide a declaration of 'exit' --- Startup --- sed -e 's:DESTPATH:/usr/pkg/rtty:g' Startup chmod +x Startup --- console --- sed -e 's:DESTPATH:/usr/pkg/rtty:g' console chmod +x console --- startsrv --- sed -e 's:DESTPATH:/usr/pkg/rtty:g' startsrv --- locbrok.o --- locbrok.c:322:1: warning: return type defaults to 'int' [-Wimplicit-int] main() { ^~~~ locbrok.c: In function 'main': locbrok.c:324:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ locbrok.c:324:2: warning: incompatible implicit declaration of built-in function 'exit' locbrok.c:324:2: note: include '' or provide a declaration of 'exit' --- startsrv --- chmod +x startsrv --- agelogs --- sed -e 's:DESTPATH:/usr/pkg/rtty:g' agelogs chmod +x agelogs --- agelog --- cat agelog chmod +x agelog --- version.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -UNEED_INET_ATON -c version.c --- locbrok --- gcc -o locbrok locbrok.o misc.o version.o -lcrypt --- rtty --- gcc -o rtty rtty.o ttyprot.o connutil.o misc.o version.o -lcrypt ld: rtty.o: in function `main_loop': /tmp/sysutils/rtty/work/rtty.c:235: warning: warning: reference to compatibility select(); include to generate correct reference --- ttysrv --- gcc -o ttysrv ttysrv.o ttyprot.o connutil.o misc.o version.o -lcrypt