<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>135168</bug_id>
          
          <creation_ts>2006-06-01 08:15 0000</creation_ts>
          <short_desc>sys-cluster/lam-mpi-7.0.4 broken with gcc 4.1.1 -- uses g77 instead of gfortran</short_desc>
          <delta_ts>2008-07-09 13:58:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2005.1</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>foontala@gmail.com</reporter>
          <assigned_to>hp-cluster@gentoo.org</assigned_to>
          <cc>gopikrp@yahoo.co.in</cc>

      

      
          <long_desc isprivate="0">
            <who>foontala@gmail.com</who>
            <bug_when>2006-06-01 08:15:15 0000</bug_when>
            <thetext>============================================================
output from the emerge attempt:
============================================================
*** Fortran Compiler
checking for g77... no
checking for f77... no
checking for fort77... no
checking for f90... no
configure: WARNING: *** Could not find FORTRAN compiler.  Either use
configure: WARNING: *** --with-fc to specify the FORTRAN compiler, or
configure: WARNING: *** --without-fc to specify no FORTRAN support
configure: error: Cannot continue current configuration without FORTRAN compiler


============================================================
emerge --info
============================================================
Portage 2.0.54-r2 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.3.6-r3, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 Dual Core AMD Opteron(tm) Processor 275
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=opteron -mtune=opteron -O3 -pipe -msse -msse2 -funit-at-a-time -fomit-frame-pointer -frename-registers -fweb&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=opteron -mtune=opteron -O3 -pipe -msse -msse2 -funit-at-a-time -fomit-frame-pointer -frename-registers -fweb&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j5&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 X Xaw3d alsa apache2 arts audiofile avi berkdb bitmap-fonts blas bzip2 cdr cli crypt cups curl dri dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint glut gmp gnome gpm graphviz gstreamer gtk gtk2 idn imagemagick imlib ipv6 isdnlog ithreads java jpeg junit kde lapack latex lcms ldap libwww lm_sensors lua lzw lzw-tiff mad mng mozcalendar mozilla mozsvg mp3 mpeg mpi mysql ncurses nls nptl nsplugin nvidia ogg opengl pam pcre pdflib plotutils png ppds pppd python qt quicktime readline reflection ruby samba scanner sdl session slp smp spell spl ssl tcpd tetex threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis xanim xine xinerama xml xml2 xorg xpm xv zlib userland_GNU kernel_linux elibc_glibc&quot;
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2006-06-03 18:13:48 0000</bug_when>
            <thetext>Needs a change to line 61 of config/lam_prog_f77.m4 to add gfortran to the list.

After that, add autotools to the inherit line at the top of the ebuild, and run eautoreconf at the very end of src_unpack().</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ralf@ark.in-berlin.de</who>
            <bug_when>2006-07-18 07:16:58 0000</bug_when>
            <thetext>Or, as a workaround, you could do 

# ln -s /usr/bin/gfortran /usr/bin/g77

which I did as octave missed the same command, although I had built gcc with USE=fortran too.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2006-07-19 23:18:49 0000</bug_when>
            <thetext>Fixed in 7.1.2.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gopikrp@yahoo.co.in</who>
            <bug_when>2008-07-09 12:44:57 0000</bug_when>
            <thetext>This Issue was not Fixed in the LAM 7.1.4 . I am getting the same FORTAN error while ./configure. After &quot;ln -s /usr/bin/gfortran /usr/bin/g77&quot; only it crossed the fortan Part.

Thanks

Gopi

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jsbronder@gentoo.org</who>
            <bug_when>2008-07-09 13:58:43 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; This Issue was not Fixed in the LAM 7.1.4 . I am getting the same FORTAN error
&gt; while ./configure. After &quot;ln -s /usr/bin/gfortran /usr/bin/g77&quot; only it crossed
&gt; the fortan Part.
&gt; 

I&apos;m unable to replicate.  emerge --info and config.log please?</thetext>
          </long_desc>
      
    </bug>

</bugzilla>