Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561608 - www-client/midori-0.5.11 fails test: "cannot open display" error
Summary: www-client/midori-0.5.11 fails test: "cannot open display" error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2015-09-26 22:38 UTC by René Rhéaume
Modified: 2018-05-14 09:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
LastTest.log , as asked on die message (LastTest.log,13.39 KB, text/plain)
2015-09-26 22:40 UTC, René Rhéaume
Details
build.log from emerge (build.log,107.68 KB, text/plain)
2015-09-26 22:41 UTC, René Rhéaume
Details
emerge --info output (emerge-info.txt,5.92 KB, text/plain)
2015-09-26 22:42 UTC, René Rhéaume
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2015-09-26 22:38:25 UTC
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
Comment 1 René Rhéaume 2015-09-26 22:40:44 UTC
Created attachment 413014 [details]
LastTest.log , as asked on die message
Comment 2 René Rhéaume 2015-09-26 22:41:38 UTC
Created attachment 413016 [details]
build.log from emerge
Comment 3 René Rhéaume 2015-09-26 22:42:09 UTC
Created attachment 413018 [details]
emerge --info output
Comment 4 Larry the Git Cow gentoo-dev 2018-05-14 09:18:13 UTC
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(-)