[Libguestfs] new buildtime dependency qemu-img
Richard W.M. Jones
rjones at redhat.com
Wed Jul 31 14:54:14 UTC 2013
On Tue, Jul 30, 2013 at 09:40:27PM +0200, Olaf Hering wrote:
>
> After the upgrade from 1.20.9 to .10 my libguestfs package fails to
> build because qemu-img is not installed.
qemu-img is listed as 'R' (required) in the README file. The reason
it's needed is because we're now building some qcow2 test images in
tests/data.
> Since qemu is not a hard requirement to build a package [...]
In Fedora we split qemu-img off into a separate subpackage that
doesn't depend on the main qemu package.
> I wonder how to fix the tests/data rules so that the targets which
> call qemu-img depend on "make test" or whatever requires the
> generated files.
I believe it may work if you change noinst_DATA -> check_DATA.
I don't think we use the test files outside the tests.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
More information about the Libguestfs
mailing list