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