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
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.
please test flann-1.6.10 just added to the tree which fixes many problems and hopefully this one
no answers. considering this as fixed then. re-open if not.