Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 352466

Summary: [gnome-overlay] net-wireless/gnome-bluetooth needs a patch to install libgnome-bluetooth-applet
Product: Gentoo Linux Reporter: michael higgins <col>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: benjamin1506, Marc-Antoine
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://ubuntuforums.org/showthread.php?t=1603874&page=36
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 353071    
Attachments: build log
gnome-shell.2.91.5 build.log
gnome-shell-2.91.5 build.log V=1
ldd libgnome-shell.so
gnome-shell --replace --verbose log

Description michael higgins 2011-01-23 01:38:31 UTC
libgnome-bluetooth-applet.so.0. is needed to get gnome-shell loaded


Reproducible: Always

Steps to Reproduce:
1. try to load gnome shell
2. doesn't load
3. errors are thrown

Actual Results:  
error about libgnome-bluetooth-applet.so.0.so: cannot open shared object file:

Expected Results:  
gnome-shell goodness

Here's a quick fix to illustrate, but should be patched in the ebuild, somehow, maybe?

FEATURES="keepwork" emerge -av net-wireless/gnome-bluetooth

cp ${PORTAGE_TMPDIR}/portage/net-wireless/gnome-bluetooth-2.91.5/work/gnome-bluetooth-2.91.5/applet/.libs/libgnome-bluetooth-applet.so.0.0.0 /usr/lib/

cd /usr/lib && ln libgnome-bluetooth-applet.so.0.0.0 libgnome-bluetooth-applet.so.0
Comment 1 Rafał Mużyło 2011-01-23 02:27:48 UTC
Attach full build log.
At casual glance, if that lib is built, it should be installed too.
Comment 2 michael higgins 2011-01-23 05:03:18 UTC
Created attachment 260528 [details]
build log
Comment 3 michael higgins 2011-01-23 05:12:39 UTC
(In reply to comment #1)
> Attach full build log.
> At casual glance, if that lib is built, it should be installed too.
> 

Seems it is, but installed in the wrong place for gnome-shell for some reason. Well, if the info helps, it helps.
Comment 4 Rafał Mużyło 2011-01-23 05:53:41 UTC
What's your version of gnome-shell ? 
It appears at least 2.91.4 is required.
Attach its build log.
Comment 5 Michael Lippautz 2011-01-24 08:25:21 UTC
Created attachment 260575 [details]
gnome-shell.2.91.5 build.log
Comment 6 Rafał Mużyło 2011-01-24 10:29:00 UTC
As you might guess, build log with silent make is not that useful in this case,
attach log of reemerge with V=1. Post also output of ldd on libgnome-shell.
Comment 7 Michael Lippautz 2011-01-24 14:17:27 UTC
Created attachment 260590 [details]
gnome-shell-2.91.5 build.log V=1

Re-emerged with V=1
Comment 8 Michael Lippautz 2011-01-24 14:19:47 UTC
Created attachment 260592 [details]
ldd libgnome-shell.so
Comment 9 Rafał Mużyło 2011-01-24 20:03:46 UTC
I'm starting to get the idea what could have been wrong and it's something else than you think - your own log says libgnome-bluetooth-applet is getting installed.

Could you provide the *exact* output upon the failure ?
Comment 10 Michael Lippautz 2011-01-24 20:20:56 UTC
As I think I get the same message as the author, so here are my errors:

$ gnome-shell --replace
/usr/lib64/python2.6/site-packages/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
Fensterverwalter-Warnung:Log level 16: Failed to load shared library 'libgnome-bluetooth-applet.so.0' referenced by the typelib: libgnome-bluetooth-applet.so.0.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Fensterverwalter-Warnung:Log level 8: g_ascii_strncasecmp: assertion `s2 != NULL' failed
Shell killed with signal 11

The messages may have to do with gobject introspection failure (wrong built?) as typelib is mentioned.

I am also attaching an output of ``gnome-shell --replace --verbose''.
Comment 11 Michael Lippautz 2011-01-24 20:21:19 UTC
Created attachment 260611 [details]
gnome-shell --replace --verbose log
Comment 12 Ben L. 2011-01-27 06:56:50 UTC
git the exactly same error :/
Comment 13 Rafał Mużyło 2011-01-27 17:48:47 UTC
First, I must state that I have no experience with gobject-introspectin.

Having sad that, it seems that the wrapper lib (typelib ?) needs to have the path to $(libdir)/gnome-bluetooth passes to at build.
Perhaps a correct --library-path option passed at build to g-ir-scanner would help ?
Comment 14 Ben L. 2011-01-27 18:53:09 UTC
yes, this will fix the problem:

~ # ln -s /usr/lib64/gnome-bluetooth/libgnome-bluetooth-applet.so /usr/lib64/libgnome-bluetooth-applet.so.0
Comment 15 Rafał Mużyło 2011-01-28 02:15:34 UTC
(In reply to comment #14)
> yes, this will fix the problem:
> 
> ~ # ln -s /usr/lib64/gnome-bluetooth/libgnome-bluetooth-applet.so
> /usr/lib64/libgnome-bluetooth-applet.so.0
> 

That so called "fix" is obviously not the correct way to do it.
Comment 16 Marc-Antoine Perennou 2011-02-07 10:04:22 UTC
Problem fixed in gnome-shell :
http://git.gnome.org/browse/gnome-shell/commit/?id=b6749f4b606470bec455b4d0bd1f15d8667dea3c
Comment 17 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-02-18 04:43:23 UTC
(In reply to comment #16)
> Problem fixed in gnome-shell :
> http://git.gnome.org/browse/gnome-shell/commit/?id=b6749f4b606470bec455b4d0bd1f15d8667dea3c
> 

This just moves the problem from runtime to compile-time for us.
Comment 18 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-02-18 06:09:52 UTC
This should be now fixed, compilation problems were caused due to la-file removal in gnome-bluetooth.

Thanks for reporting!
Comment 19 Damien Thébault 2011-03-05 13:34:03 UTC
I have "*.la" in INSTALL_MASK.
Setting INSTALL_MASK="" for gnome-bluetooth solves it for me too.