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 684335 - empathy links to gstreamer and webkit
empathy links to gstreamer and webkit
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: module sets
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2012-09-18 23:48 UTC by Giovanni Campagna
Modified: 2012-09-19 07:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Giovanni Campagna 2012-09-18 23:48:12 UTC
And webkit links to gstreamer too, but empathy uses GStreamer 1.0, while Webkit uses 0.10 by default.
They can't be used together since they use the same GType names and C symbols.
The result is this:

(empathy:15440): GLib-GObject-WARNING **: specified class size for type `WebKitWebSrc' is smaller than the parent type's `GstBin' class size

(empathy:15440): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(empathy:15440): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(empathy:15440): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(It could be worse, I did not test calls.

Since this is the default jhbuild configuration, I think it is worth adding a configuration or runtime warning, so people switch empathy to 0.10 or webkit to 1.0.
Comment 1 Guillaume Desmottes 2012-09-19 07:43:38 UTC
WebKit has to be build with --with-gstreamer=1.0 Empathy has no way to check that. Re-assigning to jhbuild as it should be coherent with the gst flags it passes to modules.
Comment 2 Frederic Peters 2012-09-19 07:47:30 UTC
Updated jhbuild to force --with-gstreamer=1.0 on webkitgtk; do note this won't help people mixing jhbuild and a their distro webkit package.

commit 1b9d9bc71a274e87d04d25c9f93b9abf60ddf11b
Author: Frédéric Péters <fpeters@0d.be>
Date:   Wed Sep 19 09:44:19 2012 +0200

    3.6: force webkitgtk to be built against GStreamer 1.0
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684335