From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QZFyC-00023h-FA for garchives@archives.gentoo.org; Wed, 22 Jun 2011 05:27:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6412F1C061; Wed, 22 Jun 2011 05:25:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1C5371C061 for ; Wed, 22 Jun 2011 05:25:53 +0000 (UTC) Received: from paul.ibi.kfa-juelich.de (ip-62-143-16-215.unitymediagroup.de [62.143.16.215]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jlec) by smtp.gentoo.org (Postfix) with ESMTPSA id A8E7B1B4018; Wed, 22 Jun 2011 05:25:51 +0000 (UTC) Message-ID: <4E017CDB.7070709@gentoo.org> Date: Wed, 22 Jun 2011 07:25:47 +0200 From: justin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b13pre) Gecko/20110620 Thunderbird/3.3a3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Do we have to build gcc with fortran now? References: <4E0167C4.9080100@gmail.com> <4E017013.1080004@gmail.com> In-Reply-To: <4E017013.1080004@gmail.com> X-Enigmail-Version: 1.2a1pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD4E1CE8FAEFD4FA0CC041F36" X-Archives-Salt: X-Archives-Hash: fcd3036345880f8f901d1975f6604c78 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4E1CE8FAEFD4FA0CC041F36 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22/06/11 06:31, Matthew Finkel wrote: > On 06/21/11 23:55, Dale wrote: >> I just did my updates and ran into this: >> >> * Maintainer: sci@gentoo.org >> * USE: amd64 consolekit elibc_glibc kernel_linux multilib >> policykit userland_GNU >> * FEATURES: preserve-libs sandbox >> >> * Please install currently selected gcc version with USE=3Dfortran. >> * If you intend to use a different compiler then gfortran, please >> * set FC variable accordingly and take care that the neccessary >> * fortran dialects are support. >> >> * ERROR: sci-libs/blas-reference-20070226 failed (setup phase): >> * Currently no working fortran compiler is available >> * >> * Call stack: >> * ebuild.sh, line 56: Called pkg_setup >> * ebuild.sh, line 1446: Called fortran-2_pkg_setup >> * fortran-2.eclass, line 134: Called _die_msg >> * fortran-2.eclass, line 120: Called die >> * The specific snippet of code: >> * die "Currently no working fortran compiler is available" >> * >> * If you need support, post the output of 'emerge --info >> =3Dsci-libs/blas-reference-20070226', >> * the complete build log and the output of 'emerge -pqv >> =3Dsci-libs/blas-reference-20070226'. >> * The complete build log is located at >> '/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log= '. >> * The ebuild environment file is located at >> '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/die.env'. >> * S: >> '/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.= 1.1' >> >>>>> Failed to emerge sci-libs/blas-reference-20070226, Log file: >> >>>>> >> '/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log= ' >> root@fireball / # >> >> This is my gcc info: >> >> [ebuild R ] sys-devel/gcc-4.4.5 USE=3D"gtk mudflap (multilib) nl= s >> nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran >> -gcj -graphite (-hardened) (-libffi) -multislot -nocxx -nopie -nossp >> -objc -objc++ -objc-gc -test -vanilla" >> >> So, does everyone need to turn on the fortran USE flag so that they >> don't break anything? May I also add, the USE flag description is >> worth about as much as a screen door on a submarine. >> >> fortran - Adds support for fortran (formerly f77) >> >> That doesn't tell me very much. >> >> Heads up for folks about to do their updates, check into the USE flag >> fortran to see if you need to add it to yours before updating a bunch >> of stuff. >> >> Dale >> >> :-) :-) >> > If I had to guess, I'd say =3Dsci-libs/blas-reference-20070226 requires= > fortran (ebuild depends on it) and you don't have another fortran > compiler installed. >=20 > Could be wrong though. >=20 > - Matt >=20 That's right, blas-reference is written in fortran. We restructured the dependency chain for fortran support, which includes a compile test now. The failure can be seen above. The Problem was in short, USE=3Dfortran was enabled by default for linux arches, but people tend to disable it. Depending on gcc[fortran] doesn't work completely as gcc:4.4[fortran] and gcc:4.5[-fortran] with gcc-4.5 select can be installed, which would full fill the dependency but nevertheless doesn't give a working compiler. So now packages depend on virtual/fortran and use an eclass to check for a working compiler. So if you see this message, this means you somehow worked around gcc[fortran]. justin --------------enigD4E1CE8FAEFD4FA0CC041F36 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4BfNsACgkQgAnW8HDreRa+7wCgtvClBd3uNYA92FBvjLGHpEb0 QyYAnjrvmgtUAJA92sGS92Zctbw9yO95 =9qhK -----END PGP SIGNATURE----- --------------enigD4E1CE8FAEFD4FA0CC041F36--