Bug 2984 - dev-lang/ocaml 3.04 does not compile correctly.
Bug#: 2984 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: daybird@gentoo.org Reported By: stan@hood.ch
Component: Applications
URL: 
Summary: dev-lang/ocaml 3.04 does not compile correctly.
Keywords:  
Status Whiteboard: 
Opened: 2002-05-24 04:18 0000
Description:   Opened: 2002-05-24 04:18 0000
dev-lang/ocaml 3.04 does not compile correctly on linuxppc. it is a known bug
to
the ocaml team. it is the command "make opt.opt" in the .ebuild file, which
does
not work on linux ppc (http://caml.inria.fr/archives/200204/msg00176.html).

there are two solutions : 
- avoid "make opt.opt" 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.

------- Comment #1 From David Chamberlain 2002-06-09 20:46:25 0000 -------
I'm currently fighting with this ugly patch.  I've gotten it to compile 
several times, but when the patch goes into cvs, something screws it up.  More 
anon.  

------- Comment #2 From David Chamberlain 2002-06-10 12:04:18 0000 -------
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.