From owner-freebsd-questions@FreeBSD.ORG Fri Apr 24 01:56:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCEB61065672 for ; Fri, 24 Apr 2009 01:56:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id EDC1D8FC0C for ; Fri, 24 Apr 2009 01:56:38 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id C0A12EB5CB4; Fri, 24 Apr 2009 04:56:37 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id A1F734509B; Fri, 24 Apr 2009 04:56:37 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8FeidJUnxOb7; Fri, 24 Apr 2009 04:56:37 +0300 (EEST) Received: from kobe.laptop (adsl107-3.kln.forthnet.gr [77.49.226.3]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 6FE3E4503F; Fri, 24 Apr 2009 04:56:37 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n3O1uaxl019433; Fri, 24 Apr 2009 04:56:36 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n3O1uZUj019432; Fri, 24 Apr 2009 04:56:35 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Annelise Anderson References: Date: Fri, 24 Apr 2009 04:56:35 +0300 In-Reply-To: (Annelise Anderson's message of "Thu, 23 Apr 2009 14:54:25 -0700 (PDT)") Message-ID: <87k55a3jcc.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Mergemaster Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2009 01:56:40 -0000 On Thu, 23 Apr 2009 14:54:25 -0700 (PDT), Annelise Anderson wrote: > I'm running mergemaster as root (-v -i -c) on an upgrade to > stable (I rebooted with the new kernel but have not done > the install) and can't run mergemaster, with result as follows: > > Default is to use /var/tmp/temproot as is > > How should I deal with this? [Use the existing /var/tmp/temproot] d > > *** Deleting the old /var/tmp/temproot > > *** Creating the temporary root environment in /var/tmp/temproot > *** /var/tmp/temproot ready for use > *** Creating and populating directory structure in /var/tmp/temproot > > *** Press the [Enter] or [Return] key to continue > "/usr/src/etc/Makefile", line 34: Malformed conditional (${MK_AMD} != "no") > "/usr/src/etc/Makefile", line 36: if-less endif [...] > > *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to > the temproot environment > > Any suggestions? Hi Annelise, It seems you are running mergemaster with a new kernel but with the old make(1) binary across a major release update. Since part of the update process spawned by mergemaster depends on `make' and the `/usr/share/mk' files, you have to installworld before you can use the new megemaster script. The pre-buildworld mode of mergemaster (`mergemaster -p') should run fine even with an old userland and old `/usr/share/mk' files. But you should install everything before you run a full mergemaster update of all files in `/etc'.