Details
Description
Building MariaDB against a new boost version results in building erros for the OQGraph storage plugin:
[ 64%] Building CXX object storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o
In file included from /usr/include/boost/graph/adjacency_list.hpp:45:0,
from /tmp/mariadb-5.5.32/storage/oqgraph/graphcore.cc:40:
/usr/include/boost/graph/named_graph.hpp: In instantiation of 'void boost::graph::named_graph<Graph, Vertex, VertexProperty>::removing_vertex(Vertex, VertexIterStability) [with VertexIterStability = boost::graph_detail::unstable_tag; Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>;
Vertex = long unsigned int; VertexProperty = open_query::VertexInfo]':
/usr/include/boost/graph/detail/adjacency_list.hpp:2203:7: required from 'void boost::remove_vertex(typename Config::vertex_descriptor, boost::vec_adj_list_impl<G, C, B>&) [with
Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>; Config = boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>, boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>::config; Base = boost::bidirectional_graph_helper_with_property<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>, boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>::config>; typename Config::vertex_descriptor = long unsigned int]'
/tmp/mariadb-5.5.32/storage/oqgraph/graphcore.cc:578:35: required from here
/usr/include/boost/graph/named_graph.hpp:318:46: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
BOOST_STATIC_ASSERT_MSG ((boost::is_base_of<boost::graph_detail::stable_tag,}VertexIterStability>::value), "Named graphs cannot use vecS as vertex container and remove vertices; the lack of vertex descriptor stability (which iterator stability is a proxy for) means that the name -> vertex mapping would need to be completely rebuilt after each deletion. See https://svn.boost.org/trac/boost/ticket/7863 for more information and a test case.");
^
make[2]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o] Error 1
make[1]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/all] Error 2
make: *** [all] Error 2
Gliffy Diagrams
Attachments
Issue Links
- duplicates
-
MDEV-4796 MariaDB-5.5.32 fails to compile with boost-1.54.0
-
- Closed
-
- links to
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
i can confirm this...
from what i read, this seems like a boost bug in 1.54 (iinm 1.53 does not have this issue).
as a package maintainer of a distro, can i suggest a new feature for oqgraph? ==> "stop using boost" it's been kind of a PITA for us...