[kbd] Kbd-1.15.5 fails to loadkeys
Matt Burgess
matthew at linuxfromscratch.org
Sat Dec 15 01:13:34 MSK 2012
On Thu, 2012-12-13 at 17:40 +0400, Alexey Gladkov wrote:
> Are you sure that you do not regenerated loadkeys.analyze.{c,h} ?
There's no LEX line in the output, so I assume not.
> I using following test:
>
> ./loadkeys -u /lib/kbd/keymaps/i386/qwerty/bg_bds-utf8.map.gz
> dumpkeys > keymap-old.map
> dumpkeys | ../loadkeys -u
> dumpkeys > keymap-new.map
> cmp keymap-old.map keymap-new.map &&
> echo 'FILES ARE SAME' || echo "DIFF"
>
> I have the following result:
>
> Loading /lib/kbd/keymaps/i386/qwerty/bg_bds-utf8.map.gz
> Loading <stdin>
> FILES ARE SAME
I get the following, run under a 'set -x' shell for clarity:
+ loadkeys -u /lib/kbd/keymaps/i386/qwerty/bg_bds-utf8.map.gz
unknown keysym 'compose'
/lib/kbd/keymaps/i386/qwerty/bg_bds-utf8.map.gz:704: syntax error
syntax error in map file
key bindings not changed
Loading /lib/kbd/keymaps/i386/qwerty/bg_bds-utf8.map.gz
+ dumpkeys
+ loadkeys -u
+ dumpkeys
unknown keysym 'compose'
<stdin>:692: syntax error
syntax error in map file
key bindings not changed
Loading <stdin>
+ dumpkeys
+ cmp keymap-old.map keymap-new.map
+ echo 'FILES ARE SAME'
FILES ARE SAME
Interestingly, I can't reproduce this on a Fedora 17 host, nor on a
CentOS 6.3 or CentOS 5.8 VM. In those environments, the original
kbd-1.15.5 works just fine.
I wonder whether there's something specific to the Linux From Scratch
toolchain that's causing this issue? I'll see if I can investigate
further.
Thanks,
Matt.
More information about the kbd
mailing list