First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 111407
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Gentoo Team for the ML programming language family <ml@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ingo Bormuth <ibormuth@efil.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
metaocaml-3.08.027.ebuild metaocaml-3.08.027.ebuild text/plain Ingo Bormuth 2005-11-03 14:09 0000 2.16 KB Details
metaocaml-3.08.027.ebuild metaocaml-3.08.027.ebuild text/plain Ingo Bormuth 2005-11-21 12:08 0000 2.18 KB Details
metaocaml-308_alpha027.ebuild Alternate ebuil text/plain Christopher Warrington (c45207) 2006-01-18 19:36 0000 2.30 KB Details
metaocaml-3.08_alpha027.ebuild metaocaml-3.08_alpha027.ebuild text/plain Ingo Bormuth 2006-01-21 11:26 0000 2.71 KB Details
metaocaml-3.08_alpha027.ebuild metaocaml-3.08_alpha027.ebuild text/plain Ingo Bormuth 2006-01-22 10:08 0000 2.73 KB Details
metaocaml-3.09_alpha030.ebuild Fixes ocaml-doc bug application/octet-stream Christopher Warrington (c45207) 2006-02-07 02:13 0000 2.73 KB Details
ocaml-rebuild.sh ocaml-rebuild.sh text/plain Ingo Bormuth 2006-03-18 10:31 0000 2.46 KB Details
metaocaml-3.09_alpha030.ebuild metaocaml-3.09_alpha030.ebuild text/plain Ingo Bormuth 2006-03-18 10:32 0000 2.65 KB Details
ocaml-rebuild ocaml-rebuild.sh text/plain Ingo Bormuth 2006-03-22 03:48 0000 2.45 KB Details
ocaml-rebuild.sh ocaml-rebuild.sh text/plain Ingo Bormuth 2006-03-26 23:48 0000 2.75 KB Details
metaocaml-3.09_alpha030.ebuild metaocaml-3.09_alpha030.ebuild text/plain Ingo Bormuth 2006-03-27 02:16 0000 2.89 KB Details
metaocaml-3.09_alpha030.ebuild ebuild for MetaOCaml 3.09-alpha030 text/plain Christopher Warrington (c45207) 2006-03-27 07:07 0000 2.90 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 111407 depends on: Show dependency tree
Bug 111407 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: 2005-11-03 14:08 0000
Please find attached an ebuild for metaocaml 3.08 alpha 26.
Metaocaml is a multi staged version of ocaml which I just
use as a drop in replacement (native compiler only for x86).

BTW: Do you need man power in the ml-herd ?

------- Comment #1 From Ingo Bormuth 2005-11-03 14:09:27 0000 -------
Created an attachment (id=72061) [details]
metaocaml-3.08.026.ebuild

------- Comment #2 From Ingo Bormuth 2005-11-04 16:56:16 0000 -------
Updated to 3.08.027

------- Comment #3 From Ingo Bormuth 2005-11-21 12:08:58 0000 -------
Created an attachment (id=73321) [details]
metaocaml-3.08.027.ebuild

Changed SRC_URI (upstream fix: newest version can now be found in dist/old).

------- Comment #4 From Ingo Bormuth 2006-01-17 23:00:38 0000 -------
Fixed typo in name of this bug (mamaocaml -> metaocaml)-

BTW: Is there anybody out there ... ?

------- Comment #5 From Alexandre Buisse (RETIRED) 2006-01-18 02:38:06 0000 -------
Yes, there are :)
Some remarks on your ebuild (some of these also apply to dev-lang/ocaml but you
should fix them here if you can) :

- name should be something like metaocaml-3.08_alpha027.ebuild so that we can
bump it more easily (I have a working ebuild with this name)
- you don't use versionator eclass, so you don't need to inherit it
- your src_unpack could be removed as it is the default one
- ./configure explicit call sucks, you should use econf but I am not sure it is
possible here
- LICENSE and INSTALL files shouldn't be installed
- Are you sure that ocaml-rebuild.sh also works for metaocaml?

Please fix as much as you can and we'll try to include this package in portage.

Thanks

------- Comment #6 From Christopher Warrington (c45207) 2006-01-18 19:36:59 0000 -------
Created an attachment (id=77493) [details]
Alternate ebuil

This is an alternate ebuild. It is somewhat based on Ingo's, but a tough more
flexible.

------- Comment #7 From Christopher Warrington (c45207) 2006-01-18 19:42:26 0000 -------
(In reply to comment #5)
> - name should be something like metaocaml-3.08_alpha027.ebuild so that we can
> bump it more easily (I have a working ebuild with this name)

Fixed in my ebuild.

> - you don't use versionator eclass, so you don't need to inherit it

I do use it, but I may not need to.

> - your src_unpack could be removed as it is the default one

Mine doesn't use it.

> - ./configure explicit call sucks, you should use econf but I am not sure it is
> possible here

I tried, but this configure doesn't work with --prefix=<dir> syntax; it needs
-prefix <dir> syntax.

> - LICENSE and INSTALL files shouldn't be installed

Fixed.

I don't know if I followed protocol but submitting a different ebuild instead
of a patch. Please advise.

------- Comment #8 From Ingo Bormuth 2006-01-21 11:26:02 0000 -------
Created an attachment (id=77742) [details]
metaocaml-3.08_alpha027.ebuild

Here is a merged version - thank you Chris !

Comments on the following would be appreciated:

1) I directly provide dev-lang/ocaml but looking at man 5 ebuild
   I suspect this to be against policy.

      PROVIDE = "virtual/TARGET"
      This variable should only be used when a package provides a 
      virtual target.

   Quickly searching the tree for prior art made me think even harder. 

       grep -r --include="*.ebuild" "PROVIDE=" * | grep -v "virtual"
       [nothing]

   Is there any valid alternative but using the virtual and changing
   all depending ebuilds as well?

2) I added DEPEND="doc? app-doc/ocaml-docs" which installs the ocaml
   reference manual. I posted an ebuild in bug #119838.

3) In my hands ocaml-rebuild.sh works very nice.

Cheers

------- Comment #9 From Ingo Bormuth 2006-01-22 10:08:32 0000 -------
Created an attachment (id=77842) [details]
metaocaml-3.08_alpha027.ebuild

Minor changes:
 32: add version in PROVIDE="dev-lang/ocaml-${major}.${minor}"
 90: typo in einfo

I have an ebuild for cameleon wich depends on >=dev-lang/ocaml-3.08.
That dependency was broken because xx_alpha if interpreted to be
prior to xx so I provide 3.08 explecitely.

Nevertheless Im still not sure about providing a non virtual.
Even repoman complains:

  virtual.exists           1
    dev-lang/metaocaml/metaocaml-3.08_alpha027.ebuild: dev-lang/ocaml
  virtual.unavailable      1
    dev-lang/metaocaml/metaocaml-3.08_alpha027.ebuild:
                         ~x86(default-linux/x86/2005.1) dev-lang/ocaml
  virtual.versioned        1
   dev-lang/metaocaml/metaocaml-3.08_alpha027.ebuild: dev-lang/ocaml-3.08

------- Comment #10 From Ingo Bormuth 2006-01-30 13:23:26 0000 -------
How is the chance to get this into the tree ?
What are the fixes you need ?
Also upstream is interested in some feedback.

Thank you - Ingo

------- Comment #11 From Christopher Warrington (c45207) 2006-02-07 02:12:10 0000 -------
Ebuild works for version 309_alpha030.

ocaml-docs is actually ocaml-doc and it is in dev-ml. See the uploaded ebuild
which has this correction (and is backwards compat. with 308_alpha027).

------- Comment #12 From Christopher Warrington (c45207) 2006-02-07 02:13:40 0000 -------
Created an attachment (id=79093) [details]
Fixes ocaml-doc bug

------- Comment #13 From Ingo Bormuth 2006-03-18 10:31:26 0000 -------
Created an attachment (id=82474) [details]
ocaml-rebuild

I recently ran into trouble using the original ocaml-rebuild script.
It tried to reinstall ocaml after switching to metaocaml.
Here is a version optionally using equery.

------- Comment #14 From Ingo Bormuth 2006-03-18 10:32:47 0000 -------
Created an attachment (id=82475) [details]
metaocaml-3.09_alpha030.ebuild

------- Comment #15 From Ingo Bormuth 2006-03-22 03:48:31 0000 -------
Created an attachment (id=82856) [details]
ocaml-rebuild.sh

Forgot to remove -p in emerge calls ...

------- Comment #16 From Christopher Warrington (c45207) 2006-03-26 16:11:06 0000 -------
The rebuild script does not add the required = sign before atoms.

Also, one cannot use --byname and --force together.

------- Comment #17 From Christopher Warrington (c45207) 2006-03-26 18:38:01 0000 -------
Should
emake ${makeOptions} metaocamlopt
be added even though it only works on x86 machines? If so, what's the best way
to test for x86-ness?

------- Comment #18 From Ingo Bormuth 2006-03-26 23:48:05 0000 -------
Created an attachment (id=83214) [details]
ocaml-rebuild.sh

Thanks for your feedback. Could be that one was a slightly to quick shot.

Here is an updated version. What do you think?

------- Comment #19 From Christopher Warrington (c45207) 2006-03-27 01:03:43 0000 -------
Looks pretty good to me. Thanks for the quick turn around.

You thoughts on
make metaocamlopt?

------- Comment #20 From Ingo Bormuth 2006-03-27 02:16:32 0000 -------
Created an attachment (id=83218) [details]
metaocaml-3.09_alpha030.ebuild

> Should emake ${makeOptions} metaocamlopt 
> be added even though it only works on x86 machines?

I'd say yes, on x86. What about:

 73     # on supported architectures build metaocaml native code compiler
 74     if [[ ${ARCH} == 'x86' ]]; then emake ${makeOptions} metaocamlopt ||
die "emake opt failed"
 75     else einfo "Native code compilation (metaocamlopt) is not available
this platform." ; fi

------- Comment #21 From Christopher Warrington (c45207) 2006-03-27 07:07:27 0000 -------
Created an attachment (id=83233) [details]
ebuild for MetaOCaml 3.09-alpha030

Minor changes to Ingo's latest version; fixes the text in the metaocamlopt
einfo call.

------- Comment #22 From Ingo Bormuth 2006-03-27 07:43:12 0000 -------
(From update of attachment 83218 [details])
Thanks :)

------- Comment #23 From Ingo Bormuth 2006-03-27 08:19:12 0000 -------
Asked dev-list on weather to create virtual/ocaml:
http://thread.gmane.org/gmane.linux.gentoo.devel/36941

------- Comment #24 From Alexandre Buisse (RETIRED) 2006-03-27 14:04:08 0000 -------
Great. As soon as we reach a decision on that virtual problem, I'll test&commit
this ebuild.

Thanks a lot to all those who worked on this ebuild :)

------- Comment #25 From Christopher Warrington (c45207) 2006-04-23 22:54:07 0000 -------
Any progress?

------- Comment #26 From Christopher Warrington (c45207) 2006-09-10 10:12:36 0000 -------
This seems to have stalled over the summer. What still needs to be done before
this can make in into the tree?

------- Comment #27 From Alexis Ballier 2009-09-20 13:22:28 0000 -------
This seems dead, last release in 2006, based on ocaml 3.09.
Sorry this hasn't made it into the tree, feel free to reopen if I'm wrong by
burying it too quickly.

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