Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2005 16:08:56 -0600
From:      masterkev28 masterkev28 <masterkev28@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   mergemaster problem
Message-ID:  <449b8e71050313140869219505@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello everyone,
When I do mergemaster -ia, I get the following errors:

*** The directory specified for the temporary root environment,
    /var/tmp/temproot, exists.  This can be a security risk if untrusted
    users have access to the system.
 
*** Creating the temporary root environment in /var/tmp/temproot.0313.15.35.39
 *** /var/tmp/temproot.0313.15.35.39 ready for use
 *** Creating and populating directory structure in
/var/tmp/temproot.0313.15.35.39
 
"Makefile", line 76: Could not find bsd.endian.mk
"Makefile", line 77: Malformed conditional (${TARGET_ENDIANNESS} == "1234")
"Makefile", line 77: Need an operator
"Makefile", line 80: if-less elif
"Makefile", line 80: Need an operator
"Makefile", line 83: if-less else
"Makefile", line 83: Need an operator
"Makefile", line 85: if-less endif
"Makefile", line 85: Need an operator
make: fatal errors encountered -- cannot continue
 
  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
      the temproot environment

And I checked the /usr/src/etc/Makefile( version: 1.341 2005/03/03),
starting at line 76, it has:

.include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == "1234"
CAP_MKDB_ENDIAN= -l
PWD_MKDB_ENDIAN= -L
.elif ${TARGET_ENDIANNESS} == "4321"
CAP_MKDB_ENDIAN= -b
PWD_MKDB_ENDIAN= -B
.else
CAP_MKDB_ENDIAN=
.endif

I believe it's the source of error, I tried commenting them out, but
mergemaster failed at some point.
The file bsd.endian.mk (version 1.2 2005/02/25) is in the path
/usr/src/share/mk/ as well.

Any idea?
Thanks.



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