From nobody@FreeBSD.org  Wed May 22 17:14:15 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id B168333F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 May 2013 17:14:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id A2781795
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 May 2013 17:14:15 +0000 (UTC)
Received: from oldred.FreeBSD.org ([127.0.1.6])
	by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4MHEEhs093970
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 May 2013 17:14:14 GMT
	(envelope-from nobody@oldred.FreeBSD.org)
Received: (from nobody@localhost)
	by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4MHEEj8093969;
	Wed, 22 May 2013 17:14:14 GMT
	(envelope-from nobody)
Message-Id: <201305221714.r4MHEEj8093969@oldred.FreeBSD.org>
Date: Wed, 22 May 2013 17:14:14 GMT
From: Trond Endrestl <Trond.Endrestol@ximalas.info>
To: freebsd-gnats-submit@FreeBSD.org
Subject: share/i18n/csmapper tries to use $DESTDIR/usr/bin/touch despite touch will first be installed at a later stage during make installworld
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         178838
>Category:       misc
>Synopsis:       [build] share/i18n/csmapper tries to use $DESTDIR/usr/bin/touch despite touch will first be installed at a later stage during make installworld
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jilles
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 22 17:20:01 UTC 2013
>Closed-Date:    Sun Apr 06 20:20:36 UTC 2014
>Last-Modified:  Sun Apr 06 20:20:36 UTC 2014
>Originator:     Trond Endrestl
>Release:        10.0-CURRENT
>Organization:
Private
>Environment:
FreeBSD freebsd10.bsd.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250739: Fri May 17 12:49:09 CEST 2013     root@freebsd10.bsd.net:/usr/obj/usr/src/sys/VBOX  amd64
>Description:
share/i18n/csmapper tries to use $DESTDIR/usr/bin/touch despite touch will first be installed at a later stage during make installworld:

===> share/i18n (install)
===> share/i18n/csmapper (install)
touch mapper.dir
make: exec(touch) failed (No such file or directory)
*** Error code 1

Stop.
make: stopped in /usr/src/share/i18n/csmapper
*** Error code 1

Stop.
make: stopped in /usr/src/share/i18n
*** Error code 1

Stop.
make: stopped in /usr/src/share
*** Error code 1

Stop.
make: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

Problem appeared sometime after 2013-05-17T10:55+0000.

I even tried copying /usr/obj/usr/src/usr.bin/touch/touch to /20130522/usr/bin/touch prior to a second run of make installworld, but to no avail.

I'm not ruling out a local problem.
>How-To-Repeat:
cd /usr/src
svn up                      # I'm at r250910
make buildworld buildkernel
zfs create -o mountpoint=/20130522 zroot/ROOT/20130522
make DESTDIR=/20130522 installkernel
make DESTDIR=/20130522 installworld
>Fix:
Two possible solutions are: (1) use /usr/bin/touch, or (2) reorder installworld with /usr/src/usr.bin being installed prior to /usr/src/share. I'm not sure if solution 2 will have a negative impact in other areas, say buildworld.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jilles 
State-Changed-When: Sun Apr 6 20:19:15 UTC 2014 
State-Changed-Why:  
The problem is that 'touch' should not be used during installworld 
and was fixed in SVN r250919. 


Responsible-Changed-From-To: freebsd-bugs->jilles 
Responsible-Changed-By: jilles 
Responsible-Changed-When: Sun Apr 6 20:19:15 UTC 2014 
Responsible-Changed-Why:  
Track replies. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178838 
>Unformatted:
