=> 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/MacOSX11.3.sdk/usr/include/sys/socket.h:706: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/MacOSX11.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/MacOSX11.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 In file included from syscalls.c:68: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:95:33: error: use of undeclared identifier 'NFS_ATTR_BITMAP_LEN' uint32_t nfsa_supp_attr[NFS_ATTR_BITMAP_LEN]; /* attributes supported on this file system */ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:96:30: error: use of undeclared identifier 'NFS_ATTR_BITMAP_LEN' uint32_t nfsa_bitmap[NFS_ATTR_BITMAP_LEN]; /* valid attributes */ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:149:2: error: unknown type name 'mbuf_t' mbuf_t nrrs_m; /* mbufs for current record */ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:150:2: error: unknown type name 'mbuf_t' mbuf_t nrrs_mlast; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:161:2: error: unknown type name 'lck_mtx_t' lck_mtx_t nso_lock; /* nfs socket lock */ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:168:2: error: unknown type name 'socket_t'; did you mean 'socklen_t'? socket_t nso_so; /* socket */ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/_types/_socklen_t.h:31:33: note: 'socklen_t' declared here typedef __darwin_socklen_t socklen_t; ^ In file included from syscalls.c:68: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:219:56: error: unknown type name 'nfsnode_t' int (*nf_mount)(struct nfsmount *, vfs_context_t, nfsnode_t *); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:222:38: error: unexpected type name 'u_int32_t': expected identifier int (*nf_access_rpc)(nfsnode_t, u_int32_t *, int, vfs_context_t); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:222:48: error: expected ')' int (*nf_access_rpc)(nfsnode_t, u_int32_t *, int, vfs_context_t); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:222:26: note: to match this '(' int (*nf_access_rpc)(nfsnode_t, u_int32_t *, int, vfs_context_t); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:222:27: error: a parameter list without types is only allowed in a function definition int (*nf_access_rpc)(nfsnode_t, u_int32_t *, int, vfs_context_t); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:223:39: error: unexpected type name 'mount_t': expected identifier int (*nf_getattr_rpc)(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:223:48: error: unexpected type name 'u_char': expected identifier int (*nf_getattr_rpc)(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:223:55: error: expected ')' int (*nf_getattr_rpc)(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:223:27: note: to match this '(' int (*nf_getattr_rpc)(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:223:28: error: a parameter list without types is only allowed in a function definition int (*nf_getattr_rpc)(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:224:39: error: expected identifier int (*nf_setattr_rpc)(nfsnode_t, struct vnode_attr *, vfs_context_t); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:225:42: error: unexpected type name 'off_t': expected identifier int (*nf_read_rpc_async)(nfsnode_t, off_t, size_t, thread_t, kauth_cred_t, struct nfsreq_cbinfo *, struct nfsreq **); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:225:49: error: unexpected type name 'size_t': expected identifier int (*nf_read_rpc_async)(nfsnode_t, off_t, size_t, thread_t, kauth_cred_t, struct nfsreq_cbinfo *, struct nfsreq **); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:225:67: error: unexpected type name 'kauth_cred_t': expected identifier int (*nf_read_rpc_async)(nfsnode_t, off_t, size_t, thread_t, kauth_cred_t, struct nfsreq_cbinfo *, struct nfsreq **); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/nfs/nfsmount.h:225:81: error: expected identifier int (*nf_read_rpc_async)(nfsnode_t, off_t, size_t, thread_t, kauth_cred_t, struct nfsreq_cbinfo *, struct nfsreq **); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors 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-macos11-trunk-x86_64/net/sharity-light *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/net/sharity-light