Re: installworld to DESTDIR: touch: not found

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Thu, 4 Dec 2003 17:13:34 +0200
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
> _at__at_ -401,7 +401,7 _at__at_
>         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

Received on Thu Dec 04 2003 - 06:14:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC