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

Bug 122181

Summary: xorg-server fails on xkb/compile
Product: Gentoo Linux Reporter: Florian Engelhardt <flo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: oanjao
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian Engelhardt 2006-02-08 14:58:55 UTC
Hello,

emerging xorg-server failes with an error message telling me, that it cannot write to /usr/share/X11/xkb/compiled wich seems to be a symlink pointing to nowhere.

If i delete this symlink and create a directory there, emerging xorg-server works
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-08 15:01:45 UTC
Reopen with output of 'equery b /usr/share/X11/xkb/compiled'
Comment 2 Craig Finch 2007-09-07 16:25:27 UTC
Please reopen, as this bug is still alive (on my x86 system) when I emerge xorg-server-1.2.0-r3.  Here is the information you need:

> Reopen with output of 'equery b /usr/share/X11/xkb/compiled'
[ Searching for file(s) /usr/share/X11/xkb/compiled in *... ]
x11-misc/xkeyboard-config-0.8 (/usr/share/X11/xkb/compiled -> /var/lib/xkb)
x11-base/xorg-server-1.0.2-r7 (/usr/share/X11/xkb/compiled)
x11-base/xorg-server-1.2.0-r3 (/usr/share/X11/xkb/compiled)

Since this is a symlink, I checked to see who owns the linked directory:
equery b /var/lib/xkb
[ Searching for file(s) /var/lib/xkb in *... ]
x11-apps/xkbcomp-1.0.2 (/var/lib/xkb)

Now, I have xkbcomp installed on my system, but /var/lib/xkb was never created.  The symlink in /usr/share/X11/xkb/compiled exists, but the target directory "xkb' is missing, leading to the error previously described.

The workaround is to manually create the directory /var/lib/xkb.