+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sharity-light-1.3/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sharity-light-1.3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for sharity-light-1.3 --- nfs_dir --- (cd nfs; /usr/pkg/bin/bmake "CFLAGS=-Wall -O2 -DNETBSD" "CC=cc" "ARCH= " "RPC_WARNFLAGS=-Wno-unused -Wno-switch -Wno-uninitialized") --- nfs_prot.h --- --- nfs_prot_xdr.c --- --- nfs_prot.h --- rm -f nfs_prot.h --- nfs_prot_xdr.c --- rm -f nfs_prot_xdr.c --- 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 --- nfs_prot_xdr.c --- rpcgen -c nfs_prot.x | sed 's;^#include ".*/nfs_prot.h"$;#include "nfs_prot.h";' >nfs_prot_xdr.c --- mount.o --- cc -c -I. -I.. -Wall -O2 -DNETBSD mount.c --- nfs_funcs.o --- cc -c -I. -I.. -Wall -O2 -DNETBSD nfs_funcs.c nfs_funcs.c: In function 'nfsproc_readdir': nfs_funcs.c:274:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ntohl(*(int *)(ra->cookie))); ^ --- mount.o --- mount.c: In function 'mount_and_dispatch': mount.c:150:33: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(sock, (struct sockaddr*) &sain, &namelen) <0) { ^ In file included from /usr/include/netinet/in.h:24:0, from /usr/include/rpc/types.h:91, from /usr/include/rpc/rpc.h:38, from mount.c:14: /usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ --- nfs_funcs.o --- nfs_funcs.c:276:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int *)p->cookie = htonl(*(int *)p->cookie); ^ nfs_funcs.c:276:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] nfs_funcs.c: In function 'nfsproc_read': nfs_funcs.c:375:7: warning: pointer targets in passing argument 2 of 'fo_read' differ in signedness [-Wpointer-sign] ra->count)); ^ In file included from nfs_funcs.c:15:0: ../my_defines.h:91:5: note: expected 'int *' but argument is of type 'u_int *' int fo_read(my_attr_t *fa, int *len, char **data, fh_t fh, int off, int count); ^ nfs_funcs.c: In function 'nfs_dispatch': nfs_funcs.c:556:2: warning: passing argument 2 of 'transp->xp_ops->xp_getargs' from incompatible pointer type [enabled by default] if (!svc_getargs(transp, dent->xdr_argument, (caddr_t)&argument)){ ^ nfs_funcs.c:556:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' nfs_funcs.c:565:2: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [enabled by default] if (result != NULL && !svc_sendreply(transp, dent->xdr_result, result)){ ^ In file included from /usr/include/rpc/rpc.h:56:0, from nfs_funcs.c:14: /usr/include/rpc/svc.h:244:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results, ^ nfs_funcs.c:568:2: warning: passing argument 2 of 'transp->xp_ops->xp_freeargs' from incompatible pointer type [enabled by default] if (!svc_freeargs(transp, dent->xdr_argument, (caddr_t)&argument)){ ^ nfs_funcs.c:568:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' --- syscalls.o --- cc -c -I. -I.. -Wall -O2 -DNETBSD syscalls.c In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:45:2: error: redeclaration of enumerator 'NFS_OK' NFS_OK = 0, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:69:2: note: previous definition of 'NFS_OK' was here NFS_OK = 0, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:46:2: error: redeclaration of enumerator 'NFSERR_PERM' NFSERR_PERM = 1, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:70:2: note: previous definition of 'NFSERR_PERM' was here NFSERR_PERM = 1, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:47:2: error: redeclaration of enumerator 'NFSERR_NOENT' NFSERR_NOENT = 2, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:71:2: note: previous definition of 'NFSERR_NOENT' was here NFSERR_NOENT = 2, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:48:2: error: redeclaration of enumerator 'NFSERR_IO' NFSERR_IO = 5, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:72:2: note: previous definition of 'NFSERR_IO' was here NFSERR_IO = 5, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:49:2: error: redeclaration of enumerator 'NFSERR_NXIO' NFSERR_NXIO = 6, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:73:2: note: previous definition of 'NFSERR_NXIO' was here NFSERR_NXIO = 6, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:51:2: error: redeclaration of enumerator 'NFSERR_ACCES' NFSERR_ACCES = 13, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:74:2: note: previous definition of 'NFSERR_ACCES' was here NFSERR_ACCES = 13, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:52:2: error: redeclaration of enumerator 'NFSERR_EXIST' NFSERR_EXIST = 17, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:75:2: note: previous definition of 'NFSERR_EXIST' was here NFSERR_EXIST = 17, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:54:2: error: redeclaration of enumerator 'NFSERR_NODEV' NFSERR_NODEV = 19, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:76:2: note: previous definition of 'NFSERR_NODEV' was here NFSERR_NODEV = 19, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:55:2: error: redeclaration of enumerator 'NFSERR_NOTDIR' NFSERR_NOTDIR = 20, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:77:2: note: previous definition of 'NFSERR_NOTDIR' was here NFSERR_NOTDIR = 20, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:56:2: error: redeclaration of enumerator 'NFSERR_ISDIR' NFSERR_ISDIR = 21, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:78:2: note: previous definition of 'NFSERR_ISDIR' was here NFSERR_ISDIR = 21, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:58:2: error: redeclaration of enumerator 'NFSERR_FBIG' NFSERR_FBIG = 27, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:79:2: note: previous definition of 'NFSERR_FBIG' was here NFSERR_FBIG = 27, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:59:2: error: redeclaration of enumerator 'NFSERR_NOSPC' NFSERR_NOSPC = 28, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:80:2: note: previous definition of 'NFSERR_NOSPC' was here NFSERR_NOSPC = 28, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:60:2: error: redeclaration of enumerator 'NFSERR_ROFS' NFSERR_ROFS = 30, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:81:2: note: previous definition of 'NFSERR_ROFS' was here NFSERR_ROFS = 30, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:63:2: error: redeclaration of enumerator 'NFSERR_NAMETOOLONG' NFSERR_NAMETOOLONG = 63, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:82:2: note: previous definition of 'NFSERR_NAMETOOLONG' was here NFSERR_NAMETOOLONG = 63, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:64:2: error: redeclaration of enumerator 'NFSERR_NOTEMPTY' NFSERR_NOTEMPTY = 66, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:83:2: note: previous definition of 'NFSERR_NOTEMPTY' was here NFSERR_NOTEMPTY = 66, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:65:2: error: redeclaration of enumerator 'NFSERR_DQUOT' NFSERR_DQUOT = 69, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:84:2: note: previous definition of 'NFSERR_DQUOT' was here NFSERR_DQUOT = 69, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:66:2: error: redeclaration of enumerator 'NFSERR_STALE' NFSERR_STALE = 70, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:85:2: note: previous definition of 'NFSERR_STALE' was here NFSERR_STALE = 70, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:68:2: error: redeclaration of enumerator 'NFSERR_WFLUSH' NFSERR_WFLUSH = 99, /* v2 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:86:2: note: previous definition of 'NFSERR_WFLUSH' was here NFSERR_WFLUSH = 99, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:122:2: error: redeclaration of enumerator 'NFNON' NFNON = 0, ^ In file included from syscalls.c:16:0: nfs_prot.h:91:2: note: previous definition of 'NFNON' was here NFNON = 0, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:123:2: error: redeclaration of enumerator 'NFREG' NFREG = 1, ^ In file included from syscalls.c:16:0: nfs_prot.h:92:2: note: previous definition of 'NFREG' was here NFREG = 1, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:124:2: error: redeclaration of enumerator 'NFDIR' NFDIR = 2, ^ In file included from syscalls.c:16:0: nfs_prot.h:93:2: note: previous definition of 'NFDIR' was here NFDIR = 2, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:125:2: error: redeclaration of enumerator 'NFBLK' NFBLK = 3, ^ In file included from syscalls.c:16:0: nfs_prot.h:94:2: note: previous definition of 'NFBLK' was here NFBLK = 3, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:126:2: error: redeclaration of enumerator 'NFCHR' NFCHR = 4, ^ In file included from syscalls.c:16:0: nfs_prot.h:95:2: note: previous definition of 'NFCHR' was here NFCHR = 4, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:127:2: error: redeclaration of enumerator 'NFLNK' NFLNK = 5, ^ In file included from syscalls.c:16:0: nfs_prot.h:96:2: note: previous definition of 'NFLNK' was here NFLNK = 5, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:128:2: error: redeclaration of enumerator 'NFSOCK' NFSOCK = 6, ^ In file included from syscalls.c:16:0: nfs_prot.h:97:2: note: previous definition of 'NFSOCK' was here NFSOCK = 6, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:129:2: error: redeclaration of enumerator 'NFBAD' NFBAD = 7, ^ In file included from syscalls.c:16:0: nfs_prot.h:98:2: note: previous definition of 'NFBAD' was here NFBAD = 7, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:130:2: error: redeclaration of enumerator 'NFFIFO' NFFIFO = 8 ^ In file included from syscalls.c:16:0: nfs_prot.h:99:2: note: previous definition of 'NFFIFO' was here NFFIFO = 8, ^ syscalls.c: In function 'syscall_mount': syscalls.c:192:17: error: incompatible types when assigning to type 'struct nfs3_fh' from type 'nfs_fh' nfs_args.root = *(nfs_fh *)root_fh; ^ *** [syscalls.o] Error code 1 bmake[1]: stopped in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3/nfs 1 error bmake[1]: stopped in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3/nfs *** [nfs_dir] Error code 2 bmake: stopped in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3 1 error bmake: stopped in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/sharity-light *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/sharity-light