New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34955 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

mariadb: build error when boost is installed

Reported by: ryandesign@… Owned by: jogwtr@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: pixilla@…
Port: mariadb

Description

Trying to install mariadb results in an error about boost:

/opt/local/include/boost/property_map/property_map.hpp:354: error: no match for ‘operator[]’ in ‘(const boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, open_query::EdgeInfo, double>&)((const boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, open_query::EdgeInfo, double>*)(& pa))[k]’

mariadb installs fine when boost is deactivated. So there's at least two problems:

  1. mariadb is using boost but does not declare a dependency on it
  2. mariadb appears not to be compatible with the version of boost in MacPorts

I don't know what boost does for mariadb, so someone who does know should decide whether we should:

  1. make mariadb always use boost, and patch it so it works with the current version of boost, and add a boost dependency to the mariadb port, or
  2. make mariadb never use boost, even if it is already installed

Attachments

patch-mariadb-5.5.24.diff (30.4 KB) - added by pixilla@… 11 months ago.

Change History

Changed 11 months ago by pixilla@…

comment:1 Changed 11 months ago by pixilla@…

I have mariadb 5.5.24 installed and functioning along side mysql51, mysql55 and percona. My tests last night and this morning have not revealed any issues to me.

comment:2 Changed 11 months ago by pixilla@…

Boost was active on my system when I installed mariadb 5.5.24.

comment:3 Changed 11 months ago by pixilla@…

  • Status changed from new to closed
  • Resolution set to fixed

See r94839

Note: See TracTickets for help on using tickets.