[MacPorts] #44690: mongodb @2.6.4 fails to build on Mountain Lion
#44690: mongodb @2.6.4 fails to build on Mountain Lion ----------------------------------+-------------------------------- Reporter: moneyc.net@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: mongodb,MountainLion | Port: mongodb ----------------------------------+-------------------------------- Trying to install mongodb results in this error: {{{ scons: *** [build/darwin/64/cc__usr_bin_clang/cxx__usr_bin_clang++/osx- version-min_10.8/use-system-boost/use-system-pcre/use-system- snappy/usev8/mongo/shell/linenoise.o] Error 1 scons: building terminated because of errors. Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/work /mongodb-src-r2.6.4" && /opt/local/bin/scons -j4 all mongobridge mongosniff --cc=/usr/bin/clang --cxx=/usr/bin/clang++ --cpppath=/opt/local/include --libpath=/opt/local/lib --osx-version- min=10.8 --full --use-system-boost --use-system-pcre --use-system-snappy --usev8 --extralib=pcre,pcrecpp,snappy --64 Exit code: 2 }}} -- Ticket URL: <https://trac.macports.org/ticket/44690> MacPorts <http://www.macports.org/> Ports system for OS X
#44690: mongodb @2.6.4 fails to build on Mountain Lion ---------------------------+-------------------------- Reporter: moneyc.net@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: mountainlion Port: mongodb | ---------------------------+-------------------------- Changes (by ryandesign@…): * keywords: mongodb,MountainLion => mountainlion * owner: macports-tickets@… => ryandesign@… Comment: Please attach the main.log, but I believe this may be an issue I already reported to the developers. -- Ticket URL: <https://trac.macports.org/ticket/44690#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44690: mongodb @2.6.4 fails to build on Mountain Lion ---------------------------+-------------------------- Reporter: moneyc.net@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: mountainlion Port: mongodb | ---------------------------+-------------------------- Comment (by petr@…): I guess this is what I am observing as well. I'll attach a `main.log`. -- Ticket URL: <https://trac.macports.org/ticket/44690#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44690: mongodb @2.6.4 fails to build with boost 1.56.0 ---------------------------+-------------------------- Reporter: moneyc.net@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: mongodb | ---------------------------+-------------------------- Changes (by ryandesign@…): * cc: petr@… (added) * keywords: mountainlion => Comment: Thanks. The error in both logs is: {{{ :info:build src/mongo/shell/linenoise_utf8.h:145:14: error: no member named 'swap' in namespace 'std'; did you mean 'boost::swap'? :info:build std::swap( _len, other._len ); :info:build ~~~~~^~~~ :info:build boost::swap :info:build /opt/local/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap' declared here :info:build template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT :info:build ^ }}} This is reported upstream: https://jira.mongodb.org/browse/SERVER-14930 This may be an incompatibility with boost 1.56.0. We could go back to using the copy of boost shipped with mongodb, but that would reintroduce #38334. In the mean time, until we work out a more permanent solution, you could [wiki:howto/InstallingOlderPort downgrade to boost 1.55.0]. -- Ticket URL: <https://trac.macports.org/ticket/44690#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44690: mongodb @2.6.4 fails to build with boost 1.56.0 ---------------------------+------------------------------------------- Reporter: moneyc.net@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: snowleopard lion mountainlion Port: mongodb | ---------------------------+------------------------------------------- Changes (by ryandesign@…): * keywords: => snowleopard lion mountainlion -- Ticket URL: <https://trac.macports.org/ticket/44690#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44690: mongodb @2.6.4 fails to build with boost 1.56.0 ---------------------------+------------------------------------------- Reporter: moneyc.net@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: snowleopard lion mountainlion Port: mongodb | ---------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: At the expense of perhaps reintroducing #38334, I've switched the mongodb port to use the built-in copy of boost again in r124301. -- Ticket URL: <https://trac.macports.org/ticket/44690#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts