installworld to DESTDIR: touch: not found

Ruslan Ermilov ru at freebsd.org
Thu Dec 4 07:14:05 PST 2003


On Thu, Dec 04, 2003 at 03:24:32PM +0100, Ruben de Groot wrote:
[...]
> 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$//}
> 
touch(1) should not be run during the installworld, fullstop.
If make(1) attempts to execute it then either of the following
is true:

- buildworld was incomplete or sources were updated after
  buildworld has been run for the last time,

- your computer's clock is set incorrectly,

- some source files have modification time pointing to
  the future (check with ``find /usr/src -mtime -0'').

The last two items can confuse make(1) to think it should
rebuild something when it's not supposed to do it (i.e.,
during the installworld).


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031204/18131186/attachment.bin


More information about the freebsd-current mailing list