Problem: gcc:4.5[fortran] gcc:4.6[-fortran] and gcc:4.6 is the active compiler. If an ebuild would depend on gcc[fortran] to have a fortran compiler, it would still fail. Similar situation as with the openmp support. please include the function attached, for checking of a wotrking fortran compiler.
Created attachment 272301 [details] tc-has-fortran.check tc-has-fortran.check
Any reaction here?
the same issue arises for all frontends as they all can be disabled. i dont see how this is something that really needs "fixing". if you want to put pretty user friendly polish on fortran and all of its crazy eccentricities (see also Bug 348964), then perhaps it better you write a fortran eclass of some sort and stick all the crazy you want in there. i dont feel this exploding logic to try and detect user stupidness is appropriate for toolchain-funcs.eclass as it encourages adoption across the tree.
Obsolete, now implemented in fortran 2 eclass