Subject: bug#15392: xorg-server FTBFS

From: [email-masked] (Ludovic Courtès)
Date: Mon, 16 Sep 2013 15:27:23 +0200

Mark H Weaver <[email-masked]> skribis:

> xorg-server fails to build from source.  See below for the tail of the
> build log.  This is with aae4ead8142d4fd7c674a1e6e302f40469f878c6.

[...]

> PASS: input
> XKB: Failed to compile keymap
> Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
>
> Fatal server error:
> Failed to activate core devices.
>
> Please consult the The X.Org Foundation support
>          at http://wiki.x.org
>  for help.
>
> FAIL: xtest

This was discussed some time ago:

  http://lists.gnu.org/archive/html/bug-guix/2013-03/msg00140.html

It does seem like the xkeyboard-config data is not visible in its
default search path.

Apparently the X server can be started with
“-xkbdir /path/to/xkeyboard-config/etc/X11/xkb”, which should solve the
problem.

There were also discussions about introducing an ‘XKBPATH’ env. var.,
but I’m not sure if it was accepted upstream:
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=324768>.

Thanks,
Ludo’.