[MDEV-5350] oqgraph fails to build with boost 1.55 Created: 2013-11-27  Updated: 2013-12-11  Resolved: 2013-12-11

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.6
Fix Version/s: 10.0.7

Type: Bug Priority: Major
Reporter: Kolbe Kegel (Inactive) Assignee: Sergey Vojtovich
Resolution: Duplicate Votes: 0
Labels: None
Environment:

OS X, maybe other environments with boost 1.55?


Issue Links:
Blocks
is blocked by MDEV-5319 Request for merge of Oqgraph v3 funct... Closed
Duplicate
is duplicated by MDEV-5319 Request for merge of Oqgraph v3 funct... Closed

 Description   

In file included from /Users/kolbe/Devel/m/bzr/maria/10.0/storage/oqgraph/graphcore.cc:40:
In file included from /usr/local/include/boost/graph/adjacency_list.hpp:45:
/usr/local/include/boost/graph/named_graph.hpp:318:3: error: implicit instantiation of undefined template '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 ver...
  ^
/usr/local/include/boost/static_assert.hpp:35:48: note: expanded from macro 'BOOST_STATIC_ASSERT_MSG'
#     define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
                                               ^
/usr/local/include/boost/static_assert.hpp:168:13: note: expanded from macro 'BOOST_STATIC_ASSERT'
            sizeof(::boost::STATIC_ASSERTION_FAILURE< BOOST_STATIC_ASSERT_BOOL_CAST( __VA_ARGS__ ) >)>\
            ^
/usr/local/include/boost/graph/detail/adjacency_list.hpp:2202:9: note: in instantiation of function template specialization
      'boost::graph::named_graph<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property,
      boost::listS>, unsigned long, open_query::VertexInfo>::removing_vertex<boost::graph_detail::unstable_tag>' requested here
      g.removing_vertex(v, boost::graph_detail::iterator_stability(g_.m_vertices));
        ^
/Users/kolbe/Devel/m/bzr/maria/10.0/storage/oqgraph/graphcore.cc:578:7: note: in instantiation of function template specialization
      'boost::remove_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>,
      boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property,
      boost::listS>, boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>::config,
      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::no_property, boost::listS>, boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property,
      boost::listS>::config> >' requested here
      remove_vertex(orig, share->g);
      ^
/usr/local/include/boost/static_assert.hpp:86:26: note: template is declared here
template <bool x> struct STATIC_ASSERTION_FAILURE;
                         ^



 Comments   
Comment by Sergei Golubchik [ 2013-11-27 ]

This will, most probably, go away when we merge OQGraph v3. See MDEV-5319

Comment by Andrew McDonnell [ 2013-12-08 ]

I have just now rebuilt lp:~andymc73/maria/10.0-oqgraph3-varchar against boost 1.55 under wheezy 7.2 amd64 and all tests pass OK, so I believe Sergei is correct...

Comment by Sergey Vojtovich [ 2013-12-11 ]

I confirm that Oqgraph v3 builds well with boost 1.55.

Generated at Thu Feb 08 07:03:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.