From owner-freebsd-current@FreeBSD.ORG Tue Apr 29 06:56:22 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8E4B106566C; Tue, 29 Apr 2008 06:56:22 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from mail.vega.ru (infra.dev.vega.ru [90.156.167.14]) by mx1.freebsd.org (Postfix) with ESMTP id 45CB78FC1F; Tue, 29 Apr 2008 06:56:21 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from [87.242.97.68] (port=61501 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1JqjRo-0005N0-0E; Tue, 29 Apr 2008 06:36:16 +0000 Received: from edoofus.dev.vega.ru (localhost [127.0.0.1]) by edoofus.dev.vega.ru (8.14.2/8.14.2) with ESMTP id m3T6aCeD036609; Tue, 29 Apr 2008 10:36:12 +0400 (MSD) (envelope-from rermilov@team.vega.ru) Received: (from ru@localhost) by edoofus.dev.vega.ru (8.14.2/8.14.2/Submit) id m3T6aBUV036608; Tue, 29 Apr 2008 10:36:11 +0400 (MSD) (envelope-from rermilov@team.vega.ru) X-Authentication-Warning: edoofus.dev.vega.ru: ru set sender to rermilov@team.vega.ru using -f Date: Tue, 29 Apr 2008 10:36:11 +0400 From: Ruslan Ermilov To: Alex Keda Message-ID: <20080429063611.GA36573@team.vega.ru> References: <481219B2.7010309@lissyara.su> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <481219B2.7010309@lissyara.su> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Yar Tikhiy , FreeBSD Current Subject: Re: world not build X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 06:56:22 -0000 On Fri, Apr 25, 2008 at 09:49:38PM +0400, Alex Keda wrote: > I update source 2-3 hour ago > ============== > cc -O2 -pipe > -I/usr/src/usr.bin/fstat/zfs/../../../sys/cddl/compat/opensolaris > -I/usr/src/usr.bin/fstat/zfs/../../../cddl/compat/opensolaris/include > -I/usr/src/usr.bin/fstat/zfs/../../../cddl/compat/opensolaris/lib/libumem > -I/usr/src/usr.bin/fstat/zfs/../../../cddl/contrib/opensolaris/lib/libzpool/common > -I/usr/src/usr.bin/fstat/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs > -I/usr/src/usr.bin/fstat/zfs/../../../sys/cddl/contrib/opensolaris/uts/common > -I/usr/src/usr.bin/fstat/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/sys > -I/usr/src/usr.bin/fstat/zfs/../../../cddl/contrib/opensolaris/head > -I/usr/src/usr.bin/fstat/zfs/.. -Wsystem-headers -Werror -Wno-pointer-sign > -c /usr/src/usr.bin/fstat/zfs/zfs.c > cc -O2 -pipe -D_KVM_VNODE -DZFS -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wno-pointer-sign -c /usr/src/usr.bin/fstat/zfs/zfs.c > /usr/src/usr.bin/fstat/zfs/zfs.c:38:29: error: sys/zfs_context.h: No such > file or directory > /usr/src/usr.bin/fstat/zfs/zfs.c:39:21: error: sys/spa.h: No such file or > directory > /usr/src/usr.bin/fstat/zfs/zfs.c:40:26: error: sys/spa_impl.h: No such file > or directory > /usr/src/usr.bin/fstat/zfs/zfs.c:41:21: error: sys/dmu.h: No such file or > directory > /usr/src/usr.bin/fstat/zfs/zfs.c:42:21: error: sys/zap.h: No such file or > directory > /usr/src/usr.bin/fstat/zfs/zfs.c:43:24: error: sys/fs/zfs.h: No such file > or directory > /usr/src/usr.bin/fstat/zfs/zfs.c:44:27: error: sys/zfs_znode.h: No such > file or directory > /usr/src/usr.bin/fstat/zfs/zfs.c:51:1: error: "ZFS" redefined > : error: this is the location of the previous definition > /usr/src/usr.bin/fstat/zfs/zfs.c:53:19: error: fstat.h: No such file or > directory > cc1: warnings being treated as errors > /usr/src/usr.bin/fstat/zfs/zfs.c:63: warning: 'struct filestat' declared > inside parameter list > /usr/src/usr.bin/fstat/zfs/zfs.c:63: warning: its scope is only this > definition or declaration, which is probably not what you want > /usr/src/usr.bin/fstat/zfs/zfs.c:64: warning: no previous prototype for > 'zfs_filestat' > /usr/src/usr.bin/fstat/zfs/zfs.c: In function 'zfs_filestat': > /usr/src/usr.bin/fstat/zfs/zfs.c:66: error: 'znode_phys_t' undeclared > (first use in this function) > /usr/src/usr.bin/fstat/zfs/zfs.c:66: error: (Each undeclared identifier is > reported only once > /usr/src/usr.bin/fstat/zfs/zfs.c:66: error: for each function it appears > in.) > /usr/src/usr.bin/fstat/zfs/zfs.c:66: error: expected ';' before 'zphys' > /usr/src/usr.bin/fstat/zfs/zfs.c:76: warning: implicit declaration of > function 'dprintf' > /usr/src/usr.bin/fstat/zfs/zfs.c:76: warning: nested extern declaration of > 'dprintf' > /usr/src/usr.bin/fstat/zfs/zfs.c:86: warning: implicit declaration of > function 'getvnodedata' > /usr/src/usr.bin/fstat/zfs/zfs.c:86: warning: nested extern declaration of > 'getvnodedata' > /usr/src/usr.bin/fstat/zfs/zfs.c:86: warning: assignment makes pointer from > integer without a cast > /usr/src/usr.bin/fstat/zfs/zfs.c:87: warning: implicit declaration of > function 'KVM_READ' > /usr/src/usr.bin/fstat/zfs/zfs.c:87: warning: nested extern declaration of > 'KVM_READ' > /usr/src/usr.bin/fstat/zfs/zfs.c:89: error: 'Pid' undeclared (first use in > this function) > /usr/src/usr.bin/fstat/zfs/zfs.c:104: error: 'zphys' undeclared (first use > in this function) > /usr/src/usr.bin/fstat/zfs/zfs.c:111: warning: implicit declaration of > function 'getvnodemount' > /usr/src/usr.bin/fstat/zfs/zfs.c:111: warning: nested extern declaration of > 'getvnodemount' > /usr/src/usr.bin/fstat/zfs/zfs.c:111: warning: assignment makes pointer > from integer without a cast > /usr/src/usr.bin/fstat/zfs/zfs.c:118: error: dereferencing pointer to > incomplete type > /usr/src/usr.bin/fstat/zfs/zfs.c:119: error: dereferencing pointer to > incomplete type > /usr/src/usr.bin/fstat/zfs/zfs.c:125: error: dereferencing pointer to > incomplete type > /usr/src/usr.bin/fstat/zfs/zfs.c:126: error: dereferencing pointer to > incomplete type > /usr/src/usr.bin/fstat/zfs/zfs.c:127: error: dereferencing pointer to > incomplete type > *** Error code 1 > > Stop in /usr/src/usr.bin/fstat. > *** Error code 1 > This is a known issue since February. I'll commit a fix shortly. In the meantime, ``rm -r /usr/obj/usr/src/usr.bin/fstat/zfs'' before attempting to rebuild should work around the problem. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer