From owner-freebsd-current@FreeBSD.ORG Sun Feb 11 06:40:15 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 5066216A408 for ; Sun, 11 Feb 2007 06:40:15 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1144313C467 for ; Sun, 11 Feb 2007 06:40:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l1B6cJhL024798; Sat, 10 Feb 2007 23:38:19 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 10 Feb 2007 23:38:57 -0700 (MST) Message-Id: <20070210.233857.-1947354995.imp@bsdimp.com> To: rodrigc@crodrigues.org From: "M. Warner Losh" In-Reply-To: <20070210165904.GA58269@crodrigues.org> References: <20070210165904.GA58269@crodrigues.org> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sat, 10 Feb 2007 23:38:20 -0700 (MST) 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 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 06:40:15 -0000 In message: <20070210165904.GA58269@crodrigues.org> Craig Rodrigues writes: : Hi, : : 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 : : buildworld is failing in a few places because : the installincludes step is not populating : /usr/include/zlib.h, /usr/include/zconf.h, or /usr/include/termcap.h : : What is the correct way to populate /usr/include : before buildworld? "make installworld" :-) The proper way to get rid of outdated files is 'make delete-old-files'. However, if you've borked this system, you may be able to get things back with a 'make includes' but that can fail at times due to dependencies on /usr/include that creep in. You may have to define a lot of WITHOUT_FOO variables. You may be able to install the tarballs from a release that includes the includes to recover... You may need to say OSRELDATE=0 on the command line to successfully build. Warner