Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366859 - sci-libs/flann should optionally depend on sci-libs/hdf5[mpi]
Summary: sci-libs/flann should optionally depend on sci-libs/hdf5[mpi]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 10:46 UTC by Gokdeniz Karadag
Modified: 2011-08-07 00:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gokdeniz Karadag 2011-05-11 10:46:49 UTC
sci-libs/flann has optional and experimental MPI support, but depends unconditionally on mpi flag of sci-libs/hdf5.

For the people who want opencv-2.2.0 without any MPI packages, sci-libs/flann should have an mpi flag.

Reproducible: Always
Comment 1 Sven Wehner 2011-05-25 13:19:10 UTC
The emphasize the importance of this bug: 
The ROS project (http://www.ros.org) is a very fast growing topic in robotics, and one of their packages (robot_self_filter; http://www.ros.org/wiki/robot_self_filter) fails compiling, if the C++ version of HDF5 isn't there:
--snip--
[...]
Linking CXX shared library ../lib/librobot_self_filter.so
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lhdf5_cpp
[...]
--snap--

Unfortunately hdf5 with the use flag 'mpi' enabled, overrules the 'cxx' use flag. sci-libs/hdf5/hdf5-1.8.4-r1.ebuild:
--snip--
if use mpi; then
  [...]
  if use cxx; then
    ewarn "Simultaneous mpi and cxx is not supported by ${PN}"
    ewarn "Will disable cxx interface"
  fi
[...]
--snap--

Thus, we currently have problems resulting from the dependence on unnecessary optional features.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2011-06-10 21:12:55 UTC
please test flann-1.6.10 just added to the tree which fixes many problems and hopefully this one
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2011-08-07 00:44:14 UTC
no answers. considering this as fixed then. re-open if not.