From owner-freebsd-bugs Wed Jul 3 6:23:35 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E3AD37B400 for ; Wed, 3 Jul 2002 06:23:31 -0700 (PDT) Received: from mail-relay1.yahoo.com (mail-relay1.yahoo.com [216.145.48.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3026343E4A for ; Wed, 3 Jul 2002 06:23:31 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from FreeBSD.org (12-234-90-219.client.attbi.com [12.234.90.219]) by mail-relay1.yahoo.com (Postfix) with ESMTP id CFDD98B5CB; Wed, 3 Jul 2002 06:23:30 -0700 (PDT) Message-ID: <3D22FAD2.CEECC961@FreeBSD.org> Date: Wed, 03 Jul 2002 06:23:30 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.79 [en] (X11; U; FreeBSD 4.6-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Douglas Denault Cc: freebsd-bugs@FreeBSD.org Subject: Re: conf/40102: mergemaster should use the currend working directoryas the default for -m References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Douglas Denault wrote: > > I understand that (mergemaster is your baby) and a fine piece of work > it is too. Thanks. > 1) man mergemaster does not specify that the default is a constant. The script uses /usr/src/etc/Makefile to build a temporary root environ- ment from / down, populating that environment with the various files. I think that's pretty clear. > 2) to do the build and install, you MUST be in the "src" directory that > you cvsup'd to, This is not correct. I think that you have something badly broken in your environment. Do you have a ~/.mergemasterrc file, or /etc/mergemaster.rc? I think that you have created something non-default that is interfering with how mergemaster is supposed to work. > 3) If you use NFS to build multiple systems, you (seemingly) must mount > the src directory on the target system with the same name as that of > the build system. There has been a lot of discussion to the effect > that "should not" be the case, but as far as I know, it is. You are confusing the process that mergemaster uses with the process that make installworld uses. For the latter, you must have the same paths on the system that mounts the files as you did on the system that created them. For mergemaster, you can point it at any directory with the -m option and it will work; or if your source is in /usr/src, you can just type 'mergemaster' and it'll work. > 4) Lastly (and the killer for me) is that the process, mergemaster'ing, > works if /usr/src is empty. This is one thing that makes me believe that you have something non-standard in your environment, since this definitely won't work. If you have no /usr/src/etc/Makefile, mergemaster will fail without at least -m. Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message