qemu fails in the test phase because it tries to run an i386 test executable, which doesn't exist. The x86_64 test executable doesn't exist either, so I'm not sure whether these test files are missing or aren't being built. >>> Test phase [test]: app-emulation/qemu-0.11.0 make -j12 -j1 test make -C tests test make[1]: Entering directory `/var/tmp/portage/app-emulation/qemu-0.11.0/work/qemu-0.11.0/tests' ../i386-linux-user/qemu-i386 test-i386 > test-i386.out make[1]: *** [test] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-emulation/qemu-0.11.0/work/qemu-0.11.0/tests' make: *** [test] Error 2 * ERROR: app-emulation/qemu-0.11.0 failed: * Make test failed. See above for details. $ cd /var/tmp/portage/app-emulation/qemu-0.11.0/work/qemu-0.11.0/tests $ ../i386-linux-user/qemu-i386 test-i386 Error -1 while loading test-i386 $ ls test-i386 ls: cannot access test-i386: No such file or directory The actual executable works fine, is there any way I can disable the tests?
I just tried compiling from the official distribution and I get the same error running 'make test' so it looks like it's not a problem with the ebuild. For the benefit of anyone else stumbling across this, I was able to disable the tests and successfully install qemu like this: FEATURES="-test" emerge qemu