=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for rtty-3.2nb2 --- version.c --- --- ttysrv.o --- --- ttyprot.o --- --- connutil.o --- --- misc.o --- --- rtty.o --- --- locbrok.o --- --- Startup --- --- 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 --- ttysrv.o --- gcc -O2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c ttysrv.c --- ttyprot.o --- gcc -O2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c ttyprot.c --- connutil.o --- gcc -O2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c connutil.c --- misc.o --- gcc -O2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c misc.c --- rtty.o --- gcc -O2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c rtty.c --- locbrok.o --- gcc -O2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c locbrok.c --- Startup --- sed -e 's:DESTPATH:/opt/pkg/rtty:g' Startup chmod +x Startup --- console --- sed -e 's:DESTPATH:/opt/pkg/rtty:g' console chmod +x console --- startsrv --- --- agelogs --- --- startsrv --- sed -e 's:DESTPATH:/opt/pkg/rtty:g' startsrv --- agelogs --- sed -e 's:DESTPATH:/opt/pkg/rtty:g' agelogs --- startsrv --- chmod +x startsrv --- agelogs --- chmod +x agelogs --- agelog --- --- version.o --- --- agelog --- cat agelog chmod +x agelog --- version.o --- gcc -O2 -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c version.c --- ttyprot.o --- ttyprot.c:90:14: warning: data argument not used by format string [-Wformat-extra-args] fd, f, i, c); ^ ttyprot.c:116:23: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (len != (nchars = read(fd, tp->c, len))) { ^ --- locbrok.o --- locbrok.c:322:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() { ^ locbrok.c:324:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ locbrok.c:324:2: note: include the header or explicitly provide a declaration for 'exit' 2 warnings generated. --- ttysrv.o --- ttysrv.c:228:2: warning: implicit declaration of function 'install_ttyios' is invalid in C99 [-Wimplicit-function-declaration] install_ttyios(Tty, &Ttyios); ^ --- rtty.o --- rtty.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ rtty.c:132:12: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] Debug = atoi(optarg); ^ rtty.c:142:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] USAGE((stderr, "%s: getopt=%c ?\n", ProgName, ch)); ^ ./rtty.h:32:7: note: expanded from macro 'USAGE' exit(1); } ^ rtty.c:142:4: note: include the header or explicitly provide a declaration for 'exit' ./rtty.h:32:7: note: expanded from macro 'USAGE' exit(1); } ^ rtty.c:207:3: warning: implicit declaration of function 'install_ttyios' is invalid in C99 [-Wimplicit-function-declaration] install_ttyios(Tty, &Ttyios); ^ --- ttyprot.o --- 2 warnings generated. --- ttysrv.o --- ttysrv.c:458:27: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((fd = accept(fd, sa, &fromlen)) == -1) { ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ --- rtty.o --- rtty.c:319:5: warning: implicit declaration of function 'install_ttyios' is invalid in C99 [-Wimplicit-function-declaration] install_ttyios(Tty, &Ttyios_orig); ^ rtty.c:392:2: warning: implicit declaration of function 'install_ttyios' is invalid in C99 [-Wimplicit-function-declaration] install_ttyios(Tty, &Ttyios); ^ rtty.c:425:16: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] if (!(new = atoi(buf))) { ^ rtty.c:452:16: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] if (!(new = atoi(buf))) { ^ --- ttysrv.o --- ttysrv.c:578:8: warning: implicit declaration of function 'install_ttyios' is invalid in C99 [-Wimplicit-function-declaration] (install_ttyios(Tty, &Ttyios) >= 0)) { ^ --- rtty.o --- rtty.c:651:3: warning: implicit declaration of function 'install_ttyios' is invalid in C99 [-Wimplicit-function-declaration] install_ttyios(Tty, &Ttyios_orig); ^ --- ttysrv.o --- ttysrv.c:923:10: warning: implicit declaration of function 'install_ttyios' is invalid in C99 [-Wimplicit-function-declaration] (void) install_ttyios(Tty, &Ttyios_orig); ^ --- misc.o --- misc.c:81:9: warning: format specifies type 'unsigned int' but the argument has type 'tcflag_t' (aka 'unsigned long') [-Wformat] tty, ios->c_cflag, ios->c_lflag, ^~~~~~~~~~~~ misc.c:81:23: warning: format specifies type 'unsigned int' but the argument has type 'tcflag_t' (aka 'unsigned long') [-Wformat] tty, ios->c_cflag, ios->c_lflag, ^~~~~~~~~~~~ misc.c:82:4: warning: format specifies type 'unsigned int' but the argument has type 'tcflag_t' (aka 'unsigned long') [-Wformat] ios->c_iflag, ios->c_oflag, ^~~~~~~~~~~~ misc.c:82:18: warning: format specifies type 'unsigned int' but the argument has type 'tcflag_t' (aka 'unsigned long') [-Wformat] ios->c_iflag, ios->c_oflag, ^~~~~~~~~~~~ misc.c:152:1: error: conflicting types for 'isnumber' isnumber(s) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h:323:1: note: previous definition is here isnumber(int _c) ^ misc.c:159:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *s++) { ~~~^~~~~~ misc.c:159:12: note: place parentheses around the assignment to silence this warning while (ch = *s++) { ^ ( ) misc.c:159:12: note: use '==' to turn this assignment into an equality comparison while (ch = *s++) { ^ == 5 warnings and 1 error generated. *** [misc.o] Error code 1 bmake: stopped in /opt/work/sysutils/rtty/work --- rtty.o --- 9 warnings generated. --- ttysrv.o --- 4 warnings generated. 1 error bmake: stopped in /opt/work/sysutils/rtty/work *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/sysutils/rtty *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/sysutils/rtty