Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5350

oqgraph fails to build with boost 1.55

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.0.6
    • Fix Version/s: 10.0.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      OS X, maybe other environments with boost 1.55?

      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;
                               ^
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              serg Sergei Golubchik added a comment -

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

              Show
              serg Sergei Golubchik added a comment - This will, most probably, go away when we merge OQGraph v3. See MDEV-5319
              Hide
              andymc73 Andrew McDonnell added a comment -

              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...

              Show
              andymc73 Andrew McDonnell added a comment - 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...
              Hide
              svoj Sergey Vojtovich added a comment -

              I confirm that Oqgraph v3 builds well with boost 1.55.

              Show
              svoj Sergey Vojtovich added a comment - I confirm that Oqgraph v3 builds well with boost 1.55.

                People

                • Assignee:
                  svoj Sergey Vojtovich
                  Reporter:
                  kolbe Kolbe Kegel
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: