From owner-freebsd-current@FreeBSD.ORG Mon Mar 24 18:10:26 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 181AC1065675 for ; Mon, 24 Mar 2008 18:10:26 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id A98C98FC2E for ; Mon, 24 Mar 2008 18:10:25 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id E60E246C0D; Mon, 24 Mar 2008 14:10:24 -0400 (EDT) Date: Mon, 24 Mar 2008 18:10:24 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: David Wolfskill In-Reply-To: <20080324174912.GM75023@bunrab.catwhisker.org> Message-ID: <20080324180925.X12107@fledge.watson.org> References: <47E55BD0.2000101@chuckr.org> <20080324164814.GA86990@dragon.NUXI.org> <47E7E283.5070406@chuckr.org> <20080324174912.GM75023@bunrab.catwhisker.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Chuck Robey , freebsd-current@freebsd.org Subject: Re: patching 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: Mon, 24 Mar 2008 18:10:26 -0000 On Mon, 24 Mar 2008, David Wolfskill wrote: > On Mon, Mar 24, 2008 at 01:18:59PM -0400, Chuck Robey wrote: >> ... >>> In otherwords, you have stale files in ${DESTDIR}/usr/include. >> >> Thanks, David, I'd found it a couple days ago, actually it was pointed directly >> to in an earlier email. I had somehow pulled a really old copy of tablet.h from >> my cvs archive onto my system.... > > Something I've been doing for a while to avoid that is to augment the steps > listed in src/UPDATING by prefixing the "make installworld" with > > rm -fr /usr/include.old && mv /usr/include{,.old} > > so once "make installworld" has completed, /usr/include is fresh. > > I have had very few breaks -- even in CURRENT -- over the years since > adopting the approach. (And I generally track CURRENT daily.) > > Note that the approach is not appropriate for a machine that has > /usr/include updated outside of the "make installworld" process -- but my > machines don't have that issue. (Still, note that I "move aside" the old > /usr/include, just in case....) buildworld instructions generally also seem to exclude "rm -Rf /usr/obj/whatever", or some make clean variation, which is, once in a while, required to get a successful build. Robert N M Watson Computer Laboratory University of Cambridge