stable/11 build fails @r306629; I suspect r306609

David Wolfskill david at catwhisker.org
Mon Oct 3 11:29:08 UTC 2016


This is for a src-based in-place upgrade of stable/11 (amd64) from
r306576 to r306629; both my laptop and build machine show errors,
starting with:

...
>>> stage 4.3: building everything
...
--- all_subdir_usr.bin ---
--- all_subdir_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];
        ^
/usr/src/usr.bin/nfsstat/nfsstat.c:305:4: error: array index 75 is past the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_READDIRPLUS],
                        ^                      ~~~~~~~~~~~~~~~~~~~
/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:310:4: error: array index 76 is past the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_MKNOD],
                        ^                      ~~~~~~~~~~~~~
/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:311:4: error: array index 77 is past the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_FSSTAT],
                        ^                      ~~~~~~~~~~~~~~
/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:312:4: error: array index 78 is past the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_FSINFO],
                        ^                      ~~~~~~~~~~~~~~
/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:313:4: 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/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:544:7: error: array index 80 is past the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                    ext_nfsstats.srvrpccnt[NFSV4OP_V3CREATE],
                    ^                      ~~~~~~~~~~~~~~~~
/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:554:7: 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:555:7: 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:556:7: 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];
        ^
/usr/src/usr.bin/nfsstat/nfsstat.c:558:7: error: array index 75 is past the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                    ext_nfsstats.srvrpccnt[NFSV4OP_READDIRPLUS],
                    ^                      ~~~~~~~~~~~~~~~~~~~
/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:566:7: error: array index 76 is past the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                    ext_nfsstats.srvrpccnt[NFSV4OP_MKNOD],
                    ^                      ~~~~~~~~~~~~~
/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:567:7: error: array index 77 is past the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
....


Based on what I've seen in the past, I suspect that changes to a
small number (e.g., 1) of files) didn't make it to the commit.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20161003/1aca07ab/attachment.sig>


More information about the freebsd-stable mailing list