Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143338 - xkeyboard-config-0.8 creates a invalid symlink, causing xorg-server merge to fail
Summary: xkeyboard-config-0.8 creates a invalid symlink, causing xorg-server merge to ...
Status: RESOLVED DUPLICATE of bug 143335
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-09 05:44 UTC by Bruno Roggeri
Modified: 2006-08-09 05:58 UTC (History)
0 users

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


Attachments
ebuild patch (xkb-config-mkdir.patch,396 bytes, patch)
2006-08-09 05:46 UTC, Bruno Roggeri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
.