<?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>97417</bug_id>
          
          <creation_ts>2005-06-29 13:05 0000</creation_ts>
          <short_desc>lam-mpi does not include fortran support or listen to fortran use variable</short_desc>
          <delta_ts>2005-07-05 21:31:08 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>john@netpurgatory.com</reporter>
          <assigned_to>hp-cluster@gentoo.org</assigned_to>
          <cc>robbat2@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>john@netpurgatory.com</who>
            <bug_when>2005-06-29 13:05:31 0000</bug_when>
            <thetext>Working ebuilds of sys-cluster/lam-mpi do not build with fortran (f77) support.
 This includes lam-7.0.6 and lam-7.1.  lam-7.1.1 does attempt to build fortran
support, but the entire ebuild doesn&apos;t work, and it doesn&apos;t follow the fortran
use variable.

I have a patched version of the ebuild (which I will attach) for version 7.0.6
which checks for the fortran use variable similar to the way version 7.0.4-r1
worked and the builds fortran support with g77.

Reproducible: Always
Steps to Reproduce:
1. emerge lam-mpi
2. mpif77 -showme

Actual Results:  
mpif77 fails

Expected Results:  
mpif77 should not fail.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>john@netpurgatory.com</who>
            <bug_when>2005-06-29 13:06:31 0000</bug_when>
            <thetext>Created an attachment (id=62260)
a patch to the ebuild for lam-mpi-7.0.6 to enable fortran use variable

This is the patch I mentioned in the bug report.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>john@netpurgatory.com</who>
            <bug_when>2005-06-29 13:12:54 0000</bug_when>
            <thetext>(From update of attachment 62260)
&gt;--- /usr/portage/sys-cluster/lam-mpi/lam-mpi-7.0.6.ebuild	2005-02-07 07:12:06.000000000 -0500
&gt;+++ /usr/local/portage/sys-cluster/lam-mpi/lam-mpi-7.0.6.ebuild	2005-06-29 15:27:06.000000000 -0400
&gt;@@ -2,7 +2,7 @@
&gt; # Distributed under the terms of the GNU General Public License v2
&gt; # $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.0.6.ebuild,v 1.6 2005/02/07 12:01:47 eradicator Exp $
&gt; 
&gt;-IUSE=&quot;crypt&quot;
&gt;+IUSE=&quot;crypt fortran&quot;
&gt; 
&gt; MY_P=${P/-mpi}
&gt; S=${WORKDIR}/${MY_P}
&gt;@@ -39,6 +39,12 @@ src_compile() {
&gt; 		myconf=&quot;--with-rsh=rsh&quot;
&gt; 	fi
&gt; 
&gt;+	if use fortran; then
&gt;+		myconf=&quot;${myconf} --with-fc=g77&quot;
&gt;+	else
&gt;+		myconf=&quot;${myconf} --without-fc&quot;
&gt;+	fi
&gt;+
&gt; 	econf \
&gt; 		--sysconfdir=/etc/lam-mpi \
&gt; 		--enable-shared \
&gt;@@ -48,7 +54,7 @@ src_compile() {
&gt; 		--disable-checking  \
&gt; 		--enable-cstdio=stdio \
&gt; 		--with-system-zlib \
&gt;-		--without-fc \
&gt; 		${myconf} || die
&gt; 
&gt; 	# sometimes emake doesn&apos;t finish since it gets ahead of itself :)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>john@netpurgatory.com</who>
            <bug_when>2005-06-29 13:14:26 0000</bug_when>
            <thetext>Sorry about that.  There was a mistake in my patch, and I didn&apos;t know how to
edit it without turning it into a comment instead of an attachment.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2005-07-05 16:48:21 0000</bug_when>
            <thetext>fixed in cvs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-07-05 20:26:42 0000</bug_when>
            <thetext>This commit is not correct. It assumes that the Fortran compiler is g77 when
that is certainly not always the case, particularly with the advent of gcc4.

Robin, you may wish to take more advantage of the fortran eclass, since lam-mpi
already inherits it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2005-07-05 21:08:10 0000</bug_when>
            <thetext>ok fixed now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-07-05 21:31:08 0000</bug_when>
            <thetext>Thanks!</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>62260</attachid>
            <date>2005-06-29 13:06 0000</date>
            <desc>a patch to the ebuild for lam-mpi-7.0.6 to enable fortran use variable</desc>
            <filename>lam-ebuild-fortran.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9zeXMtY2x1c3Rlci9sYW0tbXBpL2xhbS1tcGktNy4wLjYuZWJ1aWxk
CTIwMDUtMDItMDcgMDc6MTI6MDYuMDAwMDAwMDAwIC0wNTAwCisrKyAvdXNyL2xvY2FsL3BvcnRh
Z2Uvc3lzLWNsdXN0ZXIvbGFtLW1waS9sYW0tbXBpLTcuMC42LmVidWlsZAkyMDA1LTA2LTI5IDE1
OjI3OjA2LjAwMDAwMDAwMCAtMDQwMApAQCAtMiw3ICsyLDcgQEAKICMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgogIyAkSGVh
ZGVyOiAvdmFyL2N2c3Jvb3QvZ2VudG9vLXg4Ni9zeX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