Date: Thu, 4 Dec 2003 15:24:32 +0100 From: Ruben de Groot <mail25@bzerk.org> To: Peter Edwards <peter.edwards@openet-telecom.com> Cc: Kent Stewart <kstewart@owt.com> Subject: Re: installworld to DESTDIR: touch: not found Message-ID: <20031204142432.GA3846@ei.bzerk.org> In-Reply-To: <3FCF32E2.9050303@openet-telecom.com> References: <Pine.NEB.3.96L.1031129230913.62313F-100000@fledge.watson.org> <3FCF32E2.9050303@openet-telecom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 04, 2003 at 01:13:06PM +0000, Peter Edwards typed:
> Robert Watson wrote:
>
> >On Sat, 29 Nov 2003, Kent Stewart wrote:
> >
> >
> >
> >>This kind of error frequently happens when your clock is off. Make
> >>thinks the date of the cvsuped source is newer than the file it created
> >>and tries to create it again.
> >>
> >>Do you run cmos at UTC or local. If local, did you adjkerntz -i.
> >>
> >>
> >
> >A few people have suggested this. System clock runs UTC, and it uses ntp;
> >as far as I can tell, there were no interesting time shifts during the
> >build. All file systems are local not NFS, so that rules out
> >client/server timestamp problems. I'm blowing away my object tree and
> >will try to buildworld again and see what happens.
> >
> >
> >
> I recently had an issue with installworld and DESTDIR with a 5.1-RELEASE
> source tree. I concluded after some brief reads of the make magic that I
> needed to set "MAKEOBJDIRPREFIX" before it'd work, even if it was just
> set to "/usr/obj". Sorry for the sketchiness, and I don't actually have
> a world built into /usr/obj to try this out without burning CPU cycles
> for an hour or so.
Doesn't work here. I'm having the same problem. This simple change works
for me:
--- Makefile.inc1.orig Thu Sep 25 16:09:00 2003
+++ Makefile.inc1 Thu Oct 2 03:14:00 2003
@@ -401,7 +401,7 @@
for prog in [ awk cap_mkdb cat chflags chmod chown \
date echo egrep find grep \
ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl \
- test true uname wc zic; do \
+ test touch true uname wc zic; do \
cp `which $$prog` ${INSTALLTMP}; \
done
cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031204142432.GA3846>
