First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 62561
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stephen Renker <srenker@yahoo.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
lam-mpi-7.0.6-r1.ebuild lam-mpi ebuild with fortran flag text/plain janjan@ini.phys.ethz.ch 2004-12-13 01:46 0000 1.66 KB Details
lam-mpi-7.0.6-r1.ebuild updated lam-mpi with fortran flag text/plain janjan@ini.phys.ethz.ch 2004-12-14 03:43 0000 1.67 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 62561 depends on: Show dependency tree
Show dependency graph
Bug 62561 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-09-01 15:20 0000
If you don't have a Fortran 77 compiler present (i.e., $USE did not contain
"f77" when gcc was emerged), emerging lam-mpi will fail upon configure when it
gets to the Fortran part. The line in the ebuild "econf ...
--enable-languages=c,c++,f77" looks like the culprit.

Given that setting USE="f77" _after_ emerging gcc would not make g77 magically
appear, I don't know Portage well enough to know how to fix it myself.

Reproducible: Always
Steps to Reproduce:
1. Ensure that f77 is not part of your USE flags, and that you haven't emerged
ifc or any other Fortran compiler.
2. emerge gcc
3. emerge lam-mpi
Actual Results:  
emerge lam-mpi fails when configure gets to sniffing for a Fortran compiler

Expected Results:  
It should have seen that there was no Fortran compiler and not tried to compile
Fortran support into lam-mpi.

I don't see any attempt to check for this in any of the ebuilds.

------- Comment #1 From janjan@ini.phys.ethz.ch 2004-12-13 01:46:29 0000 -------
Created an attachment (id=45886) [edit]
lam-mpi ebuild with fortran flag

This is an ebuild that extends the existing lam-mpi ebuild, by adding fortran
support if the fortran flag is set (used by gcc as well). 
Builds on my machine like a dream :)

Since I am a complete noob, could somebody please check if this is done
correctly.
Thanks.

------- Comment #2 From Donnie Berkholz 2004-12-13 08:30:57 0000 -------
Could you please attach it as a patch? It's easier to look at the changes.

------- Comment #3 From janjan@ini.phys.ethz.ch 2004-12-14 03:43:17 0000 -------
Created an attachment (id=45963) [edit]
updated lam-mpi with fortran flag

------- Comment #4 From Donnie Berkholz 2005-02-05 23:29:52 0000 -------
OK, that's still not a patch, it's the full ebuild. You're on the right track,
although you may also want to `inherit fortran` near the top to pull in the
fortran eclass. That might change your logic with the USE=fortran a bit.

------- Comment #5 From Donnie Berkholz 2005-02-21 00:56:41 0000 -------
Fixed in 7.1.1

First Last Prev Next    No search results available      Search page      Enter new bug