Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2008 10:48:46 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Chuck Robey <chuckr@chuckr.org>
Cc:        freebsd.org@catwhisker.org, freebsd-current@freebsd.org
Subject:   Re: patching
Message-ID:  <20080324174846.GL75023@bunrab.catwhisker.org>
In-Reply-To: <47E7E283.5070406@chuckr.org>
References:  <47E55BD0.2000101@chuckr.org> <20080324164814.GA86990@dragon.NUXI.org> <47E7E283.5070406@chuckr.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--sWvRP97dwRHm9fX+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 24, 2008 at 01:18:59PM -0400, Chuck Robey wrote:
> ...
> > In otherwords, you have stale files in ${DESTDIR}/usr/include.
>=20
> Thanks, David, I'd found it a couple days ago, actually it was pointed di=
rectly
> 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....)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
I submit that "conspiracy" would be an appropriate collective noun for cats.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--sWvRP97dwRHm9fX+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iEYEARECAAYFAkfn6X0ACgkQmprOCmdXAD1a7wCdGVNS1vFau87tRrERTQAvj2RD
BPIAn22SQh56OTvDQG6inmkRwMHbLOUt
=SsIA
-----END PGP SIGNATURE-----

--sWvRP97dwRHm9fX+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080324174846.GL75023>