kbd-1.08 which is in portage (~x86) needs absolute paths in /etc/rc.conf to load consolefonts and keymaps, which is different from the previous version. Example: 1.06 worked with KEYMAP="de" in /etc/rc.conf. 1.08 needs KEYMAP="/usr/share/keymaps/i386/qwertz/de" to load it properly. the same is true for CONSOLEFONT. There should be either a hint in the ebuild which is prompted after install, or, even better, this should be changed to work like in 1.06. It doesn't make a difference for me in this respect if i have USE=nls or USE=-nls. Reproducible: Always Steps to Reproduce: 1.emerge sys-apps/kbd/kbd-1.08.ebuild 2./etc/init.d/keymaps restart 3. Actual Results: can't find file de Expected Results: should load the keymap Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.6.0-test1-mm2 i686 AMD Athlon(tm) XP 2000+ GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.inode.at/source/ rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.inode.at/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod motif mpeg ncurses nls pdflib png quicktime truetype xml2 xv slang tetex tcltk java X gpm tcpd pam python imlib oggvorbis qt opengl cdr acpi clamav dga -dvb dvd -foreign-package -hyriand readline -svga imap jikes 3dnow nptl mmx sse oav pic samba tiff wmf -apm ssl -sdl -kde ldap spell xmms -alsa -gdbm -berkdb -arts -libwww -perl -esd -gnome gtk -xinerama zlib gtk2" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fmerge-all-constants -frerun-cse-after-loop -frerun-loop-opt -mfpmath=sse -fforce-addr" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fmerge-all-constants -frerun-cse-after-loop -frerun-loop-opt -mfpmath=sse -fforce-addr" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox digest ccache buildpkg"
Created attachment 15157 [details, diff] removed /usr from --datadir and --mandir to fix the bug version 1.08 of kbd introduced --prefix support the datadir and mandir is changed to $prefix$datadir and $prefix$mandir during ./configure and if no prefix is specified its default is "/usr" so "datadir=/usr/share" becomes "datadir=/usr/usr/share" and that makes loadkeys to search at the wrong position for the keymap to load this patch fixes the bug.
Created attachment 15158 [details, diff] removed /usr from --datadir and --mandir to fix the bug version 1.08 of kbd introduced --prefix support the datadir and mandir is changed to $prefix$datadir and $prefix$mandir during ./configure and if no prefix is specified its default is "/usr" so "datadir=/usr/share" becomes "datadir=/usr/usr/share" and that makes loadkeys to search at the wrong position for the keymap to load this patch fixes the bug.
Created attachment 15159 [details, diff] removed /usr from --datadir and --mandir to fix the bug version 1.08 of kbd introduced --prefix support the datadir and mandir is changed to $prefix$datadir and $prefix$mandir during ./configure and if no prefix is specified its default is "/usr" so "datadir=/usr/share" becomes "datadir=/usr/usr/share" and that makes loadkeys to search at the wrong position for the keymap to load this patch fixes the bug.
Comment on attachment 15157 [details, diff] removed /usr from --datadir and --mandir to fix the bug version 1.08 of kbd introduced --prefix support the datadir and mandir is changed to $prefix$datadir and $prefix$mandir during ./configure and if no prefix is specified its default is /usr so datadir=/usr/share becomes /usr/usr/share and that made loadkeys to search at the wrong position for the keymap to be loaded. this patch fixes the bug. sorry for posting it three times - but I got an error (malformed multipart submit or something like that and was confused about that)
Hello. I was unable to load keymaps and consolefonts too. Finding this bug helped me out so thanks. A modification should be made so that the full path is not required rather than asking user to add full path. With regards.
The proposed solution (http://bugs.gentoo.org/attachment.cgi?id=15159&action=view) works. Please update the ebuild in portage asap.
kbd-1.08-r1 solves the bug. Great and fast as always. :)
*** Bug 25487 has been marked as a duplicate of this bug. ***
Thanks Nicolai Lissner, missed your input - did add to changelog though.
updated kbd from 1.06-r1 to 1.08-r4, as it went stable, and i get: # /etc/init.d/keymaps start * Loading key mappings... cannot open file fr-latin0 * Error loading key mappings [ !! ] probably due to a change in the installed paths. i'm still using baselayout-1.8.6.10-r1 (lastest stable). guys, what are you looking at when you move packages to stable?