Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352466 - [gnome-overlay] net-wireless/gnome-bluetooth needs a patch to install libgnome-bluetooth-applet
Summary: [gnome-overlay] net-wireless/gnome-bluetooth needs a patch to install libgnom...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://ubuntuforums.org/showthread.ph...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome3
  Show dependency tree
 
Reported: 2011-01-23 01:38 UTC by michael higgins
Modified: 2012-02-12 14:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,56.67 KB, text/plain)
2011-01-23 05:03 UTC, michael higgins
Details
gnome-shell.2.91.5 build.log (build.log,45.17 KB, text/plain)
2011-01-24 08:25 UTC, Michael Lippautz
Details
gnome-shell-2.91.5 build.log V=1 (build.log,242.56 KB, text/plain)
2011-01-24 14:17 UTC, Michael Lippautz
Details
ldd libgnome-shell.so (ldd_libgnome-shell.so,6.22 KB, text/plain)
2011-01-24 14:19 UTC, Michael Lippautz
Details
gnome-shell --replace --verbose log (shell.log,51.45 KB, text/plain)
2011-01-24 20:21 UTC, Michael Lippautz
Details

Note You need to log in before you can comment on or make changes to this bug.
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.