[Libguestfs] How to build virt-v2v after the project was separated

Nir Soffer nsoffer at redhat.com
Mon Nov 18 19:41:30 UTC 2019


On Mon, Nov 18, 2019 at 7:11 PM Nir Soffer <nsoffer at redhat.com> wrote:
>
> On Mon, Nov 18, 2019 at 12:15 PM Richard W.M. Jones <rjones at redhat.com> wrote:
> >
> >
> > I've pushed a few commits which fix various aspects of the build and
> > may improve things for you:
>
> With current master building virt-v2v succeeds, thanks!
>
> I think we still have an issue with new checkout, having to delete common/
> and update the submodule.

Tried this again with clean checkout.

Complete instructions for building virt-v2v in the first time:

git clone https://github.com/libguestfs/virt-v2v.git
cd virt-v2v
git submodule init
git submodule update
./autogen.sh
make
rm po-docs/podfiles
make -C po-docs update-po

./run virt-v2v --version
virt-v2v 1.41.7

Looks like autogen.sh and bootstrap need update for common submodule, since
they check and handle only gnulib status.

> > commit d5ce9c91469d3d384aa32735453a1f8a20d4ec25
> > Author: Richard W.M. Jones <rjones at redhat.com>
> > Date:   Mon Nov 18 10:11:57 2019 +0000
> >
> >     tests: Add TESTS_ENVIRONMENT in a couple of makefiles.
> >
> >     We were accidentally testing the installed virt-v2v rather than the
> >     locally built one.
> >
> > commit fffa7732c5d4899217c36985f1ef753d2469f1cd
> > Author: Richard W.M. Jones <rjones at redhat.com>
> > Date:   Mon Nov 18 09:46:49 2019 +0000
> >
> >     m4: Relax dependency on libguestfs versions.
> >
> >     1.41 was only required to run a single test, but in all other respects
> >     1.40 works fine.  Relax the dependency and fix the test instead.
> >
> >     Thanks: Nir Soffer.
> >
> > commit 8cab32c0eb4b455d7f0700ef5966eed3a23b6327
> > Author: Richard W.M. Jones <rjones at redhat.com>
> > Date:   Mon Nov 18 09:45:05 2019 +0000
> >
> >     m4: Remove daemon checks and dependency on hivex.
> >
> >     Now that we've split out virt-v2v, there's no daemon, and hivex is not
> >     required (since it is only used through the guestfs API).
> >
> > commit 48afc3b004e44feaf3844c5eeb96e2a1aadbeb03
> > Author: Richard W.M. Jones <rjones at redhat.com>
> > Date:   Mon Nov 18 09:44:12 2019 +0000
> >
> >     m4: Check that ocaml 'guestfs' module is available.
> >
> >     It is required to compile virt-v2v after we split out libguestfs and
> >     virt-v2v.
> >
> >     Thanks: Nir Soffer.
> >
> > 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