From hg@cally.queue.to  Sun Feb 26 00:48:48 2006
Return-Path: <hg@cally.queue.to>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1E59F16A420
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Feb 2006 00:48:48 +0000 (GMT)
	(envelope-from hg@cally.queue.to)
Received: from tamqfl1-ar1-201-118.biz.dsl.gtei.net (tamqfl1-ar1-201-118.biz.dsl.gtei.net [4.35.201.118])
	by mx1.FreeBSD.org (Postfix) with SMTP id 4BD4043D58
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Feb 2006 00:48:46 +0000 (GMT)
	(envelope-from hg@cally.queue.to)
Received: (qmail 57468 invoked from network); 26 Feb 2006 00:48:45 -0000
Received: from cally.queue.to (172.16.0.6)
  by pickle.queue.to with SMTP; 26 Feb 2006 00:48:45 -0000
Received: (qmail 25230 invoked by uid 0); 26 Feb 2006 00:48:45 -0000
Message-Id: <20060226004845.25218.qmail@cally.queue.to>
Date: 26 Feb 2006 00:48:45 -0000
From: Howard Goldstein <hginfla@gmail.com>
Reply-To: Howard Goldstein <hginfla@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: cross-machine installworld broken in sys/boot/i386/loader
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         93845
>Category:       i386
>Synopsis:       cross-machine installworld broken in sys/boot/i386/loader
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 26 00:50:02 GMT 2006
>Closed-Date:    Mon Apr 16 21:08:39 GMT 2007
>Last-Modified:  Mon Apr 16 21:08:39 GMT 2007
>Originator:     Howard Goldstein
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD cally.queue.to 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Sat Feb 25 14:04:19 EST 2006 hg@cally.queue.to:/u3/usr/obj/usr/src/sys/CALLY i386


	
>Description:
 Installing world with /usr/src and /usr/obj mounted via NFS to a 'real'
 machine now fails as below.  Somehow the install bits in sys/i386/loader
 have become dependent on the absolute build directory.  It used to be
 ok to 'make build' on a 'thoroughbred' system and then 'make install'
 on weaker systems by mounting /usr/src/ and /usr/obj, at least it was under
 4.1.  Note the error below:  the /u3 device only exists on the 
 'thoroughbred' system mounted via NFS.  This occured during 'make installworld'
 (make installkernel worked fine)
===> sys/boot/i386/libi386 (install)
===> sys/boot/i386/loader (install)
make: don't know how to make /u3/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a. Stop
*** Error code 2

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1


	
>How-To-Repeat:
 Mount /usr/src and /usr/obj via NFS on a "weak" machine and try to
 'make installworld' onto it.  It'll fail as above
	
>Fix:
 Workaround, not a fix:  Create phony mount points on the system being
 upgraded so it mimics physical disk layout of the 'build' machine. Help!!!
	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Apr 16 21:07:56 UTC 2007 
State-Changed-Why:  
Cross-installs are only supported by NFS-mounting the 
target's file systems and doing an installworld with 
DESTDIR pointing there. 

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