Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Do we have to build gcc with fortran now?
Date: Wed, 22 Jun 2011 18:11:40
Message-Id: 4E022FFD.3090708@gmail.com
In Reply to: Re: [gentoo-user] Do we have to build gcc with fortran now? by Mark Knecht
1 Mark Knecht wrote:
2 > On Wed, Jun 22, 2011 at 8:50 AM, Dale<rdalek1967@×××××.com> wrote:
3 >
4 >> Mark Knecht wrote:
5 >>
6 >>> I guess I can stop playing scaredicat and remove it. :-)
7 >>>
8 >>> - Mark
9 >>>
10 >>>
11 >>>
12 >>>
13 >> I think the dev added it back. So, if you really don't need it, put the
14 >> minus sign in front.
15 >>
16 >> If you use KDE like me, be prepared to put the thing back tho. Some KDE
17 >> packages depend on things that seem to need it enabled.
18 >>
19 >> I just love running in circles.
20 >>
21 >> Dale
22 >>
23 > Actually, for me it's a non-issue. I've had it in all along. Even when
24 > I remove it from make.conf and package.use it still shows up in gcc:
25 >
26 > c2stable ~ # emerge -pv gcc
27 >
28 > These are the packages that would be merged, in order:
29 >
30 > Calculating dependencies... done!
31 > [ebuild R ] sys-devel/gcc-4.4.5 USE="fortran gtk mudflap
32 > (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc
33 > (-fixed-point) -gcj -graphite (-hardened) (-libffi) -multislot -nocxx
34 > -nopie -nossp -objc -objc++ -objc-gc -test -vanilla (-n32%) (-n64%)"
35 > 61,647 kB
36 >
37 > Total: 1 package (1 reinstall), Size of downloads: 61,647 kB
38 > c2stable ~ #
39 >
40 > so nothing is getting rebuilt on my system by removing it. As not
41 > every system here uses the KDE profile I'll investigate removing it
42 > later, or just leave it in case they start using KDE.
43 >
44 > Cheers,
45 > Mark
46 >
47 >
48
49 I put -fortran in make.conf. I ran emerge -uvDNa world and let it
50 rebuild a few packages. Then I get this:
51
52 >>> Emerging (1 of 2) sci-libs/blas-reference-20070226
53 * lapack-lite-3.1.1.tgz RMD160 SHA1 SHA256 size ;-)
54 ...
55 [ ok ]
56 * Package: sci-libs/blas-reference-20070226
57 * Repository: gentoo
58 * Maintainer: sci@g.o
59 * USE: amd64 consolekit elibc_glibc kernel_linux multilib
60 policykit userland_GNU
61 * FEATURES: preserve-libs sandbox
62
63 * Please install currently selected gcc version with USE=fortran.
64 * If you intend to use a different compiler then gfortran, please
65 * set FC variable accordingly and take care that the neccessary
66 * fortran dialects are support.
67
68 * ERROR: sci-libs/blas-reference-20070226 failed (setup phase):
69 * Currently no working fortran compiler is available
70 *
71 * Call stack:
72 * ebuild.sh, line 56: Called pkg_setup
73 * ebuild.sh, line 1446: Called fortran-2_pkg_setup
74 * fortran-2.eclass, line 134: Called _die_msg
75 * fortran-2.eclass, line 120: Called die
76 * The specific snippet of code:
77 * die "Currently no working fortran compiler is available"
78 *
79 * If you need support, post the output of 'emerge --info
80 =sci-libs/blas-reference-20070226',
81 * the complete build log and the output of 'emerge -pqv
82 =sci-libs/blas-reference-20070226'.
83 * The complete build log is located at
84 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-180601.log'.
85 * The ebuild environment file is located at
86 '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/die.env'.
87 * S:
88 '/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1'
89
90 >>> Failed to emerge sci-libs/blas-reference-20070226, Log file:
91
92 >>>
93 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-180601.log'
94 root@fireball / #
95
96 Am I going in circles again? I don't drink because I don't like being
97 drunk. I also don't spin around in my chair for the same reason. One
98 of those may be needed to reverse the problem here.
99
100 Now to go see how to fix this mess once and for all.
101
102 Dale
103
104 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Do we have to build gcc with fortran now? Matthew Finkel <matthew.finkel@×××××.com>