Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80960 - xorg-x11-6.8.1.904 doesn't work with XKB - so no keybooard-lang support
Summary: xorg-x11-6.8.1.904 doesn't work with XKB - so no keybooard-lang support
Status: RESOLVED DUPLICATE of bug 41743
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-06 00:45 UTC by Rumen Yotov
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
xorg log file (Xorg.0.log,29.61 KB, text/plain)
2005-02-06 12:10 UTC, Daniel Drake (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rumen Yotov 2005-02-06 00:45:05 UTC
Hi,
Tried the new xorg-x11-6.8.1.904, on a hardened-~x86 system this time with +dlloader & +hardened USE-flags and "NV" nvidia driver.
Things compile OK, only later on X start i don't have XKB-support (placed in xorg.conf).
On starting Gnome receive a message about this and 2 recommendations if filing a bug on this:
1.sent the output of: xprop -root | grep XKB
...
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "us,bg", ",phonetic", "grp:caps_toggle,grp_led:scroll"
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us,bg", ",phonetic", "grp:caps_toggle,grp_led:scroll"
...
2.sent output of: gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
...
 layouts = [us,bg	phonetic]
 model = pc105
 overrideSettings = false
 options = [grp	grp:caps_toggle,grp_led	grp_led:scroll]
 update_handlers = []
...
Tried to go back to 6.8.1.902 but as /usr/X11/bin has moved to /usr/bin thing break all the same, so now using 6.8.1.904 prefer to wait for a fix (haven't searched for such bugs/problems on freedesktop site but will do).
PS:first time see that LANG & LC_ALL is shown as unset in 'emerge info' output.
Thanks
Rumen

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Gentoo Base System version 1.6.9
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-rc3 i686)
=================================================================
System uname: 2.6.11-rc3 i686 AMD Athlon(tm) XP 2200+
Python:              dev-lang/python-2.4,dev-lang/python-2.3.4 [2.4 (#1, Jan 10
2005, 21:44:07)]
ccache version 2.3 [enabled]
dev-lang/python:     2.4, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks gpg sandbox
sfperms"
GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu
http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 aalib acl acpi apache2 avi bash-completion berkdb
bitmap-fonts caps cdr chroot clamav crypt cups curl directfb dvd dvdr encode esd
evo f77 ffmpeg flac font-server foomaticdb fortran freetype gd gdbm gif gphoto2
gpm gstreamer gtk gtk2 guile hardened hardenedphp imagemagick imap imlib ipv6
java javascript jpeg junit ldap libg++ libwww mad maildir matroska mikmod mmx
motif mozilla mpeg mpeg4 mysql ncurses nls nptl nvidia oggvorbis opengl oss pam
pdflib perl pic pie png postgres ppds prelude python qt quicktime readline samba
sdl skey slang snmp speex spell sse ssl svg svga symlink tcltk tcpd tetex theora
threads tiff transcode truetype truetype-fonts type1-fonts unicode usb xml xml2
xmms xv xvid zlib linguas_bg linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-02-06 12:09:28 UTC
Same here. xorg-x11-6.8.1.904


dsd ~ :) xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "gb", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "gb", "", ""
dsd ~ :) gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
 layouts = [gb]
 model = pc101
 overrideSettings = false
 options = []
 update_handlers = []

From my xorg.conf:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbLayout" "gb"
EndSection

Portage 2.0.51-r15 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-rc3-bk2-gentoo i686)
=================================================================
System uname: 2.6.11-rc3-bk2-gentoo i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 17 2004, 15:34:12)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=387"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache cvs distlocks sandbox sfperms sign"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acpi alsa avi beepmp bitmap-fonts cdr cups directfb dvd emacs f77 fam fbcon foomaticdb fortran gcj ggi gif gnome gpm gstreamer gtk gtk2 hal howl imagemagick imlib java jpeg libg++ libwww mad mmx mono mozilla moznocompose moznoirc moznomail mp3 mpeg ncurses nptl oggvorbis opengl pdflib perl png qt quicktime readline sdl slang sqlite sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts userlocales xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-02-06 12:10:14 UTC
Created attachment 50553 [details]
xorg log file
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-06 16:09:06 UTC
(EE) Couldn't open compiled keymap file /var/tmp/server-0.xkm
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap

So, what's your permissions on /var/tmp and /var/lib/xkb, and `ls -l /usr/lib/X11/xkb/xkbcomp`
Comment 4 Rumen Yotov 2005-02-06 22:45:01 UTC
Hi,
1.Perms on /var/tmp-dir: portage:portage.
drwxrwxrwt   15 portage portage   440 фев  7 07:33 tmp
2.Perms on /var/lib/xkb-dir: root:root (?)
drwxr-xr-x   2 root     root      72 фев  6 09:31 xkb
3.'ls -l /usr/lib/X11/xkb/xkbcomp'
-rwxr-xr-x  1 root root 0 фев  6 09:31 /usr/lib/X11/xkb/xkbcomp
Maybe it's permissions problem at all.
Will report if any progress
Thanks
Rumen
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-06 22:51:21 UTC
-rwxr-xr-x  1 root root 0 фев  6 09:31 /usr/lib/X11/xkb/xkbcomp

That's your problem, a 0-byte xkbcomp "binary." You use dispatch-conf, right? See bug #41743.

Daniel, do you also use dispatch-conf?
Comment 6 Rumen Yotov 2005-02-07 08:05:56 UTC
Hi,
Problem fixed, was in a hurry and didn't saw the 0-lenght file. Thanks.
Nothing wrong with permissions.Just copied xkbcomp-binary from the package binary.
Also looked at BUG-41743 it must be fixed now/for me, don't have the "a" option in dispatch-conf.conf file, but had patched with dispatch-conf ext-functionality patch (from bugzilla).
Thanks. Works for me.
Rumen
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2005-02-07 12:04:07 UTC
Yes, I use dispatch-conf

Running the following fixed it:

cp /usr/X11R6/bin/xkbcomp /usr/X11R6/lib/X11/xkb/xkbcomp 

Thanks.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-07 18:50:27 UTC
*** This bug has been marked as a duplicate of 41743 ***