Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2009 04:56:35 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Annelise Anderson <andrsn@andrsn.stanford.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mergemaster Problem
Message-ID:  <87k55a3jcc.fsf@kobe.laptop>
In-Reply-To: <alpine.BSF.2.00.0904231451480.1109@andrsn.stanford.edu> (Annelise Anderson's message of "Thu, 23 Apr 2009 14:54:25 -0700 (PDT)")
References:  <alpine.BSF.2.00.0904231451480.1109@andrsn.stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Apr 2009 14:54:25 -0700 (PDT), Annelise Anderson <andrsn@andrsn.stanford.edu> 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'.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87k55a3jcc.fsf>