On Mon, Nov 18, 2019 at 11:40 AM Richard W.M. Jones <rjones@redhat.com> wrote:
On Mon, Nov 18, 2019 at 03:03:10AM +0200, Nir Soffer wrote:
$ git submodule update fatal: destination path '/home/nsoffer/src/virt-v2v/common' already exists and is not an empty directory. fatal: clone of 'https://github.com/libguestfs/libguestfs-common' into submodule path '/home/nsoffer/src/virt-v2v/common' failed Failed to clone 'common'. Retry scheduled fatal: destination path '/home/nsoffer/src/virt-v2v/common' already exists and is not an empty directory. fatal: clone of 'https://github.com/libguestfs/libguestfs-common' into submodule path '/home/nsoffer/src/virt-v2v/common' failed Failed to clone 'common' a second time, aborting
So I tried:
rm -rf common/*
Sounds like files from the old directory were still around after a git pull. Removing common/ was the right thing to do.
I tried with new checkout: rm -rf virt-v2v git clone ... So this must be another issue.
...
$ ./configure
Works, but now make fail with:
$ make -j8 make all-recursive make[1]: Entering directory '/home/nsoffer/src/virt-v2v' Making all in common/mlstdutils make[2]: Entering directory '/home/nsoffer/src/virt-v2v/common/mlstdutils' OCAMLCMI guestfs_config.cmi OCAMLCMI stringMap.cmi CC libmlstdutils_a-dummy.o OCAMLCMI stringSet.cmi OCAMLCMI std_utils.cmi ocamlfind: Package `guestfs' not found ocamlfind: Package `guestfs' not found ocamlfind: Package `guestfs' not found ocamlfind: Package `guestfs' not found
This happens because the Fedora package ocaml-libguestfs-devel is not installed. ./configure should have spotting this was missing, so this is a bug in virt-v2v.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org