Laney suggested setting XDG_RUNTIME_DIR in debian/rules as other packages do that (e.g. glib2.0). That fixes the problem for me. Still no idea why it breaks for me and not others, but we definitely should set XDG_RUNTIME_DIR as the Wayland backend requires it and tests might use the Wayland backend.
** Changed in: gtk+3.0 (Ubuntu) Status: Incomplete => Fix Committed ** Changed in: gtk+3.0 (Ubuntu) Assignee: Lars Uebernickel (larsu) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu. https://bugs.launchpad.net/bugs/1342398 Title: display tests fail Status in “gtk+3.0” package in Ubuntu: Fix Committed Bug description: When building from lp:~ubuntu-desktop/gtk/ubuntugtk3 the following tests fail: make[4]: Entering directory '/home/bob/bzr/ubuntu/build-area/gtk+3.0-3.12.2/debian/build/shared/testsuite/gdk' ... TEST: display... (pid=20429) /display/unset-display: ** ERROR:/home/bob/bzr/ubuntu/build-area/gtk+3.0-3.12.2/./testsuite/gdk/display.c:29:test_unset_display: child process (/display/unset-display/subprocess/1 [20448]) failed unexpectedly FAIL GTester: last random seed: R02Scd205e936736e45c81367fd045319a1b (pid=20451) /display/bad-display: ** ERROR:/home/bob/bzr/ubuntu/build-area/gtk+3.0-3.12.2/./testsuite/gdk/display.c:60:test_bad_display: child process (/display/bad-display/subprocess/1 [20465]) failed unexpectedly FAIL GTester: last random seed: R02Sc24a7df014203697a2a5cae40b501d27 (pid=20468) FAIL: display However when I change to the build directory and run "make check" they pass. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1342398/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp