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

Bug 61194

Summary: dev-ml/findlib-1.0.4-r1: Doesn't create stublib
Product: Gentoo Linux Reporter: Bardur Arantsson <bugs-gentoo.org>
Component: New packagesAssignee: Matthieu Sozeau (RETIRED) <mattam>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bardur Arantsson 2004-08-21 13:13:47 UTC
Hi,

Like the subject says: The findlib-1.0.4-r1 ebuild doesn't actually create the stublib it puts into ld.conf. Therefore ocamlfind complains:

   ocamlfind: [WARNING] Cannot read directory /usr/lib/ocaml/site-packages/stublibs which is mentioed in ld.conf

until you install something else which uses the findlib eclass. Wouldn't it be more sensible to just have check_stublibs in findlib-1.0.4-r1.ebuild create the directory than have each invokation of the eclass try to create it?

Cheers,
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2004-08-21 13:21:34 UTC
I see i'm watched :) You're absolutely right, i just commited a new revision of the ebuild without bumping the revision as it's just a warning. 
The stublibs dir still needs to be created in the image for proper ocamlfind 'functionment'.