[MacPorts] #40002: mariadb: error: implicit instantiation of undefined template 'boost::STATIC_ASSERTION_FAILURE<false>'
#40002: mariadb: error: implicit instantiation of undefined template 'boost::STATIC_ASSERTION_FAILURE<false>' --------------------------+----------------------- Reporter: ryandesign@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: mariadb --------------------------+----------------------- mariadb does not build: {{{ /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_Users_rschmidt_macports_dports_databases_mariadb/mariadb/work/mariadb-5.5.32/build_macports/CMakeFiles 20 [ 94%] In file included from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_databases_mariadb/mariadb/work/mariadb-5.5.32/storage/oqgraph/graphcore.cc:40: In file included from /opt/local/include/boost/graph/adjacency_list.hpp:45: /opt/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 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."); ^ /opt/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 ) ^ /opt/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__ ) >)>\ ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/40002> MacPorts <http://www.macports.org/> Ports system for OS X
#40002: mariadb: error: implicit instantiation of undefined template 'boost::STATIC_ASSERTION_FAILURE<false>' ---------------------------+----------------------- Reporter: ryandesign@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mariadb | ---------------------------+----------------------- Comment (by ryandesign@…): Homebrew has [https://github.com/mxcl/homebrew/issues/21558 noticed this] as well. They blacklist clang <= 425 to fix it. -- Ticket URL: <https://trac.macports.org/ticket/40002#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40002: mariadb: error: implicit instantiation of undefined template 'boost::STATIC_ASSERTION_FAILURE<false>' ---------------------------+----------------------- Reporter: ryandesign@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mariadb | ---------------------------+----------------------- Comment (by ryandesign@…): boost isn't even in mariadb's dependencies. Looks like it's being used opportunistically! -- Ticket URL: <https://trac.macports.org/ticket/40002#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40002: mariadb: error: implicit instantiation of undefined template 'boost::STATIC_ASSERTION_FAILURE<false>' ---------------------------+----------------------- Reporter: ryandesign@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: mariadb | ---------------------------+----------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Deactivating boost allows mariadb to build. It was difficult to find out how to disable mariadb's detection of boost. Boost is only used by OQGRAPH, and I eventually found [http://unix.stackexchange.com/questions/50741/building-mariadb-5-5-27 -without-oqgraph-how-to-deselect-the-plugin this post] recommending the use of "`-DWITHOUT_OQGRAPH_STORAGE_ENGINE=1`", which seems to work. It doesn't stop cmake from finding boost, but it does prevent mariadb from building the OQGRAPH storage engine that uses boost, so there's no more build error. Committed in r109419. -- Ticket URL: <https://trac.macports.org/ticket/40002#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40002: mariadb: error: implicit instantiation of undefined template 'boost::STATIC_ASSERTION_FAILURE<false>' ---------------------------+----------------------- Reporter: ryandesign@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: mariadb | ---------------------------+----------------------- Comment (by ryandesign@…): I think this is the upstream bug report: https://mariadb.atlassian.net/browse/MDEV-4795 -- Ticket URL: <https://trac.macports.org/ticket/40002#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts