After the upgrade from 1.20.9 to .10 my libguestfs package fails to build because qemu-img is not installed. Since qemu is not a hard requirement to build a 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. Olaf
Richard W.M. Jones
2013-Jul-31 14:54 UTC
Re: [Libguestfs] new buildtime dependency qemu-img
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
Seemingly Similar Threads
- [PATCH] tests: change noinst to check
- [PATCH 1/2] ocaml: Only build the tests when running 'make check'.
- enable build for ocaml bytecode
- [PATCH] tools: specify datadir for qemu-xen build to fix firmware loading
- [PATCH] qemu-traditional: update configure check for -lrt changes in glibc 2.17