Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 310695

Summary: [FEATURES="test", gnome-overlay] net-libs/webkit-gtk-1.1.90 fails without running X
Product: Gentoo Linux Reporter: Xake <kanelxake>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Xake 2010-03-22 13:09:15 UTC
If i run this locally it works (seems like it picks up my running X-display), but if I ssh into the box and try to emerge webkit-gtk (works if I inherit virtualx and add "src_test() { Xemake check || die }"):


>>> Test phase [check]: net-libs/webkit-gtk-1.1.90-r1
make -j15 -l10 -j1 check
make  check-am
make[1]: Entering directory `/var/tmp/portage/net-libs/webkit-gtk-1.1.90-r1/work/webkit-1.1.90'
/bin/mkdir -p ./.deps/DerivedSources
make  check-local
make[2]: Entering directory `/var/tmp/portage/net-libs/webkit-gtk-1.1.90-r1/work/webkit-1.1.90'
gtester --verbose Programs/unittests/testhttpbackend Programs/unittests/testloading Programs/unittests/testmimehandling Programs/unittests/testnetworkrequest Programs/unittests/testnetworkresponse Programs/unittests/testwebframe Programs/unittests/testwebbackforwardlist Programs/unittests/testwebhistoryitem Programs/unittests/testwindow Programs/unittests/testdownload Programs/unittests/testatk Programs/unittests/testhittestresult Programs/unittests/testwebsettings Programs/unittests/testwebresource Programs/unittests/testwebdatasource Programs/unittests/testwebview Programs/unittests/testkeyevents;
TEST: Programs/unittests/testhttpbackend... (pid=1431)

Gtk-WARNING **: cannot open display:
aborting...
FAIL: Programs/unittests/testhttpbackend
make[2]: *** [test] Avslutad
make[2]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.1.90-r1/work/webkit-1.1.90'
make[1]: *** [check-am] Fel 2
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.1.90-r1/work/webkit-1.1.90'
make: *** [check] Fel 2
Comment 1 Gilles Dartiguelongue gentoo-dev 2010-03-24 09:32:28 UTC
looks like overlay didn't merge changes from the main tree.
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-03-24 17:40:34 UTC
I've synced the ebuild locally, and unset DISPLAY too, so that Xvfb gets forced. Testing the changes before pushing (will take a few hours, so don't clobber me ;)
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-03-24 21:11:20 UTC
Pushed to overlay.