Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293228 - sys-apps/kbd-1.15* break es keymap: /usr/share/keymaps/i386/olpc/ is being chosen and doesn't work
Summary: sys-apps/kbd-1.15* break es keymap: /usr/share/keymaps/i386/olpc/ is...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2009-11-14 23:57 UTC by Pacho Ramos
Modified: 2010-06-16 09:21 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2009-11-14 23:57:59 UTC
After upgrading to 1.15 or 1.15.1, spanish keymap is broken and I am unable to write "á, é, í, ó, ú":
# LC_ALL=C /usr/bin/loadkeys es
Loading /usr/share/keymaps/i386/olpc/
assuming iso-8859-1 diaeresis -> this message could be related

with 1.13-r1 it works fine, and the output is the following:
# /bin/loadkeys es
Loading /usr/share/keymaps/i386/qwerty/

Seems that es keymap provided under "olpc" is broken, because if I load /usr/share/keymaps/i386/qwerty/ with any kbd version, the problem is solved

Portage (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-tuxonice i686)
System uname: Linux-2.6.31-tuxonice-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 14 Nov 2009 10:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="es es_ES en_US"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
USE="X a52 aac acl acpi alsa applet avahi bash-completion berkdb branding bzip2 cairo cdda cddb cdinstall cdr cleartype cli consolekit cracklib crypt cups daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran gdbm gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick java jpeg kdeenablefinal kdehiddenvisibility kpathsea laptop latex libnotify lm_sensors lzma mad mikmod mmx mmxext modules mono mp3 mp4 mpeg mudflap music musicbrainz nautilus ncurses network network-cron networkmanager nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support quicktime readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd threads thunar tiff truetype unicode usb vcd vorbis win32codecs x264 x86 xattr xcb xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"

Reproducible: Always
Comment 2 Francisco Lloret 2010-01-17 12:57:43 UTC
Same problem.

I don't undestand why 1.15 version loads olpc keymap instead of qwerty keymap in an standard desktop PC.

olpc is On Laptop Per Child?
Comment 3 Audun Einangen 2010-02-01 09:57:45 UTC
This sounds exactly like the same bug as in the Fedora links above.

The same applies to the Norwegian keyboard layout, as loadkeys loads a dvorak layout. I would call that a bit more critical, as dvorak and qwerty keymaps are completely incompatible, rendering the console virtually useless.

I propose the same fix as in the Fedora package, renaming the conflicting keymap names according to:

mv dvorak/ dvorak/
mv fgGIod/ fgGIod/
mv olpc/ olpc/
mv olpc/ olpc/
mv qwerty/ qwerty/

Comment 4 Pacho Ramos gentoo-dev 2010-06-08 12:24:26 UTC
Base system people, Do you let me solve this in fedora's way (renaming that files) ? 

This bug still hits me and it's a bit annoying, also looks easy to solve

Comment 5 Pacho Ramos gentoo-dev 2010-06-11 16:56:50 UTC
+*kbd-1.15.2-r1 (11 Jun 2010)
+  11 Jun 2010; Pacho Ramos <> +kbd-1.15.2-r1.ebuild:
+  Revision bump to rename conflicting keymaps to have unique names, bug
+  #293228 (with Chainsaw permission).
Comment 6 ashtophet 2010-06-15 15:22:57 UTC

Here (pt-latin1 keymap) the new ebuild doesn't fix it.

Steps to reproduce:

1.- Upgrade kbd to 1.15.2-r1 (I have been masking >1.15 versions).
2.- loadkeys /usr/share/keymaps/i386/qwerty/
3.- No fish: e.g. 'objecço'
4.- Install kbd 1.15.
5.- loadkeys /usr/share/keymaps/i386/qwerty/
6.- Fish: e.g. 'objecção'

I've uploaded compressed /usr/share/keymaps directories (with 1.15 and 1.15.2-r1), it that matters for debugging: (not working) (working)

Comment 7 Pacho Ramos gentoo-dev 2010-06-15 15:35:34 UTC
You are suffering a different problem:
1. The bug fixed with above commit is related with olpc keymaps being loaded instead of qwerty ones
2. Your problem looks like something broken with qwerty keymap you are using

I would open a separate bug report
Comment 8 ashtophet 2010-06-16 09:21:57 UTC
Thanks, Pacho.

I will do so as soon as I get home from work.