=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for rtty-3.2nb3 --- version.c --- --- ttysrv.o --- --- ttyprot.o --- --- version.c --- rm -f version.c --- ttysrv.o --- gcc -pipe -Os -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c ttysrv.c --- ttyprot.o --- gcc -pipe -Os -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c ttyprot.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 --- connutil.o --- gcc -pipe -Os -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c connutil.c --- misc.o --- gcc -pipe -Os -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c misc.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))) { ^ --- ttysrv.o --- ttysrv.c:228:2: 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) { ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ ttysrv.c:578:8: warning: implicit declaration of function 'install_ttyios' is invalid in C99 [-Wimplicit-function-declaration] (install_ttyios(Tty, &Ttyios) >= 0)) { ^ ttysrv.c:923:10: warning: implicit declaration of function 'install_ttyios' is invalid in C99 [-Wimplicit-function-declaration] (void) install_ttyios(Tty, &Ttyios_orig); ^ --- rtty.o --- gcc -pipe -Os -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c rtty.c --- 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) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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. --- 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); ^ --- misc.o --- *** [misc.o] Error code 1 bmake: stopped in /Users/pbulk/build/sysutils/rtty/work --- 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))) { ^ 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 --- 4 warnings generated. --- rtty.o --- 9 warnings generated. 1 error bmake: stopped in /Users/pbulk/build/sysutils/rtty/work *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/rtty *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/rtty