mongodb 2.2.0 won't build
heapifyman
heapifyman at gmail.com
Wed Sep 26 12:42:42 PDT 2012
Hello all,
after https://trac.macports.org/ticket/35118 has been closed I tried to
upgrade mongodb to the latest version but I get a build error.
I'm still using Mac OS X 10.5 (I know it's ancient...) and the build log
ends like this:
:info:build /usr/bin/g++-4.0 -o
build/darwin/cc__usr_bin_gcc-4.0/cxx__usr_bin_g++-4.0/extralib_pcre_pcrecpp_js_snappy/use-system-pcre/use-system-sm/use-system-snappy/mongo/platform/atomic_word_test.o
-c -Wnon-virtual-dtor -Woverloaded-virtual -arch i386 -fPIC
-fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare
-Wno-unknown-pragmas -Winvalid-pch -O3 -DBOOST_ALL_NO_LIB -D_SCONS
-DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -D_FILE_OFFSET_BITS=64
-DJS_C_STRINGS_ARE_UTF8 -DMONGO_HAVE_HEADER_UNISTD_H
-DMONGO_HAVE_EXECINFO_BACKTRACE -DXP_UNIX
-Ibuild/darwin/cc__usr_bin_gcc-4.0/cxx__usr_bin_g++-4.0/extralib_pcre_pcrecpp_js_snappy/use-system-pcre/use-system-sm/use-system-snappy/third_party/boost
-Isrc/third_party/boost
-Ibuild/darwin/cc__usr_bin_gcc-4.0/cxx__usr_bin_g++-4.0/extralib_pcre_pcrecpp_js_snappy/use-system-pcre/use-system-sm/use-system-snappy
-Isrc
-Ibuild/darwin/cc__usr_bin_gcc-4.0/cxx__usr_bin_g++-4.0/extralib_pcre_pcrecpp_js_snappy/use-system-pcre/use-system-sm/use-system-snappy/mongo
-Isrc/mongo -I/opt/local/include -I/opt/local/include/js
src/mongo/platform/atomic_word_test.cpp
:info:build /var/tmp//cchCLoXM.s:3481:invalid character '%' in mnemonic
:info:build /var/tmp//cchCLoXM.s:3650:invalid character '%' in mnemonic
:info:build /var/tmp//cchCLoXM.s:3824:invalid character '%' in mnemonic
:info:build /var/tmp//cchCLoXM.s:3999:invalid character '%' in mnemonic
:info:build /var/tmp//cchCLoXM.s:7780:invalid character '%' in mnemonic
:info:build scons: ***
[build/darwin/cc__usr_bin_gcc-4.0/cxx__usr_bin_g++-4.0/extralib_pcre_pcrecpp_js_snappy/use-system-pcre/use-system-sm/use-system-snappy/mongo/platform/atomic_word_test.o]
Error 1
:info:build scons: building terminated because of errors.
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/mongodb/work/mongodb-src-r2.2.0"
&& /opt/local/bin/scons -j2 all mongobridge mongosniff
--cc=/usr/bin/gcc-4.0 --cxx=/usr/bin/g++-4.0 --full --use-system-pcre
--use-system-sm --use-system-snappy --extralib=pcre,pcrecpp,js,snappy
:info:build Exit code: 2
:error:build org.macports.build for port mongodb returned: command
execution failed
:debug:build Error code: CHILDSTATUS 41904 2
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for mongodb:
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Please see the log file for port mongodb for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/mongodb/main.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120926/96502cb6/attachment.html>
More information about the macports-users
mailing list