<?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>58628</bug_id>
          
          <creation_ts>2004-07-28 00:16 0000</creation_ts>
          <short_desc>app-sci/molden requires g77 but doesn&apos;t check for its existence.</short_desc>
          <delta_ts>2004-07-28 01:09:12 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>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo-bugs@pekaje.homeip.net</reporter>
          <assigned_to>dberkholz@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gentoo-bugs@pekaje.homeip.net</who>
            <bug_when>2004-07-28 00:16:34 0000</bug_when>
            <thetext>I came across this bug on Usenet in Message-ID: &lt;2mmrh4Fop53qU1@uni-berlin.de&gt;.
Basically, gcc needs to be compiled with the f77 USE flag in order to build g77.
However, no check is done and non-developers wouldn&apos;t know what to do with the error message.
The Bash built-in &apos;type&apos; function can be used to find out if g77 exists on the system, and fail the build with a more useful error message.
I&apos;ll attach a solution that works for me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugs@pekaje.homeip.net</who>
            <bug_when>2004-07-28 00:17:20 0000</bug_when>
            <thetext>Created an attachment (id=36304)
Proposed patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2004-07-28 01:09:12 0000</bug_when>
            <thetext>Thanks. I&apos;ve committed a slightly different fix. Feel free to take a look and critique it.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>36304</attachid>
            <date>2004-07-28 00:17 0000</date>
            <desc>Proposed patch</desc>
            <filename>molden_check_g77.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG1vbGRlbi00LjAuZWJ1aWxkLm9sZAkyMDA0LTA3LTI4IDA4OjU1OjExLjAwMDAwMDAwMCAr
MDIwMAorKysgbW9sZGVuLTQuMC5lYnVpbGQJMjAwNC0wNy0yOCAwOTowMjo0Mi4wMDAwMDAwMDAg
KzAyMDAKQEAgLTQxLDYgKzQxLDkgQEAKIAkJJHtGQzorRkM9IiR7RkN9IiBMRFI9IiR7RkN9In0g
XAogCQkke0ZGTEFHUzorRkZMQUdTPSIke0ZGTEFHU30ifSApCiAKKwl0eXBlIGc3NyAmPi9kZXYv
bnVsbCB8fCBcCisJZGllICJnNzcgbm90IGZvdW5kLiAgUGxlYXNlIHJlY29tcGlsZSBzeXMtZGV2
ZWwvZ2NjIHdpdGggZjc3IGluIFVTRSBmbGFncy4iCisKIAllaW5mbyAiQnVpbGRpbmcgTW9sZGVu
Li4uIgogCWVtYWtlICIke2FyZ3NbQF19IiB8fCBkaWUgIm1vbGRlbiBlbWFrZSBmYWlsZWQiCiAJ
aWYgdXNlIG9wZW5nbCA7IHRoZW4K
</data>        

          </attachment>
    </bug>

</bugzilla>