=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for sharity-light-1.3
(cd nfs; /opt/pkg/bin/bmake "CFLAGS=-Wall -O2 -DNETBSD"     "CC=clang" "ARCH=	" "RPC_WARNFLAGS=-Wno-unused -Wno-switch -Wno-uninitialized")
rm -f nfs_prot.h
rpcgen -h nfs_prot.x |  sed 's@char data\[NFS_FHSIZE\];@long long data\[NFS_FHSIZE / sizeof(long long)\];@' > nfs_prot.h
rm -f nfs_prot_xdr.c
rpcgen -c nfs_prot.x |  sed 's;^#include ".*/nfs_prot.h"$;#include "nfs_prot.h";' >nfs_prot_xdr.c
clang  -c -I. -I.. -Wall -O2 -DNETBSD mount.c
mount.c:150:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                if (getsockname(sock, (struct sockaddr*) &sain, &namelen) <0) {
                                                                ^~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
1 warning generated.
clang  -c -I. -I.. -Wall -O2 -DNETBSD nfs_funcs.c
nfs_funcs.c:371:7: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                                &res.readres_u.reply.data.data_len,
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../my_defines.h:91:33: note: passing argument to parameter 'len' here
int     fo_read(my_attr_t *fa, int *len, char **data, fh_t fh, int off, int count);
                                    ^
../my_defines.h:39: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    nfs_dispatch();
        ^
nfs_funcs.c:526:6: note: conflicting prototype is here
void nfs_dispatch(struct svc_req *rqstp, SVCXPRT *transp)
     ^
nfs_funcs.c:549:40: warning: expression does not compute the number of elements in this array; element type is 'struct dentry', not 'struct entry' [-Wsizeof-array-div]
        if (proc_i >= (sizeof(dispatch_table) / sizeof(struct entry))){
                              ~~~~~~~~~~~~~~  ^
nfs_funcs.c:503:22: note: array 'dispatch_table' declared here
static struct dentry dispatch_table[] = {
                     ^
nfs_funcs.c:549:40: note: place parentheses around the 'sizeof(struct entry)' expression to silence this warning
        if (proc_i >= (sizeof(dispatch_table) / sizeof(struct entry))){
                                              ^
nfs_funcs.c:556: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(transp, dent->xdr_argument, (caddr_t)&argument)){
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/rpc/svc.h:152:31: note: expanded from macro 'svc_getargs'
        (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))
                                     ^
nfs_funcs.c:563:29: 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]
        result = (*dent->function) (&argument);
                                   ^
nfs_funcs.c:568: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_freeargs(transp, dent->xdr_argument, (caddr_t)&argument)){
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/rpc/svc.h:162:32: note: expanded from macro 'svc_freeargs'
        (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))
                                      ^
6 warnings generated.
clang  -c -I. -I.. -Wall -O2 -DNETBSD syscalls.c
syscalls.c:68:11: fatal error: 'nfs/nfsmount.h' file not found
# include <nfs/nfsmount.h>
          ^~~~~~~~~~~~~~~~
1 error generated.
*** [syscalls.o] Error code 1

bmake[1]: stopped in /Users/pbulk/build/net/sharity-light/work/Sharity-Light.1.3/nfs
1 error

bmake[1]: stopped in /Users/pbulk/build/net/sharity-light/work/Sharity-Light.1.3/nfs
*** [nfs_dir] Error code 2

bmake: stopped in /Users/pbulk/build/net/sharity-light/work/Sharity-Light.1.3
1 error

bmake: stopped in /Users/pbulk/build/net/sharity-light/work/Sharity-Light.1.3
*** Error code 2

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

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