perl-Gtk3-WebKit-0.06-2.fc21 fails to build due to tests: + xvfb-run -a make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t (webkit.t:31674): Gdk-ERROR **: error: XDG_RUNTIME_DIR not set in the environment. t/webkit.t .. No subtests run Test Summary Report ------------------- t/webkit.t (Wstat: 133 Tests: 0 Failed: 0) Non-zero wait status: 133 Parse errors: No plan found in TAP output Files=1, Tests=0, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.15 cusr 0.02 csys = 0.20 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. Makefile:769: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 /usr/bin/xvfb-run: line 171: kill: (31662) - No such process This looks like a bug in Xvfb which does not start. The difference between last working and current build root is: Removed packages: crypto-policies-0.9 dbus-glib-0.100.2 gdb-7.7.1 geoclue2-2.1.8 hwdata-0.266 libblkid-2.24.2 libmount-2.24.2 libuuid-2.24.2 NetworkManager-glib-0.9.9.95 readline-6.2 tzdata-2014c util-linux-2.24.2 xorg-x11-server-common-1.15.99.902 xorg-x11-server-Xvfb-1.15.99.902 Added packages: crypto-policies-20140620 gdb-7.7.90.20140613 geoclue2-2.1.9 hwdata-0.267 libblkid-2.25 libmount-2.25 libsmartcols-2.25 libuuid-2.25 readline-6.3 tzdata-2014e util-linux-2.25 xorg-x11-server-common-1.15.99.903 xorg-x11-server-Xvfb-1.15.99.903
Interesting. To get rid of the XDG_RUNTIME_DIR error message i made up a new srpm and built it at http://koji.fedoraproject.org/koji/taskinfo?taskID=7070469 Extract from logs is below; Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.emj3cp + umask 022 + cd /builddir/build/BUILD + cd Gtk3-WebKit-0.06 + XDG_RUNTIME_DIR=/builddir + xvfb-run -a make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Unable to init server: Could not connect: Connection refused (webkit.t:19485): Gtk-WARNING **: cannot open display: :99 t/webkit.t .. Dubious, test returned 1 (wstat 256, 0x100) No subtests run Test Summary Report ------------------- t/webkit.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output Files=1, Tests=0, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.17 cusr 0.01 csys = 0.22 CPU) Result: FAIL Which looks like xvfb-run to launch a server. Will need to investigate this more.
A workaround is available here: http://svnweb.mageia.org/packages/cauldron/x11-server/current/SOURCES/fix-xvfb-crash.diff?revision=639902&view=markup it fixes Gtk2 build on Mageia which was broken (xvfb is segfaulting when a client connects but this is hidden by xvfb-run...)