Gentoo Archives: gentoo-user

From: Andrey Falko <ma3oxuct@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] F77 Provided through /etc/portage/env/*
Date: Fri, 22 Feb 2008 17:48:12
Message-Id: 350fc7cf0802220948n2117c289r61c81f22c7857dfa@mail.gmail.com
In Reply to: [gentoo-user] F77 Provided through /etc/portage/env/* by justin@j-schmitz.net
1 On Fri, Feb 22, 2008 at 3:56 AM, <justin@×××××××××.net> wrote:
2 >
3 > Hi all!
4 >
5 > I have a little nasty problem. I am using a couple of fortran progs and not
6 > all are happy with ifort but some benefit allot of its use. As I am lazy
7 > and dont want to change my make.conf all the time I provided the F77, FC
8 > and FLAGS for those packages which support ifort through
9 > /etc/portage/env/<categorie>/<package>. This worked for a long time, but
10 > now some thing has changed and I dont know what. The variables are still
11 > passed to the emerge but the F77 and FC isnt used by emake any more. See
12 > following example: ifort is chosen by the fortran.eclass and configure uses
13 > it as well. But in the make part only the ifort spezific FFLAGS are use
14 > together with gfortran.
15 >
16 What version of portage is this? emerge --info? It is possible that
17 there might be a regression between portage versions. If you've
18 updated portage recently, try downgrading by masking the current
19 version in /etc/portage/package.mask.
20
21 > >>> Emerging (1 of 1) sci-chemistry/shelx-20060317 to /
22 > * shelx-20060317.tgz RMD160 SHA1 SHA256 size ;-) ...
23 > [ ok ]
24 > * checking ebuild checksums ;-) ...
25 > [ ok ]
26 > * checking auxfile checksums ;-) ...
27 > [ ok ]
28 > * checking miscfile checksums ;-) ...
29 > [ ok ]
30 > * checking shelx-20060317.tgz ;-) ...
31 > [ ok ]
32 > * You need one of these Fortran Compilers: ifc gfortran
33 > * Installed are: ifort gfortran
34 > * Using ifort
35 > >>> Unpacking source...
36 > >>> Unpacking shelx-20060317.tgz to
37 > /var/tmp/portage/sci-chemistry/shelx-20060317/work
38 > * Applying 20060317-autotool.patch ...
39 > [ ok ]
40 > * Applying 20060317-gfortran.patch ...
41 > [ ok ]
42 > * Running eautoreconf in
43 > '/var/tmp/portage/sci-chemistry/shelx-20060317/work/unix' ...
44 > * Running aclocal ...
45 > [ ok ]
46 > * Running autoconf ...
47 > [ ok ]
48 > * Running automake --add-missing --copy --foreign ...
49 > [ ok ]
50 > >>> Source unpacked.
51 > >>> Compiling source in
52 > /var/tmp/portage/sci-chemistry/shelx-20060317/work/unix ...
53 > ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
54 > --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
55 > --localstatedir=/var/lib FC=ifort --build=i686-pc-linux-gnu
56 > checking for a BSD-compatible install... /usr/bin/install -c
57 > checking whether build environment is sane... yes
58 > checking for a thread-safe mkdir -p... /bin/mkdir -p
59 > checking for gawk... gawk
60 > checking whether make sets $(MAKE)... yes
61 > checking for i686-pc-linux-gnu-gfortran... ifort
62 > checking for Fortran compiler default output file name... a.out
63 > checking whether the Fortran compiler works... yes
64 > checking whether we are cross compiling... no
65 > checking for suffix of executables...
66 > checking for suffix of object files... o
67 > checking whether we are using the GNU Fortran compiler... no
68 > checking whether ifort accepts -g... yes
69 > checking for i686-pc-linux-gnu-g77... no
70 > checking for i686-pc-linux-gnu-xlf... no
71 > checking for i686-pc-linux-gnu-f77... no
72 > checking for i686-pc-linux-gnu-frt... no
73 > checking for i686-pc-linux-gnu-pgf77... no
74 > checking for i686-pc-linux-gnu-cf77... no
75 > checking for i686-pc-linux-gnu-fort77... no
76 > checking for i686-pc-linux-gnu-fl32... no
77 > checking for i686-pc-linux-gnu-af77... no
78 > checking for i686-pc-linux-gnu-xlf90... no
79 > checking for i686-pc-linux-gnu-f90... no
80 > checking for i686-pc-linux-gnu-pgf90... no
81 > checking for i686-pc-linux-gnu-pghpf... no
82 > checking for i686-pc-linux-gnu-epcf90... no
83 > checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran
84 > checking whether we are using the GNU Fortran 77 compiler... no
85 > checking whether i686-pc-linux-gnu-gfortran accepts -g... yes
86 > configure: creating ./config.status
87 > config.status: creating Makefile
88 > i686-pc-linux-gnu-gfortran -O3 -march=prescott -openmp -parallel -c -o
89 > ciftab.o ciftab.f
90 > i686-pc-linux-gnu-gfortran: unrecognized option '-parallel'
91 > i686-pc-linux-gnu-gfortran -O3 -march=prescott -openmp -parallel -c -o
92 > shelxa.o shelxa.f
93 > i686-pc-linux-gnu-gfortran -O3 -march=prescott -openmp -parallel -c -o
94 > shelxc.o shelxc.f
95 > i686-pc-linux-gnu-gfortran: unrecognized option '-parallel'
96 > i686-pc-linux-gnu-gfortran -O3 -march=prescott -openmp -parallel -c -o
97 > shelxd.o shelxd.f
98 > i686-pc-linux-gnu-gfortran: unrecognized option '-parallel'
99 >
100 >
101 > --
102 > gentoo-user@l.g.o mailing list
103 >
104 >
105 --
106 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] F77 Provided through /etc/portage/env/* Justin <justin@×××××××××.net>