build fails post SVN r304026

Michael Butler imb at protected-networks.net
Sat Aug 13 13:54:07 UTC 2016


Is anyone else seeing this?

===> usr.bin/nfsstat (all)
Building /usr/obj/usr/src/usr.bin/nfsstat/nfsstat.o
/usr/src/usr.bin/nfsstat/nfsstat.c:301:4: error: array index 72 is past
the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_SYMLINK],
                        ^                      ~~~~~~~~~~~~~~~
/usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array
'srvrpccnt' declared here
        int     srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS];
        ^
/usr/src/usr.bin/nfsstat/nfsstat.c:302:4: error: array index 73 is past
the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_MKDIR],
                        ^                      ~~~~~~~~~~~~~
/usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array
'srvrpccnt' declared here
        int     srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS];
        ^
/usr/src/usr.bin/nfsstat/nfsstat.c:303:4: error: array index 74 is past
the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_RMDIR],
                        ^                      ~~~~~~~~~~~~~
/usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array
'srvrpccnt' declared here
        int     srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS];

 [ .. ]

	imb


More information about the freebsd-current mailing list