=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 -Os -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -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 --- ttyprot.o --- gcc -pipe -Os -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c ttyprot.c ttyprot.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | tp_senddata(fd, buf, len, typ) | ^ ttyprot.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | tp_sendctl(fd, f, i, c) | ^ ttyprot.c:90:14: warning: data argument not used by format string [-Wformat-extra-args] 89 | fprintf(stderr, "tp_sendctl(fd=%d, f=%04x, i=%d, c=\"", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | fd, f, i, c); | ^ ttyprot.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | 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] 116 | if (len != (nchars = read(fd, tp->c, len))) { | ^ 5 warnings generated. --- connutil.o --- --- 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] 228 | install_ttyios(Tty, &Ttyios); | ^ ttysrv.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | main(argc, argv) | ^ --- connutil.o --- gcc -pipe -Os -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c connutil.c --- 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] 377 | 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] 377 | 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 C23 [-Wdeprecated-non-prototype] 377 | 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 C23 [-Wdeprecated-non-prototype] 413 | 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] 439 | 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 C23 [-Wdeprecated-non-prototype] 439 | 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] 458 | if ((fd = accept(fd, sa, &fromlen)) == -1) { | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | 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 C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 483 | struct hostent *hp, *gethostbyaddr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/netdb.h:274:17: note: conflicting prototype is here 274 | 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] 500 | 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 C23 [-Wdeprecated-non-prototype] 500 | 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] 578 | (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 C23 [-Wdeprecated-non-prototype] 776 | 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] 814 | 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 C23 [-Wdeprecated-non-prototype] 814 | 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 C23 [-Wdeprecated-non-prototype] 823 | 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 C23 [-Wdeprecated-non-prototype] 838 | 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] 846 | 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 C23 [-Wdeprecated-non-prototype] 846 | 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 C23 [-Wdeprecated-non-prototype] 858 | 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 C23 [-Wdeprecated-non-prototype] 866 | 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] 878 | 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 C23 [-Wdeprecated-non-prototype] 878 | 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] 888 | 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 C23 [-Wdeprecated-non-prototype] 888 | 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] 897 | 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 C23 [-Wdeprecated-non-prototype] 897 | 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] 902 | 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 C23 [-Wdeprecated-non-prototype] 902 | 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] 920 | 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 C23 [-Wdeprecated-non-prototype] 920 | 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] 923 | (void) install_ttyios(Tty, &Ttyios_orig); | ^ --- misc.o --- gcc -pipe -Os -O -g -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNO_SOCKADDR_LEN -UNO_HSTRERROR -c misc.c --- ttysrv.o --- 33 warnings generated. --- 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:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | 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] 80 | "install_termios(%d): C=0x%x L=0x%x I=0x%x O=0x%x m=%d t=%d\n", | ~~ | %lx 81 | 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] 80 | "install_termios(%d): C=0x%x L=0x%x I=0x%x O=0x%x m=%d t=%d\n", | ~~ | %lx 81 | 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] 80 | "install_termios(%d): C=0x%x L=0x%x I=0x%x O=0x%x m=%d t=%d\n", | ~~ | %lx 81 | tty, ios->c_cflag, ios->c_lflag, 82 | 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] 80 | "install_termios(%d): C=0x%x L=0x%x I=0x%x O=0x%x m=%d t=%d\n", | ~~ | %lx 81 | tty, ios->c_cflag, ios->c_lflag, 82 | 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 C23 [-Wdeprecated-non-prototype] 73 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 108 | 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 C23 [-Wdeprecated-non-prototype] 121 | 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 C23 [-Wdeprecated-non-prototype] 134 | 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 C23 [-Wdeprecated-non-prototype] 152 | isnumber(s) | ^ misc.c:152:1: error: conflicting types for 'isnumber' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_ctype.h:328:1: note: previous definition is here 328 | isnumber(int _c) | ^ misc.c:159:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 159 | while (ch = *s++) { | ~~~^~~~~~ misc.c:159:12: note: place parentheses around the assignment to silence this warning 159 | while (ch = *s++) { | ^ | ( ) misc.c:159:12: note: use '==' to turn this assignment into an equality comparison 159 | 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 C23 [-Wdeprecated-non-prototype] 152 | isnumber(s) | ^ 13 warnings and 1 error generated. *** [misc.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/sysutils/rtty/work --- rtty.o --- rtty.c:105:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | main(argc, argv) | ^ | int rtty.c:133:12: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | Debug = atoi(optarg); | ^ rtty.c:143:4: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | USAGE((stderr, "%s: getopt=%c ?\n", ProgName, ch)); | ^ ./rtty.h:32:7: note: expanded from macro 'USAGE' 32 | exit(1); } | ^ rtty.c:143:4: note: include the header or explicitly provide a declaration for 'exit' ./rtty.h:32:7: note: expanded from macro 'USAGE' 32 | exit(1); } | ^ rtty.c:208:3: warning: call to undeclared function 'install_ttyios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | install_ttyios(Tty, &Ttyios); | ^ rtty.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | main(argc, argv) | ^ rtty.c:272:11: warning: parameter 'fd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | tty_input(fd) { | ^ rtty.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | tty_input(fd) { | ^ rtty.c:320:5: warning: call to undeclared function 'install_ttyios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | install_ttyios(Tty, &Ttyios_orig); | ^ rtty.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | query_or_set(ch) | ^ rtty.c:393:2: warning: call to undeclared function 'install_ttyios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 393 | install_ttyios(Tty, &Ttyios); | ^ rtty.c:426:16: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 426 | if (!(new = atoi(buf))) { | ^ rtty.c:453:16: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | if (!(new = atoi(buf))) { | ^ rtty.c:546:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 546 | } | ^ rtty.c:549:12: warning: parameter 'fd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 549 | serv_input(fd) { | ^ rtty.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | serv_input(fd) { | ^ rtty.c:550:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 550 | char passwd[TP_MAXVAR], s[3], *c, *crypt(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:548:18: note: conflicting prototype is here 548 | char *_LIBC_CSTR crypt(const char *, const char *); | ^ rtty.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | server_replied(msg, i) | ^ rtty.c:676:6: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 676 | quit(x) { | ^ rtty.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | quit(x) { | ^ rtty.c:679:3: warning: call to undeclared function 'install_ttyios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 679 | install_ttyios(Tty, &Ttyios_orig); | ^ 20 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/sysutils/rtty/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/rtty *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/rtty