installworld to DESTDIR: touch: not found
Ruben de Groot
mail25 at bzerk.org
Thu Dec 4 06:23:01 PST 2003
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current
mailing list