Re: patching
- From: Robert Watson <rwatson@xxxxxxxxxxx>
- Date: Mon, 24 Mar 2008 18:10:24 +0000 (GMT)
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
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- References:
- patching
- From: Chuck Robey
- Re: patching
- From: David O'Brien
- Re: patching
- From: Chuck Robey
- Re: patching
- From: David Wolfskill
- patching
- Prev by Date: Re: patching
- Next by Date: Re: Crash during boot on Asus P5N-MX MB
- Previous by thread: Re: patching
- Next by thread: on shutdown: "panic: fifo_close: no v_fifoinfo"
- Index(es):