Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2003 15:04:41 -0600
From:      Colin Harford <charford-list@infinithost.com>
To:        freebsd-bugs@freebsd.org
Subject:   [Patch] Unable to installworld on multiple machines
Message-ID:  <DE718ACA-F909-11D7-ABC3-000393A39C48@infinithost.com>

next in thread | raw e-mail | index | archive | help
I tried sending the following via send-pr, and the email gets rejected. 
  So I tried sending this to FreeBSD-gnats-submit@freebsd.org. However, 
after 4 days it is not showing up in the bug database...



> Submitter-Id:	current-users
> Originator:	charford@infinithost.com
> Organization:	Infinithost
> Confidential:	no
> Synopsis:	[Patch] Unable to installworld on multiple machines
> Severity:	non-critical
> Priority:	medium
> Category:	conf
> Class:		sw-bug
> Release:	FreeBSD 5.1-RELEASE i386
Environment:
System: FreeBSD hermes.infinithost.com 5.1-RELEASE FreeBSD 5.1-RELEASE 
#2: Thu Jun 26 00:38:46 CDT 2003 
root@hermes.infinithost.com:/usr/obj/usr/src/sys/GENERIC i386


	<machine, os, target, libraries (multiple lines)>
> Description:
	Trying to build FreeBSD from another machine's SRC complains that 
touch cannot be found.
> How-To-Repeat:
	If you go to install it onto a machine other than the world was 
compiled on it comes up with an error that touch cannot be
found.  Searching google and such points for most of this problem to be 
an issue with the date.  However, that does not seem to the case...
If you change Makefile.inc1 to the attached patch there is no longer 
the problem.

> Fix:

	See attached diff.  Quite simply, have installworld rebuild touch and 
m4 as part of the installworld process.


- - --- Makefile.inc1.diff begins here ---
*** Makefile.inc1.orig	Thu Oct  2 20:42:35 2003
- - --- Makefile.inc1	Thu Oct  2 20:43:25 2003
***************
*** 401,407 ****
   	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 \
   		cp `which $$prog` ${INSTALLTMP}; \
   	done
   	cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}
- - --- 401,407 ----
   	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 touch m4; do \
   		cp `which $$prog` ${INSTALLTMP}; \
   	done
   	cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}
- - --- Makefile.inc1.diff ends here ---





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DE718ACA-F909-11D7-ABC3-000393A39C48>