Looks like libguestfs build is broken, or not documented properly. I tried (based on http://libguestfs.org/guestfs-building.1.html): git clean -dxf ./autogen.sh autoreconf failes with: autoreconf: running: automake --add-missing --copy --no-force configure.ac:38: installing 'build-aux/missing' configure.ac:221: error: required file 'common/mlcustomize/Makefile.in' not found configure.ac:221: error: required file 'common/mllibvirt/Makefile.in' not found configure.ac:221: error: required file 'common/mlstdutils/guestfs_config.ml.in' not found configure.ac:221: error: required file 'common/mlv2v/Makefile.in' not found Makefile.am:161: error: required directory ./common/mlcustomize does not exist Makefile.am:161: error: required directory ./common/mlv2v does not exist Makefile.am:169: error: required directory ./common/mllibvirt does not exist parallel-tests: installing 'build-aux/test-driver' align/Makefile.am: installing 'build-aux/depcomp' configure.ac: installing 'build-aux/ylwrap' autoreconf: automake failed with exit status: 1 But the autogen.sh continue, ignoring the failure... Finally it fails with: config.status: error: cannot find input file: `Makefile.in' I tried to run it again: ./autogen.sh the autoreconf errors show again, but this time it succeeds, but: $ make -j8 cfg.mk:139: *** gnulib update required; run ./autogen.sh first. Stop. Running ./autoge.sh again does not help. I can build tag v1.40.2, but it is missing some patches in virt-v2v that I need. Thanks, Nir
On Sun, Nov 17, 2019 at 6:22 PM Nir Soffer <nsoffer@redhat.com> wrote:> > Looks like libguestfs build is broken, or not documented properly. > > I tried (based on http://libguestfs.org/guestfs-building.1.html): > > git clean -dxf > ./autogen.sh > > autoreconf failes with: > > autoreconf: running: automake --add-missing --copy --no-force > configure.ac:38: installing 'build-aux/missing' > configure.ac:221: error: required file > 'common/mlcustomize/Makefile.in' not found > configure.ac:221: error: required file 'common/mllibvirt/Makefile.in' not found > configure.ac:221: error: required file > 'common/mlstdutils/guestfs_config.ml.in' not found > configure.ac:221: error: required file 'common/mlv2v/Makefile.in' not found > Makefile.am:161: error: required directory ./common/mlcustomize does not exist > Makefile.am:161: error: required directory ./common/mlv2v does not exist > Makefile.am:169: error: required directory ./common/mllibvirt does not exist > parallel-tests: installing 'build-aux/test-driver' > align/Makefile.am: installing 'build-aux/depcomp' > configure.ac: installing 'build-aux/ylwrap' > autoreconf: automake failed with exit status: 1 > > But the autogen.sh continue, ignoring the failure... > > Finally it fails with: > > config.status: error: cannot find input file: `Makefile.in' > > I tried to run it again: > > ./autogen.sh > > the autoreconf errors show again, but this time it succeeds, but: > > $ make -j8 > cfg.mk:139: *** gnulib update required; run ./autogen.sh first. Stop. > > Running ./autoge.sh again does not help. > > I can build tag v1.40.2, but it is missing some patches in virt-v2v that I need.I found that v1.40.5 has all the patches I need, and I can build it on Fedora 30, so I have a workaround for now.> > Thanks, > Nir
On Sun, Nov 17, 2019 at 06:22:20PM +0200, Nir Soffer wrote:> Looks like libguestfs build is broken, or not documented properly. > > I tried (based on http://libguestfs.org/guestfs-building.1.html):Quite possibly, it's early days. One thing you will definitely need to do is: git submodule init 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 virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
On Sun, Nov 17, 2019 at 7:05 PM Richard W.M. Jones <rjones@redhat.com> wrote:> > On Sun, Nov 17, 2019 at 06:22:20PM +0200, Nir Soffer wrote: > > Looks like libguestfs build is broken, or not documented properly. > > > > I tried (based on http://libguestfs.org/guestfs-building.1.html): > > Quite possibly, it's early days. One thing you will definitely need > to do is: > > git submodule init > git submodule updateI think I tried this based on your comment from last week, but it did not help. I will try it again with a clean checkout.
On 11/17/19 11:04 AM, Richard W.M. Jones wrote:> On Sun, Nov 17, 2019 at 06:22:20PM +0200, Nir Soffer wrote: >> Looks like libguestfs build is broken, or not documented properly. >> >> I tried (based on http://libguestfs.org/guestfs-building.1.html): > > Quite possibly, it's early days. One thing you will definitely need > to do is: > > git submodule init > git submodule updateShould ./autogen.sh take on this role automatically? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org