On Sun, Nov 17, 2019 at 6:22 PM Nir Soffer <nsoffer(a)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