Summary: | dev-ml/pcre-ocaml.ebuild: new version (4.31.0) + bugfix | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bardur Arantsson <bugs-gentoo.org> |
Component: | New packages | Assignee: | George Shapovalov (RETIRED) <george> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.4_rc1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 13702 | ||
Bug Blocks: | 15901, 15903 | ||
Attachments: |
pcre-ocaml-4.31.0-r1.ebuild
pcre-ocaml-4.33.0.ebuild |
Description
Bardur Arantsson
2002-12-17 11:08:40 UTC
Please do not commit this to portage yet, as I'm working on some new packages and reworking this one to use findlib (which I will also add a bug on soon). The new version (release) of this package should be done Very Soon Now(tm)... :) Hi Bardir. Okie, will wait for an update ;). George Created attachment 8001 [details]
pcre-ocaml-4.31.0-r1.ebuild
Right... since findlib has now been committed to the portage tree, here's the
updated pcre-ocaml which installs into the findlib tree (more package to
follow, but I'll create new "bugs" for them :)).
Changes since last version:
- Sets OCAML_LIB_INSTALL to avoid installing into /usr/lib/ocaml/contrib (and
subsequently moving into the proper directory).
- Installs into findlib hierarchy now.
Hi Bardur. Thanks for an update! Looks like 4.31.0 is no longer awailable. I tried 4.33.0 and: 1. I had to remove "opt" target (make all opt... in src_compile) as it apparently is not present. This makes the package compile, however: 2. make install causes sandbox violation. Does not look like Makefiles honor OCAML_LIB_INSTALL any longer - I could not grep this variable within source. Could you please check what's happening with this? George Created attachment 8460 [details] pcre-ocaml-4.33.0.ebuild > 1. I had to remove "opt" target (make all opt... in src_compile) as it apparently is > not present. This makes the package compile, however: No problems with that, doing "make all" now builds both the byte-code and the native versions. > 2. make install causes sandbox violation. Does not look like Makefiles honor > OCAML_LIB_INSTALL any longer - I could not grep this variable within source. > Could you please check what's happening with this? It seems the author has changed to using ocamlfind (yay!) for installing and ocamlfind looks for the variable OCAMLFIND_DESTDIR for an override for the install location. Changing the OCAML_LIB_INSTALL to OCAMLFIND_DESTDIR made it work (almost!). Since ocamlfind seems to like modifying /usr/lib/ocaml/ld.conf it is also necessary to point it to a dummy ld.conf file. Because the ld.conf is nonexistant, ocamlfind simply ignores it an just gives a warning. As far as I can tell, this is quite harmless. P.S. Could you please arrange for vers. 4.33.0 to be mirrored on ibiblio.org? I haven't checked, but I think the license would permit this. If not, it would probably be a good idea to at least contact the author and ask him to leave vers. 4.33.0 semi-permanently on his site. Hi Bardur. Thanks for an update! This works now (still, please test :)). I committed the ebuild and mirrored the source. It is LGPL from what I see, so should be no problem in that respect. George Works for me. Hi Bardur. Thanks for testing! The ebuild is already unmasked, closing the bug.. George Reclosing the bug |