Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194026 - xorg-server-1.3: x11-misc/xkeyboard-config-1.1 breaks setxkbmap
Summary: xorg-server-1.3: x11-misc/xkeyboard-config-1.1 breaks setxkbmap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
: 193993 194046 194454 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-27 17:12 UTC by Leonid Podolny
Modified: 2010-07-27 13:41 UTC (History)
8 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Podolny 2007-09-27 17:12:43 UTC
After I have upgraded to version 1.1 of xkeyboard-config-1.1 setxkbmap yields following results:
 leonid@vyhuhol ~ $ setxkbmap -layout "us"
Error loading new keyboard description

Downgrading to 0.9 solves the problem.
Comment 1 Leonid Podolny 2007-09-27 17:13:06 UTC
leonid@vyhuhol ~ $ emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r7 i686)
=================================================================
System uname: 2.6.22-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Timestamp of tree: Wed, 26 Sep 2007 15:50:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en us en_GB ru he uk es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aim alsa amd apache2 apm arts asf automount bash-completion berkdb bidi bitmap-fonts bittorrent bonobo branding bzip2 c++ cairo cap cdb cddb cdparanoia cdr cdrom cgi chardet chm chroot clamav clamd clearpasswd cmucl cobalt cpudetection cracklib crypt cscope css ctype cups curl cvs cvsgraph dbase dbus dbx dhcp dict directfb djvu dnd dri dts dv dvb dvd dvdr dvdread dvi eb enca encode escreen examples exif expat extensions extrafilters fat fbcon fbdev fbsplash fep ffmpeg fftw firefox flac font-server fontconfig foomaticdb fortran fpx freetext ftp fuse gcj gd gif gimp gimpprint glade glib glibc-omitfp glut gmail gnokii gpgme gphoto2 gpm gprof gsnd gtk gtkhtml guile hal haskell hfs high-ints hpn icc iconv icq id3 idea idn ieee1394 imagemagick imap imlib immqt irc irda jabber java javamail javascript jfs jpeg jpeg2k junit justify kde kdexdeltas kipi lame largeterminal latex lcd lcms leim libcaca libwww lj logitech-mouse logrotate lzo mad maps mbox mcal midi mikmod mjpeg mmap mmx mng mod_irc mod_muc mod_pubsub mod_python modelock modperl modplug mono motif moznoxft mp2 mp3 mpeg mplayer mpm-prefork msn mule multiuser music mysql mysqli nagios-dns nat nautilus ncurses netboot network new-login nls nntp nptl nptlonly nsplugin ntfs ocaml offensive ogg opengl openssh openssl oscar oss pam parse-clocks pcap pcre pdf perl php plotutils plugins pmu png pop posix postfix ppds print procmail python qt-static qt3 qt3support qt4 quicktime quotas rar rdesktop readline real reiserfs rss rtc ruby samba sametime screen sdl session sharedmem slang smime snmp soap sockets socks5 sound sounds spell srt sse sse2 ssl stroke subversion svg swat symlink sysfs syslog sysvipc tcl tcpd tetex theora threads tidy tiff tk tools transcode truetype type1 unicode unzip ups urandom usb user-homedirs utempter utils v4l v4l2 vcd vim vim-pager vim-syntax vim-with-x visualization vorbis web webdav win32codecs winbind wma wmf wxwindows x86 xanim xface xfs xgetdefault xine xinetd xml xmlrpc xorg xpm xprint xscreensaver xsl xslt xv xvid xvmc yahoo zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon ptp2 directory" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en us en_GB ru he uk es" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev vga v4l vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Marcin Kurek 2007-09-27 19:50:36 UTC
Same problem here. It seems that 1.1 do not create compiled (to /var/lib/xkb) symlink as 0.9 does, create it by hand fixed it for me.
Comment 3 Leonid Podolny 2007-09-27 20:19:30 UTC
(In reply to comment #2)
> Same problem here. It seems that 1.1 do not create compiled (to /var/lib/xkb)
> symlink as 0.9 does, create it by hand fixed it for me.
> 

Yes, works for me too.
Comment 4 David Gurvich 2007-09-28 13:51:29 UTC
*** Bug 194046 has been marked as a duplicate of this bug. ***
Comment 5 David Gurvich 2007-09-28 13:52:55 UTC
Creating the symlink fixed my problems with xkeyboard-config-1.1 also.  Function keys now work and switching caps-lock and ctrl also works.
Comment 6 Goran Mekić 2007-09-28 23:25:21 UTC
(In reply to comment #5)
> Creating the symlink fixed my problems with xkeyboard-config-1.1 also. 
> Function keys now work and switching caps-lock and ctrl also works.
> 

Can someone add these two lines to xkeyboard-config-1.1.ebuild to the end of src_install() and test it:

cd "${D}/usr/share/X11/xkb"
ln -s /var/lib/xkb compiled

If it fixes the problem, cool
Comment 7 Pierrot Rey 2007-09-29 06:19:57 UTC
(In reply to comment #6) 
> Can someone add these two lines to xkeyboard-config-1.1.ebuild to the end of
> src_install() and test it:
> 
> cd "${D}/usr/share/X11/xkb"
> ln -s /var/lib/xkb compiled
> 
> If it fixes the problem, cool
> 

It works fine, thanks

Comment 8 Tiziano Müller (RETIRED) gentoo-dev 2007-09-29 10:13:02 UTC
ping?
Comment 9 Stefan Briesenick (RETIRED) gentoo-dev 2007-09-29 11:40:20 UTC
creating the symlink indeed fixes this problem. PLEASE rev-bump asap. thanks!
Comment 10 Andrei Slavoiu 2007-09-30 18:55:14 UTC
This looks like a duplicate of #193993
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-01 06:15:07 UTC
I think I've got a better fix, but it requires a revbump to xorg-server. The XKB output directory needs to be changed to /var/lib/xkb.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-01 06:15:32 UTC
*** Bug 193993 has been marked as a duplicate of this bug. ***
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-01 10:32:44 UTC
Should be fixed in xorg-server-1.4-r2.
Comment 14 Mike Auty (RETIRED) gentoo-dev 2007-10-01 10:35:36 UTC
Hiya Donnie,

Will this be back ported for xorg-server-1.3.0.0 (for those of us still lumbering under ati-drivers)?
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-01 10:53:14 UTC
xorg-server 1.3 is stable, xkeyboard-config 1.1 is ~arch ... you get what you pay for. I don't think 1.3 had this particular configure option, although feel free to investigate.
Comment 16 Mike Auty (RETIRED) gentoo-dev 2007-10-01 19:19:37 UTC
Fair enough.  A little grepping and a bit of test compiling later and it turns out 1.3.0.0 does support this option, for anyone else wanting to roll their own...  5:)

My issues were with compiz (bug 193957, Super seemed always to be depressed), and everything seems a lot better.  After adding the xkb-output option and explicitly selecting Super to be mapped to the Windows keys, it all works as expected...  5:)
Comment 17 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-01 23:21:52 UTC
(In reply to comment #16)
> Fair enough.  A little grepping and a bit of test compiling later and it turns
> out 1.3.0.0 does support this option, for anyone else wanting to roll their
> own...  5:)

Based on your research, I'll reopen this for a 1.3 revbump, since a few other things need to get in there too.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-10-02 06:29:27 UTC
*** Bug 194454 has been marked as a duplicate of this bug. ***
Comment 19 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-13 20:53:46 UTC
Fixed in xorg-server-1.3.0.0-r2, thanks!
Comment 20 Gerrit Zimmermann 2007-10-23 06:44:00 UTC
The Bug 194454 had been marked as a dup of this, so I'd expect it to be fixed, if this Bug is marked as resolved.

I have just been updating another system, though, and the same error reoccured. Please note that my original bug report referred to xorg-server-1.4, so it may be there's another location where it has to be fixed?!