From nobody@FreeBSD.org  Sat Aug 27 06:58:04 2005
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 0035C16A420
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 27 Aug 2005 06:58:03 +0000 (GMT)
	(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 726EC43E91
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 27 Aug 2005 06:31:21 +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 j7R6VKwB058732
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 27 Aug 2005 06:31:20 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j7R6VKu2058731;
	Sat, 27 Aug 2005 06:31:20 GMT
	(envelope-from nobody)
Message-Id: <200508270631.j7R6VKu2058731@www.freebsd.org>
Date: Sat, 27 Aug 2005 06:31:20 GMT
From: Wouter Prins <wp@null0.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mergemaster and jail install is failing
X-Send-Pr-Version: www-2.3

>Number:         85341
>Category:       misc
>Synopsis:       mergemaster and jail install is failing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 27 07:00:36 GMT 2005
>Closed-Date:    Wed Oct 12 16:02:54 GMT 2005
>Last-Modified:  Wed Oct 12 16:02:54 GMT 2005
>Originator:     Wouter Prins
>Release:        5.4-RELEASE-p6
>Organization:
>Environment:
FreeBSD base.null0.nl 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #2: Wed Aug 17 16:08:41 CEST 2005     root@base.null0.nl:/usr/obj/usr/src/sys/BASE  i386
>Description:
I have installed from a 5.4 mini-install iso cd. CVSUP-ed ports and src with RELENG-5.4.
I have completed the buildworld, installworld, buildkernel and installkernel process because of some compiler optimalization and want to run mergemaster (although this might not be needed). I ran mergemaster from /usr/src and then it errors out with the following:

--
install -o root -g wheel -m 640  /dev/null /var/tmp/temproot/var/log/sendmail.st
install -o root -g wheel -m 644  freebsd.cf /var/tmp/temproot/etc/mail/sendmail.cf
install -o root -g wheel -m 444  freebsd.submit.cf /var/tmp/temproot/etc/mail/submit.cf
cd /usr/src/etc; install -o root -g wheel -m 644   /var/tmp/temproot/etc/ssh
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
      the temproot environment

root@base#
--

It looks like install doesnt get a sourcefile for ssh. :(



>How-To-Repeat:
A rerun of mergemaster

When i ignored the above and wanted to install some jails i got the same error with running 'make distribution DESTDIR=/usr/j/1'.

>Fix:
None
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: dougb 
State-Changed-When: Wed Oct 12 00:36:15 GMT 2005 
State-Changed-Why:  

If you are trying to run mergemaster with only the sources 
in /usr/src/etc, that will not work. The Makefile in that 
directory pulls in stuff from other parts of the tree, so 
it's necessary to have a full src tree in place before 
running mergemaster. 

If you are still interested in this problem, can you please 
report back as to whether that solves it or not? 

Thanks, 

Doug 


Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Wed Oct 12 00:36:15 GMT 2005 
Responsible-Changed-Why:  

I maintain mergemaster 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85341 
State-Changed-From-To: feedback->closed 
State-Changed-By: dougb 
State-Changed-When: Wed Oct 12 16:02:14 GMT 2005 
State-Changed-Why:  

Originator reports that the problem was local, and has 
been resolved. 

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