midori tests requires an X display. However ctest inside portage does not provide access to one by default. Something equivalent to Xemake check must be done but with ctest. Reproducible: Always Steps to Reproduce: 1. startx 2. open an X terminal 3. FEATURES="test" emerge midori Actual Results: * ERROR: www-client/midori-0.5.11::gentoo failed (test phase): * Tests failed. When you file a bug, please attach the following file: * /var/tmp/portage/www-client/midori-0.5.11/work/midori-0.5.11_build/Testing/Temporary/LastTest.log * * Call stack: * ebuild.sh, line 93: Called src_test * environment, line 3975: Called cmake-utils_src_test * environment, line 902: Called _execute_optionally 'src_test' * environment, line 302: Called enable_cmake-utils_src_test * environment, line 1248: Called die Expected Results: midori updated on system
Created attachment 413014 [details] LastTest.log , as asked on die message
Created attachment 413016 [details] build.log from emerge
Created attachment 413018 [details] emerge --info output
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f71ed8b5f3a52309c0e8b4cc5531cb6937b1fc commit f9f71ed8b5f3a52309c0e8b4cc5531cb6937b1fc Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-05-14 08:53:04 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-05-14 09:18:03 +0000 www-client/midori: Run tests in virtualx env Closes: https://bugs.gentoo.org/561608 www-client/midori/midori-0.5.11-r2.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)