=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for rtty-3.2nb4 --- version.c --- --- ttysrv.o --- --- ttyprot.o --- --- 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 --- 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 --- 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:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tp_senddata(fd, buf, len, typ) ^ --- ttysrv.o --- ttysrv.c:228:2: warning: call to undeclared function 'install_ttyios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] install_ttyios(Tty, &Ttyios); ^ --- ttyprot.o --- ttyprot.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tp_sendctl(fd, f, i, c) ^ ttyprot.c:90:14: warning: data argument not used by format string [-Wformat-extra-args] fd, f, i, c); ^ --- ttysrv.o --- ttysrv.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ --- ttyprot.o --- ttyprot.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tp_getdata(fd, tp) ^ ttyprot.c:116:23: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (len != (nchars = read(fd, tp->c, len))) { ^ --- ttysrv.o --- ttysrv.c:377:15: warning: parameter 'aggregate' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tty_input(fd, aggregate) { ^ ttysrv.c:377:11: warning: parameter 'fd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tty_input(fd, aggregate) { ^ ttysrv.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tty_input(fd, aggregate) { ^ ttysrv.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] broadcast(buf, nchars, typ) ^ ttysrv.c:439:12: warning: parameter 'fd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] serv_input(fd) { ^ ttysrv.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] serv_input(fd) { ^ 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:483:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] struct hostent *hp, *gethostbyaddr(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/netdb.h:274:17: note: conflicting prototype is here struct hostent *gethostbyaddr(const void *, socklen_t, int); ^ ttysrv.c:500:14: warning: parameter 'fd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] client_input(fd) { ^ ttysrv.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client_input(fd) { ^ ttysrv.c:578:8: warning: call to undeclared function 'install_ttyios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (install_ttyios(Tty, &Ttyios) >= 0)) { ^ ttysrv.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] close_client(fd) ^ ttysrv.c:814:10: warning: parameter 'baud' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_baud(baud) { ^ ttysrv.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_baud(baud) { ^ ttysrv.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_parity(parity) ^ ttysrv.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_parity(parity) ^ ttysrv.c:846:15: warning: parameter 'wordsize' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] find_wordsize(wordsize) { ^ ttysrv.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_wordsize(wordsize) { ^ ttysrv.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_wordsize(wordsize) ^ ttysrv.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handle_option(option) ^ ttysrv.c:878:13: warning: parameter 'fd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] auth_needed(fd) { ^ ttysrv.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_needed(fd) { ^ ttysrv.c:888:9: warning: parameter 'fd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] auth_ok(fd) { ^ ttysrv.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_ok(fd) { ^ ttysrv.c:897:9: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sigpipe(x) { ^ ttysrv.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sigpipe(x) { ^ ttysrv.c:902:8: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sighup(x) { ^ ttysrv.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sighup(x) { ^ ttysrv.c:920:6: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] quit(x) { ^ ttysrv.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] quit(x) { ^ ttysrv.c:923:10: warning: call to undeclared function 'install_ttyios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) install_ttyios(Tty, &Ttyios_orig); ^ --- misc.o --- misc.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cat_v(file, buf, nchars) ^ 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:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] install_ttyios(tty, ios) ^ misc.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prepare_term(ios) ^ misc.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] safe_malloc(size) ^ misc.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] safe_calloc(n, size) ^ misc.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] safe_realloc(ptr, size) ^ misc.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isnumber(s) ^ misc.c:152:1: error: conflicting types for 'isnumber' /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++) { ^ == misc.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isnumber(s) ^ 13 warnings and 1 error generated. *** [misc.o] Error code 1 bmake: stopped in /Users/pbulk/build/sysutils/rtty/work --- ttyprot.o --- 5 warnings generated. --- ttysrv.o --- 33 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