From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.5 MIME-Version: 1.0 Date: Tue, 11 Dec 2012 9:00:50 -0700 From: Matthew Burgess To: Linux console tools development discussion In-Reply-To: <50C70BE2.7050508@gmail.com> References: <50C70BE2.7050508@gmail.com> Message-ID: <56c902e731b99df3bbbe0990ed6de9b1@quantum.linuxfromscratch.org> X-Sender: matthew@linuxfromscratch.org User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Re: [kbd] Kbd-1.15.5 fails to loadkeys X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2012 16:01:05 -0000 Archived-At: List-Archive: On Tue, 11 Dec 2012 14:33:06 +0400, Alexey Gladkov 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' >> :693: syntax error >> syntax error in map file >> key bindings not changed >> Loading >> >> 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.