Linux console tools development discussion
 help / color / mirror / Atom feed
From: Matthew 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: Tue, 11 Dec 2012 9:00:50 -0700
Message-ID: <56c902e731b99df3bbbe0990ed6de9b1@quantum.linuxfromscratch.org> (raw)
In-Reply-To: <50C70BE2.7050508@gmail.com>

On Tue, 11 Dec 2012 14:33:06 +0400, Alexey Gladkov <gladkov.alexey@gmail.com> wrote:
> 11.12.2012 01:20, Matt Burgess wrote:
>> Hi,
>>
>> The Linux From Scratch bootscripts have a snippet that, on my box, does
>> the following in order to convert a legacy (non-UTF-8) keymap to UTF-8:
>>
>> dumpkeys -c "iso-8859-1" | loadkeys -u
>>
>> This fails with the following output:
>>
>> unknown keysym 'compose'
>> <stdin>:693: syntax error
>> syntax error in map file
>> key bindings not changed
>> Loading <stdin>
>>
>> This appears to be a regression from 1.15.3.
> 
> Can you test the fix ?
> 
> http://git.altlinux.org/people/legion/packages/kbd.git?p=kbd.git;a=commit;h=7e06e56157e8431d02e1377cdc44230944203d88

So, firstly, I don't know whether something's not set up right on my host, but just patching loadkeys.analyze.l breaks
the build, as it can't generate the loadkeys.analyze.c file:

[user@host kbd-1.15.5]$ make V=1
make  all-recursive
make[1]: Entering directory `/home/user/sources/kbd-1.15.5'
Making all in src
make[2]: Entering directory `/home/user/sources/kbd-1.15.5/src'
/bin/sh ../config/ylwrap loadkeys.analyze.l .c loadkeys.analyze.c -- : --header-file=/home/user/sources/kbd-1.15.5/src/loadkeys.analyze.h
make[2]: *** [loadkeys.analyze.c] Error 1

Debugging, it's bailing out in the 'else' clause at line 191 of config/ylwrap, which looks a
lot like it doesn't like the odd looking '.c' filename in the above command.

So, then I edited the loadkeys.analyze.c file by hand, as it looked as if that's all the
regeneration would do.  That enabled the build to proceed to completion, but I still get
the same error as before.

Thanks,

Matt.



  reply	other threads:[~2012-12-11 16:00 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 [this message]
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
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=56c902e731b99df3bbbe0990ed6de9b1@quantum.linuxfromscratch.org \
    --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