Subject: Re: gnome-settings-daemon problem
To: None <pkgsrc-users@netbsd.org>
From: David H. Gutteridge <dhgutteridge@sympatico.ca>
List: pkgsrc-users
Date: 12/11/2007 20:13:20
walt wrote:
>The problem is that the real error message is hidden from you. Try
>this from a command prompt:
># /usr/pkg/libexec/gnome-settings-daemon

>The usual error message I see is about a missing library file, in which
>case the solution is to recompile the control-center package.

Yes, I made the rookie mistake of asking locate(1) about
gnome-settings-daemon, getting nothing back, and forgetting that the
locate database hadn't been updated since I'd installed Gnome...

Running it from the command line shows that it is indeed a liboil
problem, liboil is still generating incorrect code for PowerPC.  Ah,
Gnome and its web of dependencies...

[disciple@arcusv:disciple]$ /usr/pkg/libexec/gnome-settings-daemon

(gnome-settings-daemon:484): GStreamer-WARNING **: Failed to load plugin 
'/usr/pkg/lib/gstreamer-0.10/libgstaudioresample.so': 
/usr/pkg/lib/liboil-0.3.so.0: Unsupported relocation type 10 in non-PLT 
relocations


(gnome-settings-daemon:484): GStreamer-WARNING **: Failed to load plugin 
'/usr/pkg/lib/gstreamer-0.10/libgstvideotestsrc.so': 
/usr/pkg/lib/liboil-0.3.so.0: Unsupported relocation type 10 in non-PLT 
relocations


(gnome-settings-daemon:484): GStreamer-WARNING **: Failed to load plugin 
'/usr/pkg/lib/gstreamer-0.10/libgstvideoscale.so': 
/usr/pkg/lib/liboil-0.3.so.0: Unsupported relocation type 10 in non-PLT 
relocations


(gnome-settings-daemon:484): GStreamer-WARNING **: Failed to load plugin 
'/usr/pkg/lib/gstreamer-0.10/libgstvolume.so': /usr/pkg/lib/liboil-0.3.so.0: 
Unsupported relocation type 10 in non-PLT relocations


(gnome-settings-daemon:484): GStreamer-WARNING **: Failed to load plugin 
'/usr/pkg/lib/gstreamer-0.10/libgstvideobox.so': 
/usr/pkg/lib/liboil-0.3.so.0: Unsupported relocation type 10 in non-PLT 
relocations

There have already been workarounds posted for this involving patching
liboil so that it doesn't try and use its own assembly routines for
generating certain of its components, I may give that a try.

(On the other hand, KDE built without trouble and works quite well so
far.)

Dave