Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5786 - ocaml-3.05 (new version, updated ebuild)
Summary: ocaml-3.05 (new version, updated ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
: 5418 5799 5865 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-30 13:52 UTC by Bardur Arantsson
Modified: 2002-10-11 03:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ocaml-3.05.ebuild (ocaml-3.05.ebuild,1.11 KB, text/plain)
2002-07-30 13:53 UTC, Bardur Arantsson
Details
ocaml-3.05-r2.ebuild (ocaml-3.05.ebuild,1.18 KB, text/plain)
2002-08-06 17:16 UTC, Bardur Arantsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bardur Arantsson 2002-07-30 13:52:34 UTC
Hi there, 
 
I've updated the ocaml-3.04 ebuild to ocaml-3.05 and fixed a couple of buglets 
in the process. The new ebuild is attached. 
 
Apparently, the old ebuild did not do a "make installopt" to install the 
optimized compiler. 
 
In addition, the old ebuild did not respect the "tcltk" USE variable. I've 
updated the dependency and added a check for the variable to the src_compile 
section of the Ebuild. This obsoletes bug #5418 
(http://bugs.gentoo.org/show_bug.cgi?id=5418).
Comment 1 Bardur Arantsson 2002-07-30 13:53:19 UTC
Created attachment 2690 [details]
ocaml-3.05.ebuild
Comment 2 Bardur Arantsson 2002-08-06 17:14:17 UTC
Well, it seems that ocaml-3.05 has a new way of configuring/detecting load 
paths for libraries. It uses /usr/lib/ocaml/ld.conf to list library paths, but 
that file contained invalid paths (pointing into the /var/tmp/portage/... 
build tree), which caused some library builds to fail. 
 
I've fixed that (by adding a small "dosed" command to the install portion of 
the ebuild) and attached the revised ebuild. 
Comment 3 Bardur Arantsson 2002-08-06 17:16:21 UTC
Created attachment 2878 [details]
ocaml-3.05-r2.ebuild
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2002-08-06 22:06:14 UTC
Hi Bardur

Thanks for a submission!

One question:
in src_compile you have this line:
use tcltk || OPTS="-no-tk"
however OPT is never used again, did you mean myconf in palce of OPT?

Also, I see you removed src_unpack that patched the sources to work on ppc. Did
you remove this because of the note in the ebuild or because you tested it on ppc?

Thanks!

George

Comment 5 George Shapovalov (RETIRED) gentoo-dev 2002-08-06 22:12:35 UTC
*** Bug 5799 has been marked as a duplicate of this bug. ***
Comment 6 George Shapovalov (RETIRED) gentoo-dev 2002-08-07 02:33:16 UTC
Ok, committed Bardur's version (with minor changes)
Please test (masked now, so you'll need to unmask).
Thanks for submissions!

George
Comment 7 Bardur Arantsson 2002-08-07 02:48:26 UTC
[--snip--]  
> in src_compile you have this line:  
>   use tcltk || OPTS="-no-tk"  
> however OPT is never used again, did you mean myconf in palce of OPT?  
  
Yup, I missed that one. There's a reason that search/replace is usually done  
automatically, I guess. :)  
  
> Also, I see you removed src_unpack that patched the sources to work on ppc.  
> Did you remove this because of the note in the ebuild or because you tested  
it on ppc?  
  
Unfortunately, I don't have access to a PPC, but I *did* check (visually) that  
the patches for PPC had actually been applied to the (stock) ocaml-3.05  
sources.  
 
Comment 8 George Shapovalov (RETIRED) gentoo-dev 2002-08-07 04:22:04 UTC
Hi Bardur

Thanks for clarification.
Could you please test the committed version and let me know the result, so that
I could unmask it?

George
Comment 9 Bardur Arantsson 2002-08-07 11:12:38 UTC
Seems to work fine. 
 
Comment 10 Bardur Arantsson 2002-08-07 11:35:05 UTC
Oh, and btw: Bug #5865 (http://bugs.gentoo.org/show_bug.cgi?id=5865) 
should probably be marked as a duplicate of this. (Or vice versa). 
 
Comment 11 George Shapovalov (RETIRED) gentoo-dev 2002-08-07 12:55:15 UTC
*** Bug 5865 has been marked as a duplicate of this bug. ***
Comment 12 George Shapovalov (RETIRED) gentoo-dev 2002-08-07 15:56:02 UTC
*** Bug 5418 has been marked as a duplicate of this bug. ***
Comment 13 Georg Sauthoff 2002-08-12 07:21:15 UTC
Hi,

the src url  ftp://ftp.inria.fr/lang/caml-light/ocaml-3.05.tar.gz (don't worked
for me) changed to http://caml.inria.fr/distrib/ocaml-3.05.tar.gz, I think.

georg sauthoff
Comment 14 Georg Sauthoff 2002-08-12 09:33:18 UTC
I don't know if this interests someone, but the ebuild works fine with gcc 2.95
and 3.1 for me.

georg sauthoff
Comment 15 Bardur Arantsson 2002-10-11 03:29:21 UTC
the 3.06 version has superceded this.