FS#33308 - [kbd] keymap fr-latin9 has a "syntax error"

Attached to Project: Arch Linux
Opened by Rémy Oudompheng (remyoudompheng) - Sunday, 06 January 2013, 11:42 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 16 January 2013, 18:14 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
loadkeys fr-latin9 fails.

Additional info:
* kbd 1.15.5-2

Steps to reproduce:

$ loadkeys fr-latin9
unknown keysym 'compose'
/usr/share/kbd/keymaps/i386/azerty/fr-latin9.map.gz:540: syntax error
syntax error in map file
key bindings not changed
Loading /usr/share/kbd/keymaps/i386/azerty/fr-latin9.map.gz
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 16 January 2013, 18:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.15.5-3
Comment by nil0x42 (nil0x42) - Monday, 14 January 2013, 12:00 GMT
i have exactly the same problem
Comment by Mathieu Clabaut (mathieu.clabaut) - Monday, 14 January 2013, 13:32 GMT
Same here. I reverted to kbd-1.15.3-3.
Comment by Baeyens (berbae) - Wednesday, 16 January 2013, 10:22 GMT
The problem is in the loadkeys utility, because the fr-latin9.map file has not changed in the two kbd releases.
one of these changes is the problem (I don't know which of the loadkeys changes):

Changes for 1.15.5 (legion)

o Build system:
- Fix various vlock build errors (Mike Frysinger)
- Fix loadkeys.analyze lex handling (Mike Frysinger)
- Fix msgstr in es.po (Dmitry V. Levin)

Changes for 1.15.4 (legion)

o Programs:
- vlock: New utility which locks one or more virtual consoles.
- loadkeys: Change the handling of -C option.
- loadkeys: Fix -d option.

The 'Fix loadkeys.analyze lex handling' seems the only one regarding a possible syntax error generated.
Comment by Baeyens (berbae) - Wednesday, 16 January 2013, 13:20 GMT
There seems to be a patch which:
* Fix loading of some keymaps (fr-latin9 for me).
* Remove deprecated build fix.
From these links:
http://frugalware.org/pipermail/frugalware-git/2012-December/112139.html
and
http://www6.frugalware.org/mirrors/linux/frugalware/frugalware-current/source/base/kbd/7e06e56157e8431d02e1377cdc44230944203d88.patch

I tested that patch and it corrects the bug with the fr-latin9.map file.

Loading...