[Patch] Unable to installworld on multiple machines

Colin Harford charford-list at infinithost.com
Tue Oct 7 15:21:00 PDT 2003


Ooops, I see that it has been filed now...

CH


On Oct 7, 2003, at 3:04 PM, Colin Harford wrote:

> I tried sending the following via send-pr, and the email gets 
> rejected.  So I tried sending this to 
> FreeBSD-gnats-submit at freebsd.org. However, after 4 days it is not 
> showing up in the bug database...
>
>
>
>> Submitter-Id:	current-users
>> Originator:	charford at 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 at 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 ---
>
>
>



More information about the freebsd-bugs mailing list