From owner-freebsd-stable@FreeBSD.ORG Wed Aug 20 22:47:23 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 5AFEC106567C for ; Wed, 20 Aug 2008 22:47:23 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 128B18FC16 for ; Wed, 20 Aug 2008 22:47:22 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id m7KMataV005885; Wed, 20 Aug 2008 15:36:55 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id m7KMatox005884; Wed, 20 Aug 2008 15:36:55 -0700 (PDT) (envelope-from david) Date: Wed, 20 Aug 2008 15:36:55 -0700 From: David Wolfskill To: Matthias Andree Message-ID: <20080820223655.GI801@bunrab.catwhisker.org> Mail-Followup-To: David Wolfskill , Matthias Andree , freebsd-stable@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fmvA4kSBHQVZhkR6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: "make delete-old" misses files, breaking KRB5-related builds 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: Wed, 20 Aug 2008 22:47:23 -0000 --fmvA4kSBHQVZhkR6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 21, 2008 at 12:02:38AM +0200, Matthias Andree wrote: > ... > Not quite recently, the build targets for "make delete-old" and > "make delete-old-libs" were added, and I thought there were sort of > useful to get rid of crap after updates. >=20 > However, something somehow somewhen dropped old gssapi_generic.h and > related files into /usr/include/gssapi which sat there waiting to wreak > havoc on port builds on later 6.X or 7.0 releases. Either some port > installed outside $PREFIX, or these used to be part of the system and > got removed before the "make delete-old" framework was put into place. > "Wreak havoc" means mislead configure scripts of several packages > (GNOME-related in my case) to believe some other installation was there, > but it wouldn't work because some parts of the system were > missing/changed... > ...=20 > So what's the canonical way to "installworld" into a staging area so I > can just compare or rsync --del system directories? > ... I don't promise that it's "canonical," but an approach that has stood me in good stead for several years has been to precede "make installworld" with rm -fr /usr/include.old && mv /usr/include{,.old} thus causing the "make installword" step to completely re-create /usr/include from scratch. Granted, this will be of reduced utility if there are any other procedures you use to update /usr/include. Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --fmvA4kSBHQVZhkR6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkisnIYACgkQmprOCmdXAD3ExACggy8QSqen5+OG8+OXXW05kIvp IeUAoIMFU2NIGZD4Rd4f+yiyAxl9tlKH =r4D4 -----END PGP SIGNATURE----- --fmvA4kSBHQVZhkR6--