First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 5786
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: George Shapovalov <george@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bardur Arantsson <bugs-gentoo.org@scientician.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ocaml-3.05.ebuild ocaml-3.05.ebuild text/plain Bardur Arantsson 2002-07-30 13:53 0000 1.11 KB Details
ocaml-3.05.ebuild ocaml-3.05-r2.ebuild text/plain Bardur Arantsson 2002-08-06 17:16 0000 1.18 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 5786 depends on: Show dependency tree
Bug 5786 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-30 13:52 0000
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 From Bardur Arantsson 2002-07-30 13:53:19 0000 -------
Created an attachment (id=2690) [edit]
ocaml-3.05.ebuild

------- Comment #2 From Bardur Arantsson 2002-08-06 17:14:17 0000 -------
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 From Bardur Arantsson 2002-08-06 17:16:21 0000 -------
Created an attachment (id=2878) [edit]
ocaml-3.05-r2.ebuild

------- Comment #4 From George Shapovalov 2002-08-06 22:06:14 0000 -------
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 From George Shapovalov 2002-08-06 22:12:35 0000 -------
*** Bug 5799 has been marked as a duplicate of this bug. ***

------- Comment #6 From George Shapovalov 2002-08-07 02:33:16 0000 -------
Ok, committed Bardur's version (with minor changes)
Please test (masked now, so you'll need to unmask).
Thanks for submissions!

George

------- Comment #7 From Bardur Arantsson 2002-08-07 02:48:26 0000 -------
[--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 From George Shapovalov 2002-08-07 04:22:04 0000 -------
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 From Bardur Arantsson 2002-08-07 11:12:38 0000 -------
Seems to work fine. 
 

------- Comment #10 From Bardur Arantsson 2002-08-07 11:35:05 0000 -------
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 From George Shapovalov 2002-08-07 12:55:15 0000 -------
*** Bug 5865 has been marked as a duplicate of this bug. ***

------- Comment #12 From George Shapovalov 2002-08-07 15:56:02 0000 -------
*** Bug 5418 has been marked as a duplicate of this bug. ***

------- Comment #13 From Georg Sauthoff 2002-08-12 07:21:15 0000 -------
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 From Georg Sauthoff 2002-08-12 09:33:18 0000 -------
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 From Bardur Arantsson 2002-10-11 03:29:21 0000 -------
the 3.06 version has superceded this. 

First Last Prev Next    No search results available      Search page      Enter new bug