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

Bug 143338

Summary: xkeyboard-config-0.8 creates a invalid symlink, causing xorg-server merge to fail
Product: Gentoo Linux Reporter: Bruno Roggeri <bruno.roggeri>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild patch

Description Bruno Roggeri 2006-08-09 05:44:35 UTC
I noticed this because it made my xorg-server-1.0.2-r7 emerge fail in the "merge" step. I was working on a fresh gentoo install.

The problem is that xkeyboard-config installs /usr/share/xkb/compiled as a symlink to the /var/lib/xkb directory, but the later isn't created.

Later, when the xorg-server tries to install a file in /usr/share/xkb/compiled, it  doesn't create the directory because there's already a symlink, but as it points to an invalid location, the merge fails ("cannot write to /usr/share/xkb/compiled").

Work-around : create /var/lib/xkb yourself

Suggested fix : make xkeyboard-config ebuild create /var/lib/xkb
Comment 1 Bruno Roggeri 2006-08-09 05:46:02 UTC
Created attachment 93842 [details, diff]
ebuild patch

Adds "dodir /var/lib/xkb" in src_install
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-09 05:57:55 UTC

*** This bug has been marked as a duplicate of 143335 ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-09 05:58:04 UTC
.