Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2009 21:47:26 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org, Anderson@Hoover.Stanford.EDU
Subject:   Re: Mergemaster Problem
Message-ID:  <alpine.BSF.2.00.0904232146500.1127@andrsn.stanford.edu>
In-Reply-To: <87k55a3jcc.fsf@kobe.laptop>
References:  <alpine.BSF.2.00.0904231451480.1109@andrsn.stanford.edu> <87k55a3jcc.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Apr 2009, Giorgos Keramidas wrote:

> 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'.
>
Right you are.  Thanks.  Now I understand what I was reading in UPDATING.

 	Annelise



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0904232146500.1127>