From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:54:24 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 D368D106566C for ; Mon, 19 May 2008 16:54:24 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA648FC15 for ; Mon, 19 May 2008 16:54:24 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519165421.XLGQ5653.mta11.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 12:54:21 -0400 Received: from maxwell ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080519165421.QWEE3194.aarprv06.charter.net@maxwell>; Mon, 19 May 2008 12:54:21 -0400 Received: by maxwell (Postfix, from userid 1000) id DFA362A; Mon, 19 May 2008 11:54:21 -0500 (CDT) Date: Mon, 19 May 2008 11:54:21 -0500 From: Dave Uhring To: Doug Rabson Message-ID: <20080519165421.GA62264@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: 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:54:24 -0000 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. I have repeatedly cleaned /usr/obj to no avail, but I have a better method for doing that: umount /usr/obj newfs /dev/da4s2f mount /usr/obj