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/es.map.gz is being chosen and doesn't work
Summary: sys-apps/kbd-1.15* break es keymap: /usr/share/keymaps/i386/olpc/es.map.gz is...
Status: RESOLVED FIXED
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
URL: http://lists.altlinux.org/pipermail/k...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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/es.map.gz
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/es.map.gz

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

Portage 2.1.6.13 (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
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
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"
DISTDIR="/usr/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




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/no.map dvorak/no-dvorak.map
mv fgGIod/trf.map fgGIod/trf-fgGIod.map
mv olpc/es.map olpc/es-olpc.map
mv olpc/pt.map olpc/pt-olpc.map
mv qwerty/cz.map qwerty/cz-qwerty.map

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

Thanks
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 <pacho@gentoo.org> +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
Hi.

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/pt-latin1.map.gz
3.- No fish: e.g. 'objecço'
4.- Install kbd 1.15.
5.- loadkeys /usr/share/keymaps/i386/qwerty/pt-latin1.map.gz
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:

http://www.ashtophet.org/files_bgo/kbd-1.15.2-r1.tar.bz2 (not working)
http://www.ashtophet.org/files_bgo/kbd-1.15.tar.bz2 (working)

Thanks.
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.

Cheers.