<?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>2984</bug_id>
          
          <creation_ts>2002-05-24 04:18 0000</creation_ts>
          <short_desc>dev-lang/ocaml 3.04 does not compile correctly.</short_desc>
          <delta_ts>2006-02-04 06:03: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>Linux</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>stan@hood.ch</reporter>
          <assigned_to>daybird@gentoo.org</assigned_to>
          <cc>karltk@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>stan@hood.ch</who>
            <bug_when>2002-05-24 04:18:33 0000</bug_when>
            <thetext>dev-lang/ocaml 3.04 does not compile correctly on linuxppc. it is a known bug to
the ocaml team. it is the command &quot;make opt.opt&quot; in the .ebuild file, which does
not work on linux ppc (http://caml.inria.fr/archives/200204/msg00176.html).

there are two solutions : 
- avoid &quot;make opt.opt&quot; on linuxppc and wait for the next release of ocaml (in
the actual cvs version of ocaml, the bug is corrected)
- use a patch published by Sven Luther :
  http://caml.inria.fr/archives/200204/msg00177.html
  http://caml.inria.fr/archives/200204/msg00187.html

i have modified (not nicely though) the .ebuild file to apply this patch and
then ocaml emerges correctly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>daybird@gentoo.org</who>
            <bug_when>2002-06-09 20:46:25 0000</bug_when>
            <thetext>I&apos;m currently fighting with this ugly patch.  I&apos;ve gotten it to compile 
several times, but when the patch goes into cvs, something screws it up.  More 
anon.  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>daybird@gentoo.org</who>
            <bug_when>2002-06-10 12:04:18 0000</bug_when>
            <thetext>OK, I turned on my brain and compressed the patch.  It now patches and compiles
on ppc. Thanks for the bug report, Stan - sorry it took a few days to fix.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>