Looks like r304026 breaks buildworld

Lev Serebryakov lev at FreeBSD.org
Sat Aug 13 11:36:41 UTC 2016


 "Subsequent commits will update nfsstat(8) to use the new fields." says
commit log message, but now (r304040) I can not build nfsstat at all (it
is only one error out of many alike):

/usr/local/poudriere/jails/12x64-gw/usr/src/usr.bin/nfsstat/nfsstat.c:569:7:
error: array index 79 is past the end of the array (which contains 49
elements) [-Werror,-Warray-bounds]
                    ext_nfsstats.srvrpccnt[NFSV4OP_PATHCONF],
                    ^                      ~~~~~~~~~~~~~~~~
/usr/obj/usr/local/poudriere/jails/12x64-gw/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2:
note: array 'srvrpccnt' declared here
        int     srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS];


-- 
// Lev Serebryakov AKA Black Lion

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 964 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20160813/c1782acc/attachment.sig>


More information about the freebsd-fs mailing list