Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379675 - sci-libs/flann: add mpi? ( virtual/mpi ) in RDEPEND and DEPEND
Summary: sci-libs/flann: add mpi? ( virtual/mpi ) in RDEPEND and DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autodep
  Show dependency tree
 
Reported: 2011-08-18 09:35 UTC by bay
Modified: 2011-09-06 18:12 UTC (History)
0 users

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


Attachments
Build log. (flann.txt,3.00 KB, text/plain)
2011-08-18 09:35 UTC, bay
Details

Note You need to log in before you can comment on or make changes to this bug.
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.