[MacPorts] #34955: mariadb: build error when boost is installed

MacPorts noreply at macports.org
Fri Jun 22 19:31:39 PDT 2012


#34955: mariadb: build error when boost is installed
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  jogwtr@…             
     Type:  defect                   |      Status:  new                  
 Priority:  Normal                   |   Milestone:                       
Component:  ports                    |     Version:  2.1.1                
 Keywords:                           |        Port:  mariadb              
-------------------------------------+--------------------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/34955>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list