Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259873 - gcc 4.3.3 does not build g77 or gfortran
Summary: gcc 4.3.3 does not build g77 or gfortran
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-22 07:21 UTC by D J Capelis
Modified: 2009-02-22 18:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D J Capelis 2009-02-22 07:21:57 UTC
The builds of gcc 4.3.3 do not produce a g77 or gfortran binary when emerged with the fortran useflag.  Instead the binary gfortran-4.3.3 is produced.

This breaks every package in the tree that uses fortran as none of the makefiles look for the fortran compiler in this location expecting it to be named either g77 or gfortran.  Please fix the ebuild so the compiler is named sensibly.

Reproducible: Always

Steps to Reproduce:
1. install a gcc 4.3.3 with the fortran useflag (or without...)
2. try to install a package like cfitsio

Actual Results:  
No compiler is found, a search of /usr/bin shows that there's no g77 or gfortran present.

Expected Results:  
A g77 or gfortran exists and fortran packages in the tree are able to compile.

I went crazy and marked this one as a blocker under the assumption that breaking every package in the tree written in fortran is probably a reasonably serious issue.  Feel free to downgrade the severity if need be.
Comment 1 D J Capelis 2009-02-22 07:24:29 UTC
To clarify, there is a gfortran binary that is built and installed, it's just named gfortran-4.3.3 instead of gfortran.  Packages expecting g77 will probably break even if this is properly named gfortran.  (That said, I've symlinked this binary to g77 on my machine and it's working well enough to compile the fortran programs I've encountered in the tree so far...)
Comment 2 Rafał Mużyło 2009-02-22 14:13:46 UTC
Well, from:
1. equery f =sys-devel/gcc-4.1.2:
/usr/bin
/usr/bin/c++-4.1.2
/usr/bin/cpp-4.1.2
/usr/bin/g++-4.1.2
/usr/bin/gcc-4.1.2
/usr/bin/gfortran-4.1.2
2. equery f =sys-devel/gcc-4.3.3:
/usr/bin
/usr/bin/c++-4.3.3
/usr/bin/cpp-4.3.3
/usr/bin/g++-4.3.3
/usr/bin/gcc-4.3.3
/usr/bin/gfortran-4.3.3

So this bug is probably invalid.
Perhaps, something gone wrong during gcc-config ?
Comment 3 D J Capelis 2009-02-22 18:47:55 UTC
Yes, this is the case.  A good round of gcc-config appears to have fixed this.  Oops.  Apologies, closing as invalid.