[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libvir] "make check" requires qemu



So perhaps libvirt should BuildRequire qemu, too?

When I ran "make check" on a system without qemu,
I got lots of failures:

    ...
    QEMU XML-2-ARGV Misc ACPI                          ... FAILED
    libvir: QEMU error : Cannot find QEMU binary /usr/bin/qemu: No such file or directory
    QEMU XML-2-ARGV Misc No Reboot                     ... FAILED
    libvir: QEMU error : Cannot find QEMU binary /usr/bin/qemu: No such file or directory
    QEMU XML-2-ARGV Net User                           ... FAILED
    FAIL: qemuxml2argvtest

Here's a patch:

2007-10-17  Jim Meyering  <meyering redhat com>

	* libvirt.spec.in (BuildRequires): Add "qemu".

Index: libvirt.spec.in
===================================================================
RCS file: /data/cvs/libvirt/libvirt.spec.in,v
retrieving revision 1.65
diff -u -p -r1.65 libvirt.spec.in
--- libvirt.spec.in	12 Oct 2007 19:54:15 -0000	1.65
+++ libvirt.spec.in	17 Oct 2007 10:11:33 -0000
@@ -25,6 +25,7 @@ BuildRequires: gnutls-devel
 BuildRequires: avahi-devel
 BuildRequires: dnsmasq
 BuildRequires: bridge-utils
+BuildRequires: qemu
 Obsoletes: libvir
 ExclusiveArch: i386 x86_64 ia64


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]