=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mrstat-1.21
clang -pipe -Os  -c mrstat.c
mrstat.c:256:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        mach->sclnt = clnt_create(mach->host_internal.name, RSTATPROG,
                                  ^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/clnt.h:318:39: note: passing argument to parameter here
extern CLIENT *clnt_create      __P((char *, unsigned int, unsigned int, char *));
                                           ^
mrstat.c:258:69: 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 (mach->sclnt == 0 || clnt_call(mach->sclnt, RSTATPROC_STATS, xdr_void,
                                                                    ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/clnt.h:197:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
mrstat.c:259:10: warning: incompatible function pointer types passing 'int (XDR *, statstime *)' (aka 'int (struct __rpc_xdr *, struct statstime *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
                        NULL, xdr_statstime, &statsp, timeout) != RPC_SUCCESS)
                              ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/clnt.h:197:52: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                                          ^~~~
mrstat.c:268:31: warning: incompatible function pointer types passing 'int (XDR *, statstime *)' (aka 'int (struct __rpc_xdr *, struct statstime *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
    clnt_freeres(mach->sclnt, xdr_statstime, (char *)&statsp);
                              ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/clnt.h:224:68: note: expanded from macro 'clnt_freeres'
#define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp))
                                                                   ^~~~
mrstat.c:275:14: error: expected ')'
                                                (const rpcprog_t)RUSERSPROG,
                                                       ^
mrstat.c:275:7: note: to match this '('
                                                (const rpcprog_t)RUSERSPROG,
                                                ^
mrstat.c:275:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
                                                (const rpcprog_t)RUSERSPROG,
                                                 ~~~~~ ^
mrstat.c:274:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        mach->uclnt = clnt_create(mach->host_internal.name,
                                  ^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/clnt.h:318:39: note: passing argument to parameter here
extern CLIENT *clnt_create      __P((char *, unsigned int, unsigned int, char *));
                                           ^
mrstat.c:278:11: error: expected ')'
                        (const rpcproc_t)RUSERSPROC_NAMES, xdr_void,
                               ^
mrstat.c:278:4: note: to match this '('
                        (const rpcproc_t)RUSERSPROC_NAMES, xdr_void,
                        ^
mrstat.c:278:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
                        (const rpcproc_t)RUSERSPROC_NAMES, xdr_void,
                         ~~~~~ ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/clnt.h:197:32: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                      ^~~~
mrstat.c:278:39: 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]
                        (const rpcproc_t)RUSERSPROC_NAMES, xdr_void,
                                                           ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/rpc/clnt.h:197:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
mrstat.c:338:27: error: use of undeclared identifier 'INFTIM'
    if (poll(&validfd, 1, INFTIM) != 1 ||
                          ^
8 warnings and 3 errors generated.
*** [mrstat.o] Error code 1

bmake: stopped in /Users/pbulk/build/net/mrstat/work/mrstat-1.21
1 error

bmake: stopped in /Users/pbulk/build/net/mrstat/work/mrstat-1.21
*** Error code 2

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

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