[Libguestfs] [PATCH] Fix out-of-tree builds of OCaml components

Richard W.M. Jones rjones at redhat.com
Tue Apr 10 11:54:50 UTC 2018


This breaks in-tree builds because it generates some strange-looking
dependencies, eg:

GObject.cmo : utils.cmi types.cmi structs.cmi .common/mlstdutils/std_utils.cmi pr.cmi events.cmi docstrings.cmi actions.cmi GObject.cmi GObject.ml

so you get errors like:

make[2]: *** No rule to make target '.common/mlstdutils/std_utils.cmi', needed by 'utils.cmo'.  Stop.


I tried to poke the ocaml-deps.sh.in script to fix this but I couldn't
work out where those dots are coming from ...

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list