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 1QZGIT-0003tv-6j for garchives@archives.gentoo.org; Wed, 22 Jun 2011 05:48:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DD5F1C00E; Wed, 22 Jun 2011 05:46:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id ECA5E1C00E for ; Wed, 22 Jun 2011 05:46:54 +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 75D99676A9; Wed, 22 Jun 2011 05:46:53 +0000 (UTC) Message-ID: <4E0181CA.9000203@gentoo.org> Date: Wed, 22 Jun 2011 07:46:50 +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: justin , 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> <4E017CDB.7070709@gentoo.org> In-Reply-To: <4E017CDB.7070709@gentoo.org> X-Enigmail-Version: 1.2a1pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7FF9C75C27614EE8669CDF04" X-Archives-Salt: X-Archives-Hash: 277f361deaa8e33eed93ef3c35b59a63 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7FF9C75C27614EE8669CDF04 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22/06/11 07:25, justin wrote: > 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.lo= g'. >>> * 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= =2E1.1' >>> >>>>>> Failed to emerge sci-libs/blas-reference-20070226, Log file: >>> >>>>>> >>> '/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.lo= g' >>> root@fireball / # >>> >>> This is my gcc info: >>> >>> [ebuild R ] sys-devel/gcc-4.4.5 USE=3D"gtk mudflap (multilib) n= ls >>> 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 require= s >> fortran (ebuild depends on it) and you don't have another fortran >> compiler installed. >> >> Could be wrong though. >> >> - Matt >> >=20 > That's right, >=20 > blas-reference is written in fortran. >=20 > We restructured the dependency chain for fortran support, which include= s > a compile test now. The failure can be seen above. >=20 > The Problem was in short, USE=3Dfortran was enabled by default for linu= x > 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. >=20 > So now packages depend on virtual/fortran and use an eclass to check fo= r > a working compiler. So if you see this message, this means you somehow > worked around gcc[fortran]. >=20 >=20 > justin >=20 One little note, if portage requests that you should install dev-lang/ifc instead of gcc[fortran], you most probably have an entry sys-devel/gcc -fortran in your /etc/portage/package.use Just remove that. justin --------------enig7FF9C75C27614EE8669CDF04 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/ iEYEARECAAYFAk4BgcoACgkQgAnW8HDreRZv4ACfRjThi6lE2I1qawPYwV+Xn2Bp TygAnjeC8oYJL/bD0zVTmSubLoLzEiwI =w6E0 -----END PGP SIGNATURE----- --------------enig7FF9C75C27614EE8669CDF04--