===> 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) { ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/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); ^ 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))){ ^ 2 warnings generated. clang -c -I. -I.. -Wall -O2 -DNETBSD syscalls.c syscalls.c:68:11: fatal error: 'nfs/nfsmount.h' file not found # include ^~~~~~~~~~~~~~~~ 1 error generated. *** [syscalls.o] Error code 1 bmake[1]: stopped making "all" in /Users/pbulk/build/net/sharity-light/work/Sharity-Light.1.3/nfs bmake[1]: 1 error bmake[1]: stopped making "all" in /Users/pbulk/build/net/sharity-light/work/Sharity-Light.1.3/nfs *** [nfs_dir] Error code 2 bmake: stopped making "all" in /Users/pbulk/build/net/sharity-light/work/Sharity-Light.1.3 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/net/sharity-light/work/Sharity-Light.1.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/sharity-light *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/sharity-light