Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63560 - Camomile should inherit findlib.eclass
Summary: Camomile should inherit findlib.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-10 09:04 UTC by Ingo Bormuth
Modified: 2004-09-10 12:57 UTC (History)
1 user (show)

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


Attachments
add inherit findlib (camomile-0.5.3-r1.ebuild.diff,455 bytes, patch)
2004-09-10 09:06 UTC, Ingo Bormuth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Bormuth 2004-09-10 09:04:47 UTC
See attached patch...

At the moment camomile compiles but silently does not install:

>>> Install camomile-0.5.3 into /var/tmp/portage/camomile-0.5.3/image/ category dev-ml
/usr/sbin/ebuild.sh: line 23: findlib_src_install: command not found
man:
prepallstrip:
strip: 
>>> Completed installing into /var/tmp/portage/camomile-0.5.3/image/


BTW: Shouldn't portage always complain about any "command not found" error in ebuilds? Wouln't that reduce the probability of inconspicuous bugs? I think it's not hard to implement just a wrapper for command calls ...
Comment 1 Ingo Bormuth 2004-09-10 09:06:16 UTC
Created attachment 39324 [details, diff]
add inherit findlib
Comment 2 Ingo Bormuth 2004-09-10 09:20:54 UTC
Hmmm...

Now camomile installs fine ... but "ocamlc -package camomile ..." does not work. Somehow the modules are not found although they exist in "/usr/lib/ocaml/site-packages/camomile/":




ocamlfind ocamlopt -package camomile -linkpkg unix.cmxa threads.cmxa -thread                -o mlEfil node.cmx test.cmx

No implementations provided for the following modules:
  UReStr referenced from node.cmx
  URe referenced from node.cmx
  UTF8 referenced from node.cmx
Comment 3 Matthieu Sozeau (RETIRED) gentoo-dev 2004-09-10 11:03:11 UTC
Most likely the second problem comes from camomile not supporting parallel builds, both errors are now fixed in CVS (-r1 in case any broken install has gone undetected). I also added 0.6.0 (just released) as unstable.
Comment 4 Ingo Bormuth 2004-09-10 12:57:08 UTC
Even without threads or as bytecode it doesn't work. Could it be a findlib problem?


$ ocamlfind ocamlc -package camomile -linkpkg -o mlEfil node.cmo test.cmo

Error on dynamically loaded library: dllcamomile.so: cannot open shared object file: No such file or directory