From owner-freebsd-current@FreeBSD.ORG Sat Feb 10 21:13:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3907A16A400 for ; Sat, 10 Feb 2007 21:13:16 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id C091C13C4A3 for ; Sat, 10 Feb 2007 21:13:15 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id l1ALD2G2029935; Sat, 10 Feb 2007 22:13:02 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id l1ALCtnS092022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Feb 2007 22:12:55 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id l1ALCsqN004605; Sat, 10 Feb 2007 22:12:54 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id l1ALCqBT004604; Sat, 10 Feb 2007 22:12:52 +0100 (CET) (envelope-from ticso) Date: Sat, 10 Feb 2007 22:12:52 +0100 From: Bernd Walter To: Craig Rodrigues Message-ID: <20070210211252.GY81104@cicely12.cicely.de> References: <20070210165904.GA58269@crodrigues.org> <20070210194405.GA8434@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070210194405.GA8434@crodrigues.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-current@freebsd.org Subject: Re: Populating /usr/include for make buildworld? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Feb 2007 21:13:16 -0000 On Sat, Feb 10, 2007 at 02:44:05PM -0500, Craig Rodrigues wrote: > On Sat, Feb 10, 2007 at 11:59:04AM -0500, Craig Rodrigues wrote: > > I am trying to see if I have any outdated files in /usr/include by > > doing: > > cd /usr/obj ; rm -r * > > cd /usr/include ; rm -r * > > cd /usr/src; make buildworld > > Hi, > > I had better luck with: > cd /usr/obj ; rm -r * > cd /usr/include ; rm -r * > mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include > cd /usr/src; make installincludes > make buildworld You can't delete /usr/include befor make buildworld. You need the include files for you currently installed system to build the build tools, since the build tools need to run on your installed system, not on the system you are about to build. If you are worried about stall includes you can remove them befor installworld, since the buildtools are already compiled as part of the buildworld. > I'm not sure if there is a better way to do it using the existing > make target rules. The better way is to not do it at all befor you've build the new world, since this is foot shooting. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de