[Libguestfs] [PATCH] v2v: rhv-upload-plugin: Defer imageio connection

Richard W.M. Jones rjones at redhat.com
Wed Jan 20 10:30:44 UTC 2021


On Wed, Jan 20, 2021 at 01:44:47AM +0200, Nir Soffer wrote:
> I cannot test this change, since building virt-v2v on Fedora 32 fails.
> 
> I tried:
> 
> git clean -dxf
> ./autogen.sh
> make
> 
> Make fails with:
> 
> ...
>   OCAMLCMI cmdline.cmi
>   OCAMLOPT cmdline.cmx
>   OCAMLCMI v2v.cmi
>   OCAMLOPT v2v.cmx
> File "v2v.ml", line 94, characters 20-48:
> 94 |   g#set_smp (min 8 (Sysconf.nr_processors_online ()));
>                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Error: Unbound module Sysconf
> Hint: Did you mean Scanf?

I think this means the common/ submodule isn't updated, so you have
to do:

git submodule update

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




More information about the Libguestfs mailing list