After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 743158 - Using GDK backend by default causes g-ir-scanner and gtk-doc error when X is not running
Using GDK backend by default causes g-ir-scanner and gtk-doc error when X is ...
Status: RESOLVED INVALID
Product: clutter
Classification: Platform
Component: general
git master
Other FreeBSD
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-01-19 05:41 UTC by Ting-Wei Lan
Modified: 2015-01-20 18:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ting-Wei Lan 2015-01-19 05:41:39 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.
Comment 1 Ting-Wei Lan 2015-01-20 04:11:28 UTC
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
Comment 2 Emmanuele Bassi (:ebassi) 2015-01-20 18:52:03 UTC
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.