From nobody@FreeBSD.org  Tue Jul 18 08:56:41 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6D62B16A4DA
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Jul 2006 08:56:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0A08B43D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Jul 2006 08:56:41 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6I8ue3H039744
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Jul 2006 08:56:40 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6I8ue28039671;
	Tue, 18 Jul 2006 08:56:40 GMT
	(envelope-from nobody)
Message-Id: <200607180856.k6I8ue28039671@www.freebsd.org>
Date: Tue, 18 Jul 2006 08:56:40 GMT
From: Matthieu Michaud <ohmer@epita.info>
To: freebsd-gnats-submit@FreeBSD.org
Subject: make install world failed because of touch missing
X-Send-Pr-Version: www-2.3

>Number:         100466
>Category:       misc
>Synopsis:       make install world failed because of touch missing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 18 09:00:30 GMT 2006
>Closed-Date:    Tue Jul 18 12:26:05 GMT 2006
>Last-Modified:  Tue Jul 18 13:20:14 GMT 2006
>Originator:     Matthieu Michaud
>Release:        FreeBSD 6.1-RELEASE-p2 i386
>Organization:
EPITA
>Environment:
FreeBSD delerium.srs.lab.epita.fr 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #7: Wed Jun 28 22:47:20 CEST 2006 root@delerium.srs.la
b.epita.fr:/usr/obj/usr/src/sys/DELERIUM i386
>Description:
make installworld fails sometimes because there is no touch binary in temporary install PATH. touch is needed by sys/conf/newvers.sh to make osreldate.h. it is not in all case and i don't know what triggers it. my source tree is checkouted from cvsup with RELENG_6_1 tag. it has been cleaned.
>How-To-Repeat:
sudo make installworld DESTDIR=/space/jail/www
>Fix:
copy touch too in temporary install PATH :

--- Makefile.inc1       Tue Jul 18 09:00:21 2006
+++ Makefile.inc1.orig  Tue Jul 18 08:59:42 2006
@@ -537,7 +537,7 @@
        for prog in [ awk cap_mkdb cat chflags chmod chown \
            date echo egrep find grep install-info \
            ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl \
-           test touch true uname wc zic; do \
+           test true uname wc zic; do \
                cp `which $$prog` ${INSTALLTMP}; \
        done
        ${_+_}cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}

>Release-Note:
>Audit-Trail:

From: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org>
To: Matthieu Michaud <ohmer@epita.info>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/100466: make install world failed because of touch missing
Date: Tue, 18 Jul 2006 08:14:08 -0400

 Matthieu Michaud <ohmer@epita.info> writes:
 
 >>Fix:
 > copy touch too in temporary install PATH :
 
 Are you sure your clock is correct?=20=20
 
 [ As per the Frequently Asked Question "Why does
 buildworld/installworld die with the message =E2=80=9Ctouch: not found=E2=
 =80=9D?":=20
 http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/troubleshoot.h=
 tml#TOUCH-NOT-FOUND=20
 ]
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Tue Jul 18 12:24:45 UTC 2006 
State-Changed-Why:  
Very FAQ: 

http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#TOUCH-NOT-FOUND 


http://www.freebsd.org/cgi/query-pr.cgi?pr=100466 

From: "Matthieu Michaud" <matthieu.michaud@epita.info>
To: "Lowell Gilbert" <freebsd-bugs-local@be-well.ilk.org>
Cc: "Matthieu Michaud" <ohmer@epita.info>, freebsd-gnats-submit@freebsd.org
Subject: Re: misc/100466: make install world failed because of touch missing
Date: Tue, 18 Jul 2006 15:07:00 +0200 (CEST)

 Le Mar 18 juillet 2006 14:14, Lowell Gilbert a crit :
 > Matthieu Michaud <ohmer@epita.info> writes:
 >
 >>>Fix:
 >> copy touch too in temporary install PATH :
 >
 > Are you sure your clock is correct?
 >
 > [ As per the Frequently Asked Question "Why does
 > buildworld/installworld die with the message “touch: not found”?":
 > http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#TOUCH-NOT-FOUND
 > ]
 >
 
 i do, i sync it via ntp. the error i get is "touch: no such file or
 directory". how can it be more explicit ? :)
 
 -- 
 Matthieu Michaud
 EPITA SRS 2007

From: Maxim Konovalov <maxim@macomnet.ru>
To: Matthieu Michaud <matthieu.michaud@epita.info>
Cc: bug-followup@freebsd.org
Subject: Re: misc/100466: make install world failed because of touch missing
Date: Tue, 18 Jul 2006 17:14:17 +0400 (MSD)

 On Tue, 18 Jul 2006, 13:10-0000, Matthieu Michaud wrote:
 
 >  Le Mar 18 juillet 2006 14:14, Lowell Gilbert a crit :
 >  > Matthieu Michaud <ohmer@epita.info> writes:
 >  >
 >  >>>Fix:
 >  >> copy touch too in temporary install PATH :
 >  >
 >  > Are you sure your clock is correct?
 >  >
 >  > [ As per the Frequently Asked Question "Why does
 >  > buildworld/installworld die with the message “touch: not found”?":
 >  > http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#TOUCH-NOT-FOUND
 >  > ]
 >  >
 >
 >  i do, i sync it via ntp. the error i get is "touch: no such file or
 >  directory". how can it be more explicit ? :)
 
 Are you sure you done "make buildworld" before "installworld"?
 
 An easiest way to check is to rebuild the world and install it then.
 
 -- 
 Maxim Konovalov
>Unformatted:
