Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63560

Summary: Camomile should inherit findlib.eclass
Product: Gentoo Linux Reporter: Ingo Bormuth <ibormuth>
Component: [OLD] DevelopmentAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED FIXED    
Severity: normal CC: mattam
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add inherit findlib

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