=> Bootstrap dependency digest>=20211023: found digest-20220214
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' [-Wimplicit-int]
main(argc, argv)
^
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:294: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: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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/svc.h:272:54: note: passing argument to parameter here
extern bool_t   svc_sendreply   __P((SVCXPRT *, xdrproc_t, char *));
                                                         ^
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/svc.h:272:54: note: passing argument to parameter here
extern bool_t   svc_sendreply   __P((SVCXPRT *, xdrproc_t, char *));
                                                         ^
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/svc.h:272:54: note: passing argument to parameter here
extern bool_t   svc_sendreply   __P((SVCXPRT *, xdrproc_t, char *));
                                                         ^
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/svc.h:272:54: note: passing argument to parameter here
extern bool_t   svc_sendreply   __P((SVCXPRT *, xdrproc_t, char *));
                                                         ^
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/svc.h:272:54: note: passing argument to parameter here
extern bool_t   svc_sendreply   __P((SVCXPRT *, xdrproc_t, char *));
                                                         ^
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/xdr.h:390:55: note: passing argument to parameter here
extern bool_t   xdr_bytes(XDR *, char **, unsigned int *, unsigned int);
                                                        ^
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/xdr.h:374: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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/xdr.h:374: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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/xdr.h:374:47: note: passing argument to parameter here
extern bool_t   xdr_u_long(XDR *, unsigned int *);
                                                ^
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/xdr.h:374:47: note: passing argument to parameter here
extern bool_t   xdr_u_long(XDR *, unsigned int *);
                                                ^
portmap.c:609:2: warning: implicit declaration of function 'get_myaddress' is invalid in C99 [-Wimplicit-function-declaration]
        get_myaddress(&me);
        ^
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:254:20: note: passing argument to parameter here
pid_t   wait3(int *, int, struct rusage *);
                   ^
14 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 <rpc/rpcent.h>
         ^~~~~~~~~~~~~~
1 error generated.
*** [pmap_check.o] Error code 1

bmake: stopped in /Users/pbulk/build/net/portmap/work/portmap_4
1 error

bmake: stopped in /Users/pbulk/build/net/portmap/work/portmap_4
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/portmap
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/portmap