Linux console tools development discussion
 help / color / mirror / Atom feed
From: Matt Burgess <matthew@linuxfromscratch.org>
To: Linux console tools development discussion <kbd@lists.altlinux.org>
Subject: Re: [kbd] Kbd-1.15.5 fails to loadkeys
Date: Fri, 14 Dec 2012 21:13:34 +0000
Message-ID: <1355519614.1650.6.camel@kyoto.localdomain> (raw)
In-Reply-To: <50C9DAC0.6010608@gmail.com>

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.



  reply	other threads:[~2012-12-14 21:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10 21:20 Matt Burgess
2012-12-11 10:33 ` Alexey Gladkov
2012-12-11 16:00   ` Matthew Burgess
2012-12-11 21:26     ` Alexey Gladkov
2012-12-12 19:31       ` Matt Burgess
2012-12-13 13:40         ` Alexey Gladkov
2012-12-14 21:13           ` Matt Burgess [this message]
2012-12-30 13:05   ` Matt Burgess

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1355519614.1650.6.camel@kyoto.localdomain \
    --to=matthew@linuxfromscratch.org \
    --cc=kbd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
		kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kbd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git