=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/portmap", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for portmap-4nb3 --- portmap.o --- --- pmap_check.o --- --- portmap.o --- clang -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/opt/pkg/include -c portmap.c --- pmap_check.o --- clang -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/opt/pkg/include -c pmap_check.c pmap_check.c:39:10: fatal error: 'rpc/rpcent.h' file not found 39 | #include | ^~~~~~~~~~~~~~ --- portmap.o --- portmap.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | main(argc, argv) | ^ | int --- pmap_check.o --- 1 error generated. --- portmap.o --- portmap.c:161:20: warning: 'daemon' is deprecated: first deprecated in macOS 10.5 - Use posix_spawn APIs instead. [-Wdeprecated-declarations] 161 | if (!debugging && daemon(0, 0)) { | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:319:6: note: 'daemon' has been explicitly marked deprecated here 319 | int daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED __TVOS_PROHIBITED; | ^ portmap.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | main(argc, argv) | ^ --- pmap_check.o --- *** [pmap_check.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/portmap/work/portmap_4 --- portmap.o --- portmap.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | perror(what) | ^ :2:16: note: expanded from macro 'perror' 2 | #define perror xperror | ^ portmap.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | find_service(prog, vers, prot) | ^ portmap.c:293:16: warning: passing arguments to 'check_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | check_default(svc_getcaller(xprt), rqstp->rq_proc, (u_long) 0); | ^ portmap.c:294:28: warning: incompatible function pointer types passing 'int (void)' to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types] 294 | if (!svc_sendreply(xprt, xdr_void, (caddr_t)0) && debugging) { | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 274 | extern bool_t svc_sendreply __P((SVCXPRT *, xdrproc_t, char *)); | ^ portmap.c:303:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | if (!svc_getargs(xprt, xdr_pmap, ®)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' 154 | (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp)) | ^ portmap.c:307:23: warning: passing arguments to 'check_setunset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | if (!check_setunset(svc_getcaller(xprt), | ^ portmap.c:345:30: warning: incompatible function pointer types passing 'int (XDR *, int *)' (aka 'int (struct __rpc_xdr *, int *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types] 345 | if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 274 | extern bool_t svc_sendreply __P((SVCXPRT *, xdrproc_t, char *)); | ^ portmap.c:357:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | if (!svc_getargs(xprt, xdr_pmap, ®)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' 154 | (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp)) | ^ portmap.c:362:23: warning: passing arguments to 'check_setunset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (!check_setunset(svc_getcaller(xprt), | ^ portmap.c:375:31: warning: passing arguments to 'check_privileged_port' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | if (!check_privileged_port(svc_getcaller(xprt), | ^ portmap.c:391:30: warning: incompatible function pointer types passing 'int (XDR *, int *)' (aka 'int (struct __rpc_xdr *, int *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types] 391 | if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 274 | extern bool_t svc_sendreply __P((SVCXPRT *, xdrproc_t, char *)); | ^ portmap.c:403:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | if (!svc_getargs(xprt, xdr_pmap, ®)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' 154 | (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp)) | ^ portmap.c:407:22: warning: passing arguments to 'check_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | if (!check_default(svc_getcaller(xprt), | ^ portmap.c:418:30: warning: incompatible function pointer types passing 'int (XDR *, int *)' (aka 'int (struct __rpc_xdr *, int *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types] 418 | if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&port)) && | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 274 | extern bool_t svc_sendreply __P((SVCXPRT *, xdrproc_t, char *)); | ^ portmap.c:430:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | if (!svc_getargs(xprt, xdr_void, NULL)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' 154 | (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp)) | ^ portmap.c:435:22: warning: passing arguments to 'check_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | if (!check_default(svc_getcaller(xprt), | ^ portmap.c:441:30: warning: incompatible function pointer types passing 'int (XDR *, struct pmaplist **)' (aka 'int (struct __rpc_xdr *, struct pmaplist **)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types] 441 | if ((!svc_sendreply(xprt, xdr_pmaplist, | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 274 | extern bool_t svc_sendreply __P((SVCXPRT *, xdrproc_t, char *)); | ^ portmap.c:457:9: warning: passing arguments to 'callit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | callit(rqstp, xprt); | ^ portmap.c:462:16: warning: passing arguments to 'check_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | check_default(svc_getcaller(xprt), rqstp->rq_proc, (u_long) 0); | ^ portmap.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | reg_service(rqstp, xprt) | ^ portmap.c:124:6: 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 subsequent definition [-Wdeprecated-non-prototype] 124 | void reg_service(); | ^ portmap.c:485:40: warning: incompatible pointer types passing 'u_long *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 485 | return (xdr_bytes(xdrs, &(epp->args), &(epp->arglen), ARGSIZE)); | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/xdr.h:391:55: note: passing argument to parameter here 391 | extern bool_t xdr_bytes(XDR *, char **, unsigned int *, unsigned int); | ^ portmap.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | xdr_encap_parms(xdrs, epp) | ^ portmap.c:503:23: warning: incompatible pointer types passing 'u_long *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 503 | if (xdr_u_long(xdrs, &(cap->rmt_prog)) && | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/xdr.h:375:47: note: passing argument to parameter here 375 | extern bool_t xdr_u_long(XDR *, unsigned int *); | ^ portmap.c:504:23: warning: incompatible pointer types passing 'u_long *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 504 | xdr_u_long(xdrs, &(cap->rmt_vers)) && | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/xdr.h:375:47: note: passing argument to parameter here 375 | extern bool_t xdr_u_long(XDR *, unsigned int *); | ^ portmap.c:505:23: warning: incompatible pointer types passing 'u_long *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 505 | xdr_u_long(xdrs, &(cap->rmt_proc))) { | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/xdr.h:375:47: note: passing argument to parameter here 375 | extern bool_t xdr_u_long(XDR *, unsigned int *); | ^ portmap.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | xdr_rmtcall_args(xdrs, cap) | ^ portmap.c:516:23: warning: incompatible pointer types passing 'u_long *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 516 | if (xdr_u_long(xdrs, &(cap->rmt_port))) | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/xdr.h:375:47: note: passing argument to parameter here 375 | extern bool_t xdr_u_long(XDR *, unsigned int *); | ^ portmap.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | xdr_rmtcall_result(xdrs, cap) | ^ portmap.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | xdr_opaque_parms(xdrs, cap) | ^ portmap.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | xdr_len_opaque_parms(xdrs, cap) | ^ portmap.c:589:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | if (!svc_getargs(xprt, xdr_rmtcall_args, &a)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' 154 | (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp)) | ^ portmap.c:592:19: warning: passing arguments to 'check_callit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | if (!check_callit(svc_getcaller(xprt), | ^ portmap.c:609:2: warning: call to undeclared function 'get_myaddress'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 609 | get_myaddress(&me); | ^ portmap.c:622:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | AUTH_DESTROY(client->cl_auth); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/auth.h:181:35: note: expanded from macro 'AUTH_DESTROY' 181 | ((*((auth)->ah_ops->ah_destroy))(auth)) | ^ portmap.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | callit(rqstp, xprt) | ^ portmap.c:126:13: 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 subsequent definition [-Wdeprecated-non-prototype] 126 | static void callit(); | ^ portmap.c:632:15: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] 632 | while (wait3((union wait *)NULL, WNOHANG, (struct rusage *)NULL) > 0); | ^~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/wait.h:252:20: note: passing argument to parameter here 252 | pid_t wait3(int *, int, struct rusage *); | ^ 41 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/portmap/work/portmap_4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/portmap *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/portmap