Bug#783919: news on ocaml-llvm bindings ?

Pierre Chifflier pollux at debian.org
Mon Jan 18 08:54:02 UTC 2016


On Sat, Jan 16, 2016 at 01:56:36PM +0100, Sylvestre Ledru wrote:
> Le 11/01/2016 20:56, Pierre Chifflier a écrit :
> > tags 783919 +patch
> > thanks
> >
> > On Thu, Nov 26, 2015 at 01:33:19PM +0100, Sylvestre Ledru wrote:
> >> I will be happy to apply a patch if you have any.
> >>
> > Hi Sylvestre,
> >
> > Here is a patch for llvm-toolchain-3.6. It is now possible to build it
> > with the bindings enabled, since ocaml-ctypes >= 0.4 has transitioned
> > [1].
> >
> I tried to build it for an upload but it failed with:
> 
> debian/rules override_dh_install
> make[1]: Entering directory '/tmp/buildd/llvm-toolchain-3.6-3.6.2'
> dh_install --fail-missing
> dh_install: libllvm-3.6-ocaml-dev missing files: /usr/lib/ocaml/llvm-3.6
> dh_install: missing files, aborting
> debian/rules:368: recipe for target 'override_dh_install' failed
> make[1]: *** [override_dh_install] Error 2
> 
> Does it ring a bell?
> 
> Thanks
> S
> 

Hi Sylvestre,

I'm not sure of the reason, I have built in a clean chroot. This might
be caused by something in the build environment.

Basically this means that the bindings were not built. You should check
(in order):
- that you are using the configure version, not the cmake one
- that you ocaml packages are up to date (especially ocaml-ctypes, we
  might want to add a versioned build dependency)
- that the patch was applied, especially the debian/rules part (which
  removes the --disable-bindings and adds --with-ocaml-libdir=...)
- that ocaml and libs were correctly detected (this is written at the
  beginning of config.log)

Hope that helps.

Cheers,
Pierre



More information about the Pkg-llvm-team mailing list