Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480926 - gschemas.compiled not found
Summary: gschemas.compiled not found
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 21:08 UTC by jbhr0001
Modified: 2020-12-20 18:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jbhr0001 2013-08-13 21:08:53 UTC
gsettings list-schemas terminates with segmentation fault 

after looking up:
open("/usr/local/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)

The real location of the file is:
$EPREFIX/usr/share/glib-2.0/schemas/gschemas.compiled 

Also, other GNOME applications (like for example eog) 

are looking up:
[pid  5806] open("/usr/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory).
[pid  5806] open("/usr/local/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)

but NOT the real location below $EPREFIX.
Comment 1 Rafał Mużyło 2013-08-14 07:48:44 UTC
Does it work, if '$EPREFIX/usr/share' is *added* to XDG_DATA_DIRS ?
It's important to add instead override, or other stuff tends to break.
Comment 2 jbhr0001 2013-08-14 09:57:51 UTC
(In reply to Rafał Mużyło from comment #1)
> Does it work, if '$EPREFIX/usr/share' is *added* to XDG_DATA_DIRS ?
> It's important to add instead override, or other stuff tends to break.

Both gnome-settings and eog work with environment variable XDG_DATA_DIRS=$EPREFIX/usr/share  alone or XDG_DATA_DIRS=$EPREFIX/usr/share:/usr/share (don't know the default value of XDG_DATA_DIRS).
Comment 3 Fabian Groffen gentoo-dev 2013-08-14 16:15:12 UTC
% env | grep XDG_DATA_DIRS | sed -e "s:${EPREFIX}:EPREFIX:g"
XDG_DATA_DIRS=EPREFIX/usr/share

so it should be set?
Comment 4 Fabian Groffen gentoo-dev 2020-12-20 18:59:42 UTC
I'm affraid these versions are long gone.  I hope the current state is different.