From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:59:25 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B44E51065674 for ; Mon, 19 May 2008 16:59:25 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD8D8FC18 for ; Mon, 19 May 2008 16:59:25 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 5C2371CC038; Mon, 19 May 2008 09:59:25 -0700 (PDT) Date: Mon, 19 May 2008 09:59:25 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080519165925.GA77907@eos.sc1.parodius.com> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519165421.GA62264@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Doug Rabson , freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 May 2008 16:59:25 -0000 On Mon, May 19, 2008 at 11:54:21AM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 05:42:56PM +0100, Doug Rabson wrote: > > > > On 19 May 2008, at 17:38, Dave Uhring wrote: > > > >> On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: > >>> This symbol has been added to fcntl.h recently. It appears as if your > >>> build > >>> is picking up the installed header rather than the one from the source > >>> tree. Are you using 'make buildworld'? > >> > >> Yes, although at this point is it 'make -DNO_CLEAN buildworld' until I get > >> a clean > >> build. > >> > >> The header files in /usr/include/sys are those from 7.0 RELEASE, however, > >> and I > >> have had to copy 3 files (so far) from /usr/src/sys/sys to get the build > >> to > >> continue. > > > > You should never have to copy any header files to /usr/include to get a > > buildworld to work. Try without the -DNO_CLEAN and if that still fails, > > clean your /usr/obj (e.g. with rm -rf /usr/obj/*). > > The build is going nowhere without the correct header files in /usr/include/sys. Is there breakage of some sort being caused by your make.conf or (less probable) your src.conf? Any filesystem corruption (boot single user and force fsck on all the filesystems)? In all the years I've used FreeBSD, I've never had to copy include files from parts of /usr/src to get buildworld to work, so this is very odd behaviour. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |