Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140092 - sci-libs/fftw-3.1.2 does not need fortran compiler
Summary: sci-libs/fftw-3.1.2 does not need fortran compiler
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Dittrich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-12 03:08 UTC by Jakub Moc (RETIRED)
Modified: 2006-07-12 05:57 UTC (History)
1 user (show)

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


Attachments
fftw-3.1.2.ebuild.diff (fftw-3.1.2.ebuild.diff,457 bytes, text/plain)
2006-07-12 03:12 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2006-07-12 03:08:55 UTC
This builds perfectly fine here w/o any fortran once the inherit is removed, confirmed by another user as well. Also the docs confirm that fortran is optional. So, forcing people to re-emerge gcc w/ USE=fortran "since configure checks for fortran" is not very nice, and also not needed. 

---

[ebuild   R   ] sys-devel/gcc-4.1.1  USE="-bootstrap -build -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k% -mudflap -multislot nls -nocxx -objc -objc++ -objc-gc -vanilla" 48 kB 

$ gcc-config -l
 [1] i686-pc-linux-gnu-3.4.4
 [2] i686-pc-linux-gnu-3.4.4-hardened
 [3] i686-pc-linux-gnu-3.4.4-hardenednopie
 [4] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.4-hardenednossp
 [6] i686-pc-linux-gnu-4.0.3
 [7] i686-pc-linux-gnu-4.1.1 *

I can attach the complete build log if needed, but don't think it's needed (also, it's huge).
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-12 03:12:45 UTC
Created attachment 91554 [details]
fftw-3.1.2.ebuild.diff

A quick patch - only check for fortran w/ USE=fortran set. Alternatively, just nuke the inherit again. :)
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2006-07-12 05:45:05 UTC
Hmm, strange, I had several people complaining on the forums and by
mail that configure breaks when fortran is not present on their systems.
If configure works for you without fortran that's great and I'll remove
the inherit again.

Thanks for pointing this out.

Best,
Markus
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2006-07-12 05:45:17 UTC
Hmm, strange, I had several people complaining on the forums and by
mail that configure breaks when fortran is not present on their systems.
If configure works for you without fortran that's great and I'll remove
the inherit again.

Thanks for pointing this out.

Best,
Markus
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2006-07-12 05:46:32 UTC
I apologize for the double post - the network is terrible here today and
I was a little impatient :(
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-12 05:51:58 UTC
(In reply to comment #3)
> Hmm, strange, I had several people complaining on the forums and by
> mail that configure breaks when fortran is not present on their systems.

Well, I guess they are victims of "eselect-compiler doesn't clean up after itself" bug :) - see Bug 135688, Bug 136363 (wrt fftw, Bug 137180 and Bug 138956 that are dupes of the former ones are relevant).

Thanks!
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2006-07-12 05:57:51 UTC
Yeah, very possible! This eselect cleanup bug really is unpleasant.

cheers,
Markus