I'm having the following problem with Gnome 2.10: When I start gnome-keyboard-properties and change something in the "Layouts" or "Layout options" tabs I get two error windows. One of them is: -------------------------------------------------------------------- Error activating XKB configuration. It can happen under various circumstances: - a bug in libxklavier library - a bug in X server (xkbcomp, xmodmap utilities) - X server with incompatible libxkbfile implementation X server version data: Gentoo Linux (The X.Org Foundation 6.8.2, revision r1-0.1.2) 60802000 If you report this situation as a bug, please include: - The result of <b>xprop -root | grep XKB</b> - The result of <b>gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd</b> -------------------------------------------------------------------- The other is: -------------------------------------------------------------------- There was an error starting the GNOME Settings Daemon. Some things, such as themes, sounds, or background settings may not work correctly. The Settings Daemon restarted too many times. GNOME will still try to restart the Settings Daemon next time you log in. -------------------------------------------------------------------- Reproducible: Always Steps to Reproduce: 1. start gnome-keyboard-properties 2. change something in the "Layouts" or "Layout options" tabs Actual Results: Error windows. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.200 50125-r1, 2.6.11-gentoo-r5 i686) ================================================================= System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:59:12)] dev-lang/python: 2.3.5 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.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-g0 -O3 -march=pentium4 -mtune=pentium4 -msse2 -pipe -fomit-frame-pointe r -momit-leaf-frame-pointer -funit-at-a-time -ftracer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share /config /usr/kde/3.4/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/texmf/web2c /etc/env.d" CXXFLAGS="-g0 -O3 -march=pentium4 -mtune=pentium4 -msse2 -pipe -fomit-frame-poin ter -momit-leaf-frame-pointer -funit-at-a-time -ftracer -mfpmath=sse -fvisibilit y-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib acl acpi alsa apache2 arts avi bash-completion berkdb bitma p-fonts bonobo cdr crypt cups curl dba doc dvd dvdr emboss encode esd flac fooma ticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl im agemagick imlib ipv6 ithreads java jpeg junit kde kdeenablefinal ldap libg++ lib www mad mikmod mmap mmx mmxext mono motif mozilla mp3 mpeg mysql ncurses nls npt l nvidia oggvorbis opengl pam pdflib perl pic plotutils png postgres pthreads py thon qt quicktime readline sdl session sharedmem slang spell sse sse2 ssl svga t cltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vho sts xml xml2 xv zlib linguas_en" Unset: ASFLAGS, CBUILD, CTARGET
your LDFLAGS & CFLAGS are of the type : 'I think I know what I'm doing, I get to solve my own problems.'
In case someone else gets this: I fixed this by removing /usr/lib/X11/xkb/xkbcomp and reemerging xorg-x11. A few days ago dispatch-conf wanted to update the file ( and I let it ), it may have screwed up something. I did not know dispatch-conf works on binaries.
foser, I'll be greatfull if you elaborated a little on what part of my FLAGS do you find dangerous and why. The LDFLAGS are from http://forums.gentoo.org/viewtopic.php?t=67777 . Thanks.
dispatch-conf tends to break binaries, ( diff -a == badness ) http://bugs.gentoo.org/show_bug.cgi?id=69869