[Pkg-xen-devel] Bug#695176: libxen-ocaml-dev ocaml libraries contain build path to .so libraries rather than installed path
Jon Ludlam
jonathan.ludlam at eu.citrix.com
Tue Dec 4 22:58:48 UTC 2012
Package: libxen-ocaml-dev
Version: 4.2.0-1
Severity: important
Tags: patch
Dear Maintainer,
The ocaml libraries are currently unusable as they contain the build path of .s libraries.
For example:
root at myvm:~# cat test.ml
let _ =
let v = Xenctrl.with_intf (fun h -> Xenctrl.version h) in
()
root at myvm:~# ocamlfind ocamlopt -package xenctrl test.ml -linkpkg -o test
File "test.ml", line 2, characters 5-6:
Warning 26: unused variable v.
gcc: error: /build/buildd-xen_4.2.0-1-i386-RcRn8G/xen-4.2.0/debian/build/build-utils_i386/tools/ocaml/libs/xc/../../../../tools/libxc/libxenctrl.so: No such file or directory
gcc: error: /build/buildd-xen_4.2.0-1-i386-RcRn8G/xen-4.2.0/debian/build/build-utils_i386/tools/ocaml/libs/xc/../../../../tools/libxc/libxenguest.so: No such file or directory
File "caml_startup", line 1, characters 0-1:
Error: Error during linking
The hopefully attached patch should fix it - it's intended to replace the existing tools-ocaml-fix-build.diff
Thanks,
Jon
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libxen-ocaml-dev depends on:
ii libxen-dev 4.2.0-1
ii libxen-ocaml 4.2.0-1
ii ocaml-nox [ocaml-nox-3.12.1] 3.12.1-4
libxen-ocaml-dev recommends no packages.
libxen-ocaml-dev suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tools-ocaml-fix-build.diff
Type: text/x-diff
Size: 2440 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20121204/e9c49799/attachment.diff>
More information about the Pkg-xen-devel
mailing list