Bug 436785 - ocaml-perl4caml need to fix '%check' section of the spec file
Summary: ocaml-perl4caml need to fix '%check' section of the spec file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-perl4caml
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL: http://www.annexia.org/tmp/ocaml/ocam...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-10 14:17 UTC by Richard W.M. Jones
Modified: 2008-03-12 10:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-12 10:46:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2008-03-10 14:17:09 UTC
%check section fails if ocaml-perl4caml has been installed.
The explanation for this is in the spec file:

  %check
  # This fails if perl4caml is installed.  The bytecode programs
  # load dllperl4caml.so from OCaml's stublibs, instead of the
  # one we just built.  Since dllperl4caml.so in stublibs
  # (wrongly) lacks an rpath for libperl.so, it won't find
  # libperl.so in the obscure directory where it resides.
  # Monkeying around with LD_LIBRARY_PATH doesn't help because
  # ocamlrun uses $libdir/ocaml/ld.conf to find directories
  # containing the stublibs.
  make test ||:

It should be possible to fix this by setting an environment
variable such as CAML_LD_LIBRARY_PATH.  See section 10.3
of the manual:

  http://caml.inria.fr/pub/docs/manual-ocaml/manual024.html


Note You need to log in before you can comment on or make changes to this bug.