mergemaster -ia failed on some errors

masterkev28 masterkev28 masterkev28 at gmail.com
Sun Mar 13 15:50:05 PST 2005


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/02),
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.


More information about the freebsd-questions mailing list