Created attachment 379802 [details, diff] patch for ebuild r1 fails tests too. build.log: TEST: tests/acpi-test... (pid=9952) /i386/acpi/tcg: Could not allocate dynamic translator buffer ** ERROR:/var/package-manager/tmp/portage/app-emulation/qemu-2.0.0/work/qemu-2.0.0/tests/libqtest.c:185:qtest_init: assertion failed: (s->fd >= 0 && s->qmp_fd >= 0) FAIL GTester: last random seed: R02S378fe2e9de37fd0346c7a4559947075a (pid=9954) FAIL: tests/acpi-test dmesg: grsec: denied RWX mmap of <anonymous mapping> by /var/package-manager/tmp/portage/app-emulation/qemu-2.0.0/work/qemu-2.0.0/softmmu-build/i386-softmmu/qemu-system-i386[qemu-system-i38:9953] uid/euid:250/250 gid/egid:250/250, parent /var/package-manager/tmp/portage/app-emulation/qemu-2.0.0/work/qemu-2.0.0/softmmu-build/tests/acpi-test[acpi-test:9952] uid/euid:250/250 gid/egid:250/250 Attached patch solved problem for me (Totals: 60 Binaries, 704 Tests, 0 Failed, 704 Succeeded), but best solution would be to do pax marking only in src_compile.
should be all set now in the tree; thanks for the report! Commit message: Update PaX markings on system binaries before executing tests with them http://sources.gentoo.org/app-emulation/qemu/qemu-2.0.0-r1.ebuild?r1=1.5&r2=1.6 http://sources.gentoo.org/app-emulation/qemu/qemu-9999.ebuild?r1=1.75&r2=1.76