[MacPorts] #44690: mongodb @2.6.4 fails to build with boost 1.56.0 (was: mongodb @2.6.4 fails to build on Mountain Lion)
MacPorts
noreply at macports.org
Mon Aug 18 13:19:51 PDT 2014
#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
More information about the macports-tickets
mailing list