public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: justin <jlec@gentoo.org>
To: justin <jlec@gentoo.org>, gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Do we have to build gcc with fortran now?
Date: Wed, 22 Jun 2011 07:46:50 +0200	[thread overview]
Message-ID: <4E0181CA.9000203@gentoo.org> (raw)
In-Reply-To: <4E017CDB.7070709@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 3867 bytes --]

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=fortran.
>>>  * 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
>>> =sci-libs/blas-reference-20070226',
>>>  * the complete build log and the output of 'emerge -pqv
>>> =sci-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="gtk mudflap (multilib) nls
>>> 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 =sci-libs/blas-reference-20070226 requires
>> fortran (ebuild depends on it) and you don't have another fortran
>> compiler installed.
>>
>> Could be wrong though.
>>
>> - Matt
>>
> 
> 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=fortran 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
> 

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2011-06-22  5:48 UTC|newest]

Thread overview: 168+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22  3:55 [gentoo-user] Do we have to build gcc with fortran now? Dale
2011-06-22  4:31 ` Matthew Finkel
2011-06-22  5:25   ` justin
2011-06-22  5:46     ` justin [this message]
2011-06-22  6:29       ` Thanasis
2011-06-22  6:33         ` justin
2011-06-22  7:13           ` justin
2011-06-22 22:11             ` [gentoo-user] " walt
2011-06-22 22:36               ` Dale
2011-06-22 23:05               ` justin
2011-06-22  7:41           ` [gentoo-user] " Thanasis
2011-06-22  7:32         ` Matthew Finkel
2011-06-22  8:20           ` Thanasis
2011-06-22  6:03 ` Thanasis
2011-06-22  6:24 ` [gentoo-user] " Nikos Chantziaras
2011-06-22 11:18   ` Dale
2011-06-22 13:12     ` Neil Bothwick
2011-06-22 13:27       ` Dale
2011-06-22 14:13         ` Mark Knecht
2011-06-22 15:29           ` Dale
2011-06-24  0:01           ` Walter Dnes
2011-06-24  0:14             ` Neil Bothwick
2011-06-24 11:56               ` [gentoo-user] " Stroller
2011-06-24 12:42                 ` Alan McKinnon
2011-06-24 22:10                 ` Neil Bothwick
2011-06-22 14:47         ` [gentoo-user] " Neil Bothwick
2011-06-22 15:40           ` Dale
2011-06-22 15:54             ` Alan McKinnon
2011-06-22 16:18               ` Neil Bothwick
2011-06-22 17:46                 ` Dale
2011-06-23 21:27                   ` Peter Humphrey
2011-06-23 21:57                     ` Neil Bothwick
2011-06-23 23:04                       ` Peter Humphrey
2011-06-24 12:02                       ` [gentoo-user] " Stroller
2011-06-24 12:40                         ` William Kenworthy
2011-06-24 22:08                         ` Neil Bothwick
2011-06-22 13:19     ` [gentoo-user] " Nikos Chantziaras
2011-06-22 13:33       ` Dale
2011-06-22 14:14         ` Mark Knecht
2011-06-22 14:24         ` Nikos Chantziaras
2011-06-22 15:35           ` Dale
2011-06-22 16:11             ` Nikos Chantziaras
2011-06-22 16:23               ` Mark Knecht
2011-06-23 21:43                 ` Peter Humphrey
2011-06-23 22:16                   ` Dale
2011-06-24  5:04                     ` Nikos Chantziaras
2011-06-24 10:18                       ` Dale
2011-06-24 19:18                       ` Michael Schreckenbauer
2011-06-24 19:49                         ` David W Noon
2011-06-24 20:00                         ` Dale
2011-06-24 20:25                           ` Michael Schreckenbauer
2011-06-24 20:52                             ` Dale
2011-06-24 22:20                               ` Neil Bothwick
2011-06-25  3:29                                 ` Dale
2011-06-25 11:48                                   ` Neil Bothwick
2011-06-25 12:04                                     ` Dale
2011-06-25 12:46                                       ` justin
2011-06-25 13:58                                         ` Peter Humphrey
2011-06-25 19:12                                           ` Michael Schreckenbauer
2011-06-26 14:19                                             ` Peter Humphrey
2011-06-26 15:28                                             ` Dale
2011-06-26 19:34                                               ` Michael Schreckenbauer
2011-06-26 20:01                                                 ` Dale
2011-06-26 20:46                                                   ` Michael Schreckenbauer
2011-06-27  3:38                                                   ` Mike Edenfield
2011-06-26 10:45                                           ` [gentoo-user] " Stroller
2011-06-26 14:21                                             ` Peter Humphrey
2011-06-25 19:10                                         ` [gentoo-user] " Alan McKinnon
2011-06-25 19:45                                           ` Dale
2011-06-25 21:34                                             ` Mick
2011-06-26  2:24                                             ` William Kenworthy
2011-06-26  9:27                                               ` Dale
2011-06-26  2:24                                       ` Mike Edenfield
2011-06-26  9:25                                         ` Dale
2011-06-25  6:08                         ` Nikos Chantziaras
2011-06-22 16:58               ` Dale
2011-06-22 17:36                 ` Nikos Chantziaras
2011-06-22 18:13                   ` Dale
2011-06-22 20:15                     ` Alan McKinnon
2011-06-22 21:30                       ` Dale
2011-06-22 22:44                         ` Indi
2011-06-22 22:55                           ` Alan McKinnon
2011-06-23  0:12                             ` Neil Bothwick
2011-06-23 12:08                               ` Todd Goodman
2011-06-23 19:10                                 ` Dale
2011-06-23 19:30                                   ` Indi
2011-06-23 19:56                               ` Alan McKinnon
2011-06-23 12:06                           ` Todd Goodman
2011-06-23 13:09                             ` Indi
2011-06-23 19:54                               ` Alan McKinnon
2011-06-23 21:47                                 ` Peter Humphrey
2011-06-23 22:41                                   ` Alan McKinnon
2011-06-23 23:08                                     ` Peter Humphrey
2011-06-24 13:16                                     ` Indi
2011-06-23 17:23                   ` [gentoo-user] [OT] " pk
2011-06-23 18:16                     ` Neil Bothwick
2011-06-23 19:43                       ` Alan McKinnon
2011-06-23 20:04                         ` Robin Atwood
2011-06-23 20:15                           ` Alan McKinnon
2011-06-24  8:52                         ` pk
2011-06-24  9:31                           ` Neil Bothwick
2011-06-24 13:14                             ` pk
2011-06-24 22:17                               ` Neil Bothwick
2011-06-23 23:43                       ` Walter Dnes
2011-06-24 21:29                       ` [gentoo-user] " walt
2011-06-23 21:51                     ` [gentoo-user] " Peter Humphrey
2011-06-22 17:23               ` [gentoo-user] " Todd Goodman
2011-06-22 18:15                 ` Dale
2011-06-22 18:35                   ` Dale
2011-06-22 20:33                     ` Todd Goodman
2011-06-22 21:34                       ` Dale
2011-06-22 22:56                         ` Neil Bothwick
2011-06-23  5:03                           ` Dale
2011-06-23  9:02                             ` Neil Bothwick
2011-06-23 10:49                               ` Dale
2011-06-23 12:09                                 ` Neil Bothwick
2011-06-23 19:14                                   ` Dale
2011-06-23 19:45                                   ` Alan McKinnon
2011-06-23 20:35                                     ` Neil Bothwick
2011-06-23 21:06                                       ` Alan McKinnon
2011-06-23 21:52                                         ` Neil Bothwick
2011-06-23 12:00                         ` Todd Goodman
2011-06-22 22:43                     ` Mike Edenfield
2011-06-23  5:04                       ` Dale
2011-06-23 21:47                         ` Mike Edenfield
2011-06-23 22:23                           ` Dale
2011-06-24  0:17                   ` Walter Dnes
2011-06-22 21:25               ` Mark Knecht
2011-06-22 22:31                 ` Dale
2011-06-22 23:12                   ` Mark Knecht
2011-06-22 16:52             ` pk
2011-06-22 22:39             ` Mike Edenfield
2011-06-22 22:34         ` Mike Edenfield
2011-06-23 22:15           ` Peter Humphrey
2011-06-22 13:25     ` Indi
2011-06-23 22:18       ` Peter Humphrey
2011-06-24  0:19         ` Neil Bothwick
2011-06-22 13:29 ` [gentoo-user] " Mark Knecht
2011-06-22 14:25   ` Mick
2011-06-22 15:27     ` Mark Knecht
2011-06-22 15:50       ` Dale
2011-06-22 16:18         ` Mark Knecht
2011-06-22 18:10           ` Dale
2011-06-22 19:48             ` Matthew Finkel
2011-06-22 20:55               ` Dale
2011-06-22 21:28                 ` Todd Goodman
2011-06-22 22:20                   ` Mark Knecht
2011-06-23 12:05                     ` Todd Goodman
2011-06-23 12:51                       ` Mark Knecht
2011-06-22 22:35                   ` Dale
2011-06-23 22:30                     ` Peter Humphrey
2011-06-23 22:48                       ` Alan McKinnon
2011-06-23 23:17                         ` Peter Humphrey
2011-06-23 23:05                       ` Dale
2011-06-23 22:22         ` Peter Humphrey
2011-06-23 22:36           ` Dale
2011-06-23 22:57             ` Mark Knecht
2011-06-23 22:54           ` Mike Edenfield
2011-06-24  0:31             ` Neil Bothwick
2011-06-24 12:35               ` Mike Edenfield
2011-06-24 22:16                 ` Neil Bothwick
2011-06-24 12:03             ` Todd Goodman
2011-06-24 12:45               ` Mike Edenfield
2011-06-24 13:38                 ` Todd Goodman
2011-06-24 15:43                   ` Mark Knecht
2011-06-24 22:14                     ` Neil Bothwick
2011-06-25  0:32                     ` Walter Dnes
2011-06-24 22:24               ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E0181CA.9000203@gentoo.org \
    --to=jlec@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox