On Fri, 24 Apr 2009, Giorgos Keramidas wrote:

On Thu, 23 Apr 2009 14:54:25 -0700 (PDT), Annelise Anderson 
<and...@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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to