Description of problem: Build fails Version-Release number of selected component (if applicable): 1.2.2 How reproducible: Always Steps to Reproduce: 1. ./configure --without-qemu 2. make Actual results: make[3]: *** No rule to make target `test_libvirt_lockd.aug', needed by `all-am'. Stop. Expected results: successful build Additional info: I am the maintainer of libvirt in the MacPorts package management system, trying to update our package from 1.2.1 (which builds fine).
In fact, I got an earlier failure with './configure --without-qemu; make distcheck': make[4]: Entering directory `/home/eblake/libvirt-tmp2/libvirt-1.2.3/_build/docs' GEN ../../docs/devhelp/index.html I/O error : Permission denied I/O error : Permission denied runtime error: file ../../docs/devhelp/devhelp.xsl line 43 element document xsltDocumentElem: unable to save to ../../docs/devhelp/libvirt-libvirt.html So we definitely have some problems where configuring without qemu breaks the tarball. I'll try and fix them before 1.2.3, but am not sure how long it will take me to get to root cause.
Possible fix: https://www.redhat.com/archives/libvir-list/2014-March/msg00330.html
Thanks for the suggestion. That patch allows the build to succeed, but installation now fails: /opt/local/bin/gmkdir -p '/opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_libvirt/libvirt/work/destroot/opt/local/share/augeas/lenses/tests' /usr/bin/install -c -m 644 ./test_libvirt_lockd.aug test_virtlockd.aug '/opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_libvirt/libvirt/work/destroot/opt/local/share/augeas/lenses/tests' install: ./test_libvirt_lockd.aug: No such file or directory
I think the updated version of this patch should work now: http://svnweb.freebsd.org/ports/head/devel/libvirt/files/patch-src__Makefile.in?revision=347429&view=co
Yes it does! Thanks.
I've just pushed the patch upstream: commit d148a3e751f1990f692d4e2df87755343437d802 Author: Roman Bogorodskiy <bogorodskiy> AuthorDate: Sat Mar 8 20:51:45 2014 +0400 Commit: Michal Privoznik <mprivozn> CommitDate: Fri Mar 14 14:49:46 2014 +0100 Fix build with qemu driver disabled Do not include test_libvirt_lockd.aug when configured without qemu driver. https://bugzilla.redhat.com/show_bug.cgi?id=1071777 v1.2.2-179-gd148a3e