WARNING: [license.mk] Every package should define a LICENSE. ===> Building for portmap-4nb3 clang -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/opt/pkg/include -c portmap.c portmap.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int portmap.c:161:20: warning: 'daemon' is deprecated: first deprecated in macOS 10.5 - Use posix_spawn APIs instead. [-Wdeprecated-declarations] if (!debugging && daemon(0, 0)) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:299:6: note: 'daemon' has been explicitly marked deprecated here 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 C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ portmap.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] perror(what) ^ :2:16: note: expanded from macro 'perror' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if (!svc_sendreply(xprt, xdr_void, (caddr_t)0) && debugging) { ^~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] if (!svc_getargs(xprt, xdr_pmap, ®)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' (*(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 C2x [-Wdeprecated-non-prototype] 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] if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] if (!svc_getargs(xprt, xdr_pmap, ®)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' (*(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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] if (!svc_getargs(xprt, xdr_pmap, ®)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' (*(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 C2x [-Wdeprecated-non-prototype] 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] if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&port)) && ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] if (!svc_getargs(xprt, xdr_void, NULL)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' (*(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 C2x [-Wdeprecated-non-prototype] 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] if ((!svc_sendreply(xprt, xdr_pmaplist, ^~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:274:54: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] return (xdr_bytes(xdrs, &(epp->args), &(epp->arglen), ARGSIZE)); ^~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/xdr.h:391:55: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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] if (xdr_u_long(xdrs, &(cap->rmt_prog)) && ^~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/xdr.h:375:47: note: passing argument to parameter here 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] xdr_u_long(xdrs, &(cap->rmt_vers)) && ^~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/xdr.h:375:47: note: passing argument to parameter here 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] xdr_u_long(xdrs, &(cap->rmt_proc))) { ^~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/xdr.h:375:47: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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] if (xdr_u_long(xdrs, &(cap->rmt_port))) ^~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/xdr.h:375:47: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (!svc_getargs(xprt, xdr_rmtcall_args, &a)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/svc.h:154:31: note: expanded from macro 'svc_getargs' (*(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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] AUTH_DESTROY(client->cl_auth); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/rpc/auth.h:181:35: note: expanded from macro 'AUTH_DESTROY' ((*((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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void callit(); ^ portmap.c:632:15: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] while (wait3((union wait *)NULL, WNOHANG, (struct rusage *)NULL) > 0); ^~~~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/wait.h:254:20: note: passing argument to parameter here pid_t wait3(int *, int, struct rusage *); ^ 41 warnings generated. 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 #include ^~~~~~~~~~~~~~ 1 error generated. *** [pmap_check.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/net/portmap/work/portmap_4 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/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