=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for nfsshell-1.0nb1
rpcgen -C mount.x
rpcgen -C nfs_prot.x
gcc -pipe -Os -O2 -I.  -c mount_xdr.c
gcc -pipe -Os -O2 -I.  -c nfs_prot_clnt.c
nfs_prot_clnt.c:18:36: 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 (clnt_call(clnt, NFSPROC_NULL, xdr_void, argp, xdr_void, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:18:52: 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 (clnt_call(clnt, NFSPROC_NULL, xdr_void, argp, xdr_void, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:29:39: warning: incompatible function pointer types passing 'int (XDR *, nfs_fh *)' (aka 'int (struct __rpc_xdr *, struct nfs_fh *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_GETATTR, xdr_nfs_fh, argp, xdr_attrstat, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:29:57: warning: incompatible function pointer types passing 'int (XDR *, attrstat *)' (aka 'int (struct __rpc_xdr *, struct attrstat *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_GETATTR, xdr_nfs_fh, argp, xdr_attrstat, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:40:39: warning: incompatible function pointer types passing 'int (XDR *, sattrargs *)' (aka 'int (struct __rpc_xdr *, struct sattrargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_SETATTR, xdr_sattrargs, argp, xdr_attrstat, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:40:60: warning: incompatible function pointer types passing 'int (XDR *, attrstat *)' (aka 'int (struct __rpc_xdr *, struct attrstat *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_SETATTR, xdr_sattrargs, argp, xdr_attrstat, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:51:36: 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 (clnt_call(clnt, NFSPROC_ROOT, xdr_void, argp, xdr_void, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:51:52: 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 (clnt_call(clnt, NFSPROC_ROOT, xdr_void, argp, xdr_void, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:62:38: warning: incompatible function pointer types passing 'int (XDR *, diropargs *)' (aka 'int (struct __rpc_xdr *, struct diropargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_LOOKUP, xdr_diropargs, argp, xdr_diropres, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:62:59: warning: incompatible function pointer types passing 'int (XDR *, diropres *)' (aka 'int (struct __rpc_xdr *, struct diropres *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_LOOKUP, xdr_diropargs, argp, xdr_diropres, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:73:40: warning: incompatible function pointer types passing 'int (XDR *, nfs_fh *)' (aka 'int (struct __rpc_xdr *, struct nfs_fh *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_READLINK, xdr_nfs_fh, argp, xdr_readlinkres, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:73:58: warning: incompatible function pointer types passing 'int (XDR *, readlinkres *)' (aka 'int (struct __rpc_xdr *, struct readlinkres *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_READLINK, xdr_nfs_fh, argp, xdr_readlinkres, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:84:36: warning: incompatible function pointer types passing 'int (XDR *, readargs *)' (aka 'int (struct __rpc_xdr *, struct readargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_READ, xdr_readargs, argp, xdr_readres, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:84:56: warning: incompatible function pointer types passing 'int (XDR *, readres *)' (aka 'int (struct __rpc_xdr *, struct readres *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_READ, xdr_readargs, argp, xdr_readres, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:95:42: 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 (clnt_call(clnt, NFSPROC_WRITECACHE, xdr_void, argp, xdr_void, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:95:58: 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 (clnt_call(clnt, NFSPROC_WRITECACHE, xdr_void, argp, xdr_void, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:106:37: warning: incompatible function pointer types passing 'int (XDR *, writeargs *)' (aka 'int (struct __rpc_xdr *, struct writeargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_WRITE, xdr_writeargs, argp, xdr_attrstat, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:106:58: warning: incompatible function pointer types passing 'int (XDR *, attrstat *)' (aka 'int (struct __rpc_xdr *, struct attrstat *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_WRITE, xdr_writeargs, argp, xdr_attrstat, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:117:38: warning: incompatible function pointer types passing 'int (XDR *, createargs *)' (aka 'int (struct __rpc_xdr *, struct createargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_CREATE, xdr_createargs, argp, xdr_diropres, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:117:60: warning: incompatible function pointer types passing 'int (XDR *, diropres *)' (aka 'int (struct __rpc_xdr *, struct diropres *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_CREATE, xdr_createargs, argp, xdr_diropres, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:128:38: warning: incompatible function pointer types passing 'int (XDR *, diropargs *)' (aka 'int (struct __rpc_xdr *, struct diropargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_REMOVE, xdr_diropargs, argp, xdr_nfsstat, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:128:59: warning: incompatible function pointer types passing 'int (XDR *, nfsstat *)' (aka 'int (struct __rpc_xdr *, enum nfsstat *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_REMOVE, xdr_diropargs, argp, xdr_nfsstat, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:139:38: warning: incompatible function pointer types passing 'int (XDR *, renameargs *)' (aka 'int (struct __rpc_xdr *, struct renameargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_RENAME, xdr_renameargs, argp, xdr_nfsstat, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:139:60: warning: incompatible function pointer types passing 'int (XDR *, nfsstat *)' (aka 'int (struct __rpc_xdr *, enum nfsstat *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_RENAME, xdr_renameargs, argp, xdr_nfsstat, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:150:36: warning: incompatible function pointer types passing 'int (XDR *, linkargs *)' (aka 'int (struct __rpc_xdr *, struct linkargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_LINK, xdr_linkargs, argp, xdr_nfsstat, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:150:56: warning: incompatible function pointer types passing 'int (XDR *, nfsstat *)' (aka 'int (struct __rpc_xdr *, enum nfsstat *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_LINK, xdr_linkargs, argp, xdr_nfsstat, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:161:39: warning: incompatible function pointer types passing 'int (XDR *, symlinkargs *)' (aka 'int (struct __rpc_xdr *, struct symlinkargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_SYMLINK, xdr_symlinkargs, argp, xdr_nfsstat, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:161:62: warning: incompatible function pointer types passing 'int (XDR *, nfsstat *)' (aka 'int (struct __rpc_xdr *, enum nfsstat *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_SYMLINK, xdr_symlinkargs, argp, xdr_nfsstat, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:172:37: warning: incompatible function pointer types passing 'int (XDR *, createargs *)' (aka 'int (struct __rpc_xdr *, struct createargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_MKDIR, xdr_createargs, argp, xdr_diropres, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:172:59: warning: incompatible function pointer types passing 'int (XDR *, diropres *)' (aka 'int (struct __rpc_xdr *, struct diropres *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_MKDIR, xdr_createargs, argp, xdr_diropres, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:183:37: warning: incompatible function pointer types passing 'int (XDR *, diropargs *)' (aka 'int (struct __rpc_xdr *, struct diropargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_RMDIR, xdr_diropargs, argp, xdr_nfsstat, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:183:58: warning: incompatible function pointer types passing 'int (XDR *, nfsstat *)' (aka 'int (struct __rpc_xdr *, enum nfsstat *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_RMDIR, xdr_diropargs, argp, xdr_nfsstat, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:194:39: warning: incompatible function pointer types passing 'int (XDR *, readdirargs *)' (aka 'int (struct __rpc_xdr *, struct readdirargs *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_READDIR, xdr_readdirargs, argp, xdr_readdirres, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:194:62: warning: incompatible function pointer types passing 'int (XDR *, readdirres *)' (aka 'int (struct __rpc_xdr *, struct readdirres *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_READDIR, xdr_readdirargs, argp, xdr_readdirres, &clnt_res, 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))
                                                          ^~~~
nfs_prot_clnt.c:205:38: warning: incompatible function pointer types passing 'int (XDR *, nfs_fh *)' (aka 'int (struct __rpc_xdr *, struct nfs_fh *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_STATFS, xdr_nfs_fh, argp, xdr_statfsres, &clnt_res, 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:38: note: expanded from macro 'clnt_call'
        ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
                                            ^~~~~
nfs_prot_clnt.c:205:56: warning: incompatible function pointer types passing 'int (XDR *, statfsres *)' (aka 'int (struct __rpc_xdr *, struct statfsres *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types]
        if (clnt_call(clnt, NFSPROC_STATFS, xdr_nfs_fh, argp, xdr_statfsres, &clnt_res, 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))
                                                          ^~~~
36 warnings generated.
gcc -pipe -Os -O2 -I.  -c nfs_prot_xdr.c
gcc -pipe -Os -O2 -I.  -c nfsshell.c
nfsshell.c:30:10: fatal error: 'ufs/ufs/dinode.h' file not found
#include <ufs/ufs/dinode.h> /*HF: NetBSD*/
         ^~~~~~~~~~~~~~~~~~
1 error generated.
*** [nfsshell.o] Error code 1

bmake: stopped in /Users/pbulk/build/security/nfsbug/work/nfsbug
1 error

bmake: stopped in /Users/pbulk/build/security/nfsbug/work/nfsbug
*** Error code 2

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

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