Open solsticedhiver opened 1 year ago
We've not built virt-v2v on OCaml 5 yet, but the above error should be easy to fix, simply replace every instance of Pervasives.
with Stdlib.
in the source code.
This seems to do it, but I bumped into another archlinux issue about
Error: /usr/lib/ocaml/guestfs/guestfs.cmi
is not a compiled interface for this version of OCaml.```
That'll be because the libguestfs package was built with OCaml != 5.
That'll be because the libguestfs package was built with OCaml != 5.
This was indeed not a upstream issue. Fixed in Arch Linux [extra] repo:
I don't understand why you are saying that. Because your fix includes a patch called ocaml5.patch to help build against ocaml 5.....
I don't understand why you are saying that. Because your fix includes a patch called ocaml5.patch to help build against ocaml 5..
I see:
Error: /usr/lib/ocaml/guestfs/guestfs.cmi is not a compiled interface for this version of OCaml.```
Sorry, I was only referring to this ^^^ issue:
from what I understand the build fails because of ocaml 5.0. using ocaml-libvirt-git, the build (either 2.2.0 or 2.3.4 or git) fails with: