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 689688 - undefined symbol: bacon_video_widget_get_type
undefined symbol: bacon_video_widget_get_type
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-12-05 09:59 UTC by dirk.seynol
Modified: 2012-12-05 20:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
properties: Fix loading when built with some linkers (2.22 KB, patch)
2012-12-05 19:32 UTC, Bastien Nocera
committed Details | Review

Description dirk.seynol 2012-12-05 09:59:10 UTC
get logged into .xsession-errors at boot time on RR i386 logged as gnome-classic:

** (nautilus:3297): WARNING **: /usr/lib/nautilus/extensions-3.0/libtotem-properties-page.so: undefined symbol: bacon_video_widget_get_type

reported on launchpad:
https://bugs.launchpad.net/totem/+bug/1086300
Comment 1 Bastien Nocera 2012-12-05 11:21:38 UTC
This isn't Totem 3.6. The BaconVideoWidget isn't used in the totem properties page.
Comment 2 Sebastien Bacher 2012-12-05 18:52:12 UTC
The version is totem 3.6.3 and it's there is no code patch that should impact on that

totem-properties-view.c:
...
struct TotemPropertiesViewPriv {
...
        BaconVideoWidgetProperties *props;
...
}

is that struct being used in the property page and could that create the issue?
Comment 3 Bastien Nocera 2012-12-05 19:32:43 UTC
Created attachment 230810 [details] [review]
properties: Fix loading when built with some linkers

Some unused symbols, brought in through the libtotem-player.la internal
library are still getting resolved by some linkers causing the properties
module to fail loading.
Comment 4 Bastien Nocera 2012-12-05 19:33:41 UTC
Attachment 230810 [details] pushed as bcafeb0 - properties: Fix loading when built with some linkers
Comment 5 Bastien Nocera 2012-12-05 19:35:27 UTC
FWIW, the problem didn't appear on Fedora for example. Not sure why it would try to resolve symbols that just aren't used.
Comment 6 Sebastien Bacher 2012-12-05 20:32:48 UTC
Thanks Bastien, that fixes it indeed. 

Not sure what are the differences on the toolchain, the Ubuntu one uses --as-needed by default but I think it's common nowadays ... -Bsymbolic-functions is used by default so it could be it though

In case case the issue is fixed with that commit