Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 379675

Summary: sci-libs/flann: add mpi? ( virtual/mpi ) in RDEPEND and DEPEND
Product: Gentoo Linux Reporter: bay <alex3255>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 380499    
Attachments: Build log.

Description bay 2011-08-18 09:35:36 UTC
Created attachment 283739 [details]
Build log.

Package sci-libs/flann with mpi flag enabled seems to depend on mpi both on the runtime and build time.

I propose to add:
mpi? ( virtual/mpi )

in RDEPEND and DEPEND of this library.

Library not builds without mpi installed if mpi flag is used.

The error is:
CMake Error at /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:43 (MESSAGE):
  Could not find compiler set in environment variable CXX:

  mpicxx.

Full build log is in attach.


Also there is few strings from ebuild:
DEPEND="${DEPEND}
        app-arch/unzip
        test? ( dev-util/gtest )"

I think it is may be typo and this should be written as:

DEPEND="${RDEPEND}
        app-arch/unzip
        test? ( dev-util/gtest )"
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2011-09-06 18:12:02 UTC
fixed in cvs. thanks.