Hello, Upgrading from sys-apps/kbd-1.15.3 to 1.15.4 or 1.15.5 cause syntax error in /usr/share/keymaps/i386/azerty/fr-latin9.map.gz reverting to kbd-1.15.3 solved the problem The line 540 in file "/usr/share/keymaps/i386/azerty/fr-latin9.map.gz" contain: compose '`' 'A' to 'À' like in newer versions... Reproducible: Always Steps to Reproduce: 1.upgrade from sys-apps/kbd-1.15.3 to newer versions 2. 3. Actual Results: Extract from rc.log: * Setting keyboard mode [UTF-8] ... [ ok ] * Loading key mappings [fr-latin9] ... keysym inconnu « compose » /usr/share/keymaps/i386/azerty/fr-latin9.map.gz:540: syntax error Erreur de syntaxe dans le fichier de mappe affectations de touches inchangées * Error loading key mappings [ !! ] * ERROR: keymaps failed to start My keybord in console is in qwerty mode, not azerty Expected Results: No error and keybord in azerty mode
Created attachment 332462 [details] emerge --info
Same error, I need to modify /etc/conf.d/keymaps from keymap="fr-latin9" to keymap="fr" and have console in azerty without error when /etc/init.d/keymaps start at boot
please post the full build log as an attachment of 1.15.5 also please post the exact command you're running and the exact error shown
Hello, I don't know what do you mean by "post the exact command you're running and the exact error shown" It's an init script and the only other command that I can show too is : laboussole jerome # /etc/init.d/keymaps restart * Setting keyboard mode [UTF-8] ... [ ok ] * Loading key mappings [fr-latin9] ... keysym inconnu « compose » /usr/share/keymaps/i386/azerty/fr-latin9.map.gz:540: syntax error Erreur de syntaxe dans le fichier de mappe affectations de touches inchangées * Error loading key mappings [ !! ] * ERROR: keymaps failed to start As I wrote my keybord is only in qwerty mode in console (In gnome 3.6 or e17 my keybord is well in azerty) My full build log is now attached
Created attachment 335438 [details] build log
(In reply to comment #4) run `/etc/init.d/keymaps --debug reload >& log` and post the log file as attachment. that'll show the commands being executed.
Created attachment 336028 [details] /etc/init.d/keymaps --debug restart
Created attachment 336102 [details] /etc/init.d/keymaps --debug restart Here the output of mine /etc/init.d/keymaps --debug restart
From archlinux bug report https://bugs.archlinux.org/task/33308?project=1&openedfrom=-1+week Patch which would appear to solve this problem ? http://www6.frugalware.org/mirrors/linux/frugalware/frugalware-current/source/base/kbd/7e06e56157e8431d02e1377cdc44230944203d88.patch
Works for me (version 1.15.5). I join my new `/etc/init.d/keymaps --debug restart` (In reply to comment #9) > From archlinux bug report > https://bugs.archlinux.org/task/33308?project=1&openedfrom=-1+week > > Patch which would appear to solve this problem ? > > http://www6.frugalware.org/mirrors/linux/frugalware/frugalware-current/ > source/base/kbd/7e06e56157e8431d02e1377cdc44230944203d88.patch
Created attachment 336200 [details] /etc/init.d/keymaps --debug restart with patch
should be all set now in the tree; thanks for the report! Commit message: Add fix from upstream for loadkey syntax errors http://sources.gentoo.org/sys-apps/kbd/files/kbd-1.15.5-loadkeys-parse.patch?rev=1.1 http://sources.gentoo.org/sys-apps/kbd/kbd-1.15.5-r1.ebuild?rev=1.1