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

Bug 390361

Summary: gnome-base/gnome-shell should depend on sys-apps/accountsservice[introspection]
Product: Gentoo Linux Reporter: Cesko Voeten <cvoeten>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Cesko Voeten 2011-11-13 09:24:03 UTC
Created attachment 292365 [details]
emerge --info

If sys-apps/accountsservice is compiled with USE=-introspection, gnome-shell crashes with the fail whale dialogue on startup and ~/.xsession-errors is filled with:

    JS ERROR: !!!     message = '"Requiring AccountsService, version none: Typelib file for namespace 'AccountsService' (any version) not found"'
    JS ERROR: !!!   Exception was: Error: Requiring AccountsService, version none: Typelib file for namespace 'AccountsService' (any version) not found
    JS ERROR: !!!     lineNumber = '0'
    JS ERROR: !!!     fileName = '"gjs_throw"'
    JS ERROR: !!!     stack = '"("Requiring AccountsService, version none: Typelib file for namespace 'AccountsService' (any version) not found")@gjs_throw:0
@/usr/share/gnome-shell/js/ui/endSessionDialog.js:25

This problem is fixed when sys-apps/accountsservice is built with USE=introspection. So I *think* that 'sys-apps/accountsservice[introspection]' should be added to the RDEPEND variable in the gnome-shell ebuild.
(I would have added a patch, but I'm too ignorant to figure out how the 'patch' command works...)

This is on ~amd64 btw, with manually unmasked gnome-shell and dependencies.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-13 10:08:04 UTC
>  13 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
>  -gnome-shell-3.0.2-r1.ebuild,
>  -files/gnome-shell-3.0.2-unbreak-extension-css.patch,
>  -files/gnome-shell-3.0.2-user-removed-signals.patch,
>  gnome-shell-3.2.1-r1.ebuild, metadata.xml:
>  Depend on accountsservice[introspection] (bug #390361, thanks to Cesko Voeten
>  <cvoeten@gmail.com> for reporting).
>  Also, drop old 3.0 version.