Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427682 - dev-cpp/eigen - CMake Error at /usr/share/cmake/Modules/CMakeTestFortranCompiler.cmake:40 (MESSAGE): The Fortran compiler "/usr/bin/gfortran" is not able to compile a simple test program.
Summary: dev-cpp/eigen - CMake Error at /usr/share/cmake/Modules/CMakeTestFortranCompi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-23 00:06 UTC by jc
Modified: 2012-07-26 14:04 UTC (History)
2 users (show)

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


Attachments
build.log of eigen (build.log,5.61 KB, text/plain)
2012-07-23 00:08 UTC, jc
Details
environment of eigen (environment,94.48 KB, text/plain)
2012-07-23 00:08 UTC, jc
Details
Add virtual/fortran into DEPEND (file_427682.txt,341 bytes, text/plain)
2012-07-23 00:42 UTC, jc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jc 2012-07-23 00:06:52 UTC
When building eigen, I get:

 ....
  gcc-config: error: could not run/locate 'gfortran'
....

As confirmed by running 'gfortran'. it also gives:
gcc-config: error: could not run/locate 'gfortran'
.

I have gcc without fortran use flag installed. If eigen needs it, it should be probabaly listed as a build time dependency.
Comment 1 jc 2012-07-23 00:08:09 UTC
Created attachment 318942 [details]
build.log of eigen
Comment 2 jc 2012-07-23 00:08:26 UTC
Created attachment 318944 [details]
environment of eigen
Comment 3 jc 2012-07-23 00:18:42 UTC
I apologize for setting a wrong title, apparently it's not as easy as it seems with fortran. Maybe it should DEPEND on virtual/fortran.
Comment 4 jc 2012-07-23 00:42:44 UTC
Created attachment 318946 [details]
Add virtual/fortran into DEPEND

Fix proposal. This on my system prompts:

Calculating dependencies... done!
[ebuild   R    ] sys-devel/gcc-4.6.3  USE="fortran*" 
[ebuild  N     ] virtual/fortran-0  USE="openmp" 
[ebuild  NS    ] dev-cpp/eigen-3.0.5 [2.0.17] USE="-debug -doc" 

Which makes it compile properly.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2012-07-26 14:04:54 UTC
Thank-you for the report. This should now be fixed in CVS, but please re-open if you have further issues.

+  26 Jul 2012; Michael Palimaka <kensington@gentoo.org> +eigen-3.0.6.ebuild,
+  -eigen-3.0.2.ebuild:
+  Version bump, remove old. Migrate to EAPI 4, drop useless debug use flag,
+  build tests correctly. Fixes bug #427682.