From owner-freebsd-stable@freebsd.org Mon Oct 3 11:54:23 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A308AC6E86 for ; Mon, 3 Oct 2016 11:54:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E6B72E66 for ; Mon, 3 Oct 2016 11:54:22 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id E5FFDAC6E85; Mon, 3 Oct 2016 11:54:22 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E59BCAC6E84 for ; Mon, 3 Oct 2016 11:54:22 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B171E63; Mon, 3 Oct 2016 11:54:22 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id u93BsA5Y002897 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 3 Oct 2016 14:54:10 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua u93BsA5Y002897 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id u93Bs9HH002896; Mon, 3 Oct 2016 14:54:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 3 Oct 2016 14:54:09 +0300 From: Konstantin Belousov To: David Wolfskill , stable@freebsd.org, Rick Macklem Subject: Re: stable/11 build fails @r306629; I suspect r306609 Message-ID: <20161003115409.GO38409@kib.kiev.ua> References: <20161003112901.GG1103@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161003112901.GG1103@albert.catwhisker.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 11:54:23 -0000 On Mon, Oct 03, 2016 at 04:29:01AM -0700, David Wolfskill wrote: > 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. The missed revisions are r304058, r304059, r304066, r304194, r305146, it seems. WRT r305146, I am not completely sure about other Makefiles, but preceeding revisions are definitely needed. Do svn merge -c r304058,r304059,r304066,r304194,r305146 \^/head and rebuild the world.