graph-tool 2.6: compilation failure on OS X 10.10.5, Xcode 7.0
I have all dependencies installed via MacPorts. I am trying to update the MacPorts version of graph-tool to the latest version. I get this error:
CXX graph_bellman_ford.lo
In file included from graph_bellman_ford.cc:19:
In file included from ./../graph_python_interface.hh:21:
In file included from /opt/local/include/boost/python.hpp:29:
In file included from /opt/local/include/boost/python/exec.hpp:9:
/opt/local/include/boost/python/str.hpp:185:57: warning: unused parameter 'end'
[-Wunused-parameter]
long count(T1 const& sub,T2 const& start, T3 const& end) const
^
In file included from graph_bellman_ford.cc:19:
In file included from ./../graph_python_interface.hh:21:
In file included from /opt/local/include/boost/python.hpp:49:
/opt/local/include/boost/python/opaque_pointer_converter.hpp:172:1: warning:
missing field 'tp_version_tag' initializer [-Wmissing-field-initializers]
};
^
In file included from graph_bellman_ford.cc:19:
In file included from ./../graph_python_interface.hh:21:
In file included from /opt/local/include/boost/python.hpp:52:
In file included from /opt/local/include/boost/python/overloads.hpp:11:
/opt/local/include/boost/python/detail/defaults_def.hpp:92:30: warning: unused
parameter 'kw' [-Wunused-parameter]
, keyword_range const& kw // ignored
^
In file included from graph_bellman_ford.cc:18:
In file included from ./../graph_filtering.hh:21:
In file included from ./../graph.hh:23:
In file included from /opt/local/include/boost/python/object.hpp:9:
In file included from /opt/local/include/boost/python/object_core.hpp:14:
In file included from /opt/local/include/boost/python/call.hpp:15:
In file included from /opt/local/include/boost/python/converter/arg_to_python.hpp:10:
In file included from /opt/local/include/boost/python/to_python_indirect.hpp:10:
In file included from /opt/local/include/boost/python/object/pointer_holder.hpp:11:
In file included from /opt/local/include/boost/get_pointer.hpp:14:
In file included from /opt/local/include/boost/config/no_tr1/memory.hpp:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:602:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:264:58: error:
no matching constructor for initialization of 'BFCmp'
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR pair() : first(), second() {}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:2348:38: note:
in instantiation of member function 'std::__1::pair<BFCmp, BFCmb>::pair'
requested here
: public integral_constant<bool, __is_constructible(_Tp, _Args...)>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:2652:14: note:
in instantiation of template class
'std::__1::is_constructible<std::__1::pair<BFCmp, BFCmb>>' requested here
: public is_constructible<_Tp>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/tuple:389:13: note:
in instantiation of template class
'std::__1::is_default_constructible<std::__1::pair<BFCmp, BFCmb> >'
requested here
: __all<is_default_constructible<_Tp>::value...>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/tuple:553:26: note:
in instantiation of template class
'std::__1::__all_default_constructible<std::__1::__tuple_types<unsigned
long, std::__1::placeholders::__ph<2>, boost::any, boost::any,
BFVisitorWrapper, std::__1::pair<BFCmp, BFCmb>,
std::__1::pair<boost::python::api::object, boost::python::api::object>,
std::__1::reference_wrapper<bool> > >' requested here
__all_default_constructible<
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/tuple:563:9: note:
while substituting prior template arguments into non-type template parameter
[with _Up = <const std::__1::tuple<std::__1::placeholders::__ph<1>, unsigned
long, std::__1::placeholders::__ph<2>, boost::any, boost::any,
BFVisitorWrapper, std::__1::pair<BFCmp, BFCmb>,
std::__1::pair<boost::python::api::object, boost::python::api::object>,
std::__1::reference_wrapper<bool> > &>]
tuple(_Up&&... __u)
^~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/tuple:500:29: note:
while substituting deduced template arguments into function template 'tuple'
[with _Up = <const std::__1::tuple<std::__1::placeholders::__ph<1>, unsigned
long, std::__1::placeholders::__ph<2>, boost::any, boost::any,
BFVisitorWrapper, std::__1::pair<BFCmp, BFCmb>,
std::__1::pair<boost::python::api::object, boost::python::api::object>,
std::__1::reference_wrapper<bool> > &>, $1 = (no value)]
class _LIBCPP_TYPE_VIS_ONLY tuple
^
graph_bellman_ford.cc:153:18: note: in instantiation of function template
specialization 'std::__1::bind<do_bf_search, std::__1::placeholders::__ph<1>
&, unsigned long &, std::__1::placeholders::__ph<2> &, boost::any &,
boost::any &, BFVisitorWrapper, std::__1::pair<BFCmp, BFCmb>,
std::__1::pair<boost::python::api::object, boost::python::api::object>,
std::__1::reference_wrapper<bool> >' requested here
(g, std::bind(do_bf_search(), placeholders::_1, source,
^
graph_bellman_ford.cc:88:5: note: candidate constructor not viable: requires
single argument 'cmp', but no arguments were provided
BFCmp(python::object cmp): _cmp(cmp) {}
^
graph_bellman_ford.cc:85:7: note: candidate constructor (the implicit copy
constructor) not viable: requires 1 argument, but 0 were provided
class BFCmp
^
graph_bellman_ford.cc:85:7: note: candidate constructor (the implicit move
constructor) not viable: requires 1 argument, but 0 were provided
In file included from graph_bellman_ford.cc:18:
In file included from ./../graph_filtering.hh:21:
In file included from ./../graph.hh:23:
In file included from /opt/local/include/boost/python/object.hpp:9:
In file included from /opt/local/include/boost/python/object_core.hpp:14:
In file included from /opt/local/include/boost/python/call.hpp:15:
In file included from /opt/local/include/boost/python/converter/arg_to_python.hpp:10:
In file included from /opt/local/include/boost/python/to_python_indirect.hpp:10:
In file included from /opt/local/include/boost/python/object/pointer_holder.hpp:11:
In file included from /opt/local/include/boost/get_pointer.hpp:14:
In file included from /opt/local/include/boost/config/no_tr1/memory.hpp:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:602:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:264:67: error:
no matching constructor for initialization of 'BFCmb'
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR pair() : first(), second() {}
^
graph_bellman_ford.cc:103:5: note: candidate constructor not viable: requires
single argument 'cmb', but no arguments were provided
BFCmb(python::object cmb): _cmb(cmb) {}
^
graph_bellman_ford.cc:100:7: note: candidate constructor (the implicit copy
constructor) not viable: requires 1 argument, but 0 were provided
class BFCmb
^
graph_bellman_ford.cc:100:7: note: candidate constructor (the implicit move
constructor) not viable: requires 1 argument, but 0 were provided
3 warnings and 2 errors generated.
make[4]: *** [graph_bellman_ford.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2