Created attachment 319580 [details] full build log Description of problem: libvirt fails to compile when --without-libvirtd or --without-qemu is selected, because the tests try to compile qemu-specific files unconditionally Version-Release number of selected component (if applicable): 0.4.6 How reproducible: Always Steps to Reproduce: 1. ./configure --without-libvirtd 2. make Actual results: in tests: gcc -g -O2 -o qemuxml2argvtest qemuxml2argvtest.o testutilsqemu.o testutils.o -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables ../src/.libs/libvirt_test.a /usr/lib64/libxml2.so -lm /usr/lib64/libgnutls.so -L/usr/lib64 /usr/lib64/libtasn1.so -lz /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /usr/lib64/libsasl2.so -ldl -lcrypt -lresolv ../gnulib/lib/.libs/libgnu.a -lxenstore -lpthread qemuxml2argvtest.o: In function `testCompareXMLToArgvFiles': /var/tmp/portage/app-emulation/libvirt-0.4.6/distdir/libvirt-0.4.6/tests/qemuxml2argvtest.c:50: undefined reference to `qemudBuildCommandLine' collect2: ld returned 1 exit status
This is now fixed in latest releases. We also have an automated build which runs with the libvirtd and/or qemu options disabled, so we'll detect this problem if it ever recurrs.