GNOME Bugzilla – Bug 743158
Using GDK backend by default causes g-ir-scanner and gtk-doc error when X is not running
Last modified: 2015-01-20 18:52:03 UTC
This commit https://git.gnome.org/browse/clutter/commit/?id=60dbeb9425f51fc602ba2fe89b2a968ef4b527ed causes build failure for clutter-gst-2.0, clutter-gst-3.0, totem when running g-ir-scanner or gtk-doc. Building clutter-gst-3.0 shows: GEN ClutterGst-3.0.gir Unable to init server: Could not connect: Abstract UNIX domain socket addresses not supported on this system (<unknown>:37104): GLib-CRITICAL **: g_propagate_error: assertion 'src != NULL' failed Building totem shows: DOC Scanning header files DOC Introspecting gobjects Unable to init server: Could not connect: Abstract UNIX domain socket addresses not supported on this system (<unknown>:95521): GLib-CRITICAL **: g_propagate_error: assertion 'src != NULL' failed It should be the same problem as described in https://bugzilla.gnome.org/show_bug.cgi?id=742279#c11. The backtrace is available at https://bugzilla.gnome.org/show_bug.cgi?id=742279#c19.
The message is changed now: Building clutter-gst-3.0 shows: GEN ClutterGst-2.0.gir /home/lantw44/gnome/source/clutter-gst/clutter-gst/tmp-introspectoYgOqK/ClutterGst-2.0.c:587:3: warning: implicit declaration of function 'clutter_gst_init' is invalid in C99 [-Wimplicit-function-declaration] clutter_gst_init(0,NULL); ^ 1 warning generated. Unable to init server: Could not connect to 127.0.0.1: Connection refused (<unknown>:92635): GLib-CRITICAL **: g_propagate_error: assertion 'src != NULL' failed
this has nothing to do with Clutter: you're building GDK with the Broadway backend enabled, and that does not work on FreeBSD. something inside Clutter-GStreamer is initializing Clutter during the introspection build, which requires a Display connection, which ends up inside the GDK Broadway backend. Clutter in and of itself does not need a Display connection when building or generating introspection data.