From owner-freebsd-stable@FreeBSD.ORG Mon May 19 17:04:28 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 72B69106567B for ; Mon, 19 May 2008 17:04:28 +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 5A1038FC13 for ; Mon, 19 May 2008 17:04:28 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 4F31A1CC038; Mon, 19 May 2008 10:04:28 -0700 (PDT) Date: Mon, 19 May 2008 10:04:28 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080519170428.GB77907@eos.sc1.parodius.com> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519165807.GB62264@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) 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 17:04:28 -0000 On Mon, May 19, 2008 at 11:58:07AM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 09:42:21AM -0700, Jeremy Chadwick wrote: > > > > Is there some reason you're using -DNO_CLEAN, and haven't just nuked > > /usr/obj/* and done buildworld normally? I can't reproduce any of this > > behaviour on any of our RELENG_7 systems. > > I have repeately nuked /usr/obj. That is not going to put updated header files > where they need to be. It's apparent you don't quite understand. The "updated header files" reside in /usr/src, and ***remain there*** until installworld is done. The buildworld process will include the "updated header files", trumping most of those which are in /usr/include. You do not need to copy any files from /usr/src/sys/sys to /usr/include or anywhere else to get buildworld to work. If you're having to do that, the problem is very likely elsewhere. > I'm using -DNO_CLEAN in order to get the system to a point where a build just > might succeed without -DNO_CLEAN and I'm not getting there without some header > files being in the right place. > > Remember I'm starting from a RELEASE userland. This is just about as bad as > jumping from one full release to the next :( Okay, so you installed 7.0-RELEASE on a machine. Did you choose to install src from the CD/DVD when installing? (If so, you will need to "adopt" the version you installed to the current version, see the cvsup FAQ here: http://www.cvsup.org/faq.html#caniadopt -- and you'll need to do this for ports if you installed the ports tree off the CD/DVD as well) If you csup'd, what tag did you use? RELENG_7? I'm assuming so. Did you use src-all, or are you using a custom supfile? We use /usr/share/examples/cvsup/stable-supfile. -- | 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 |