Bug 1026065

Summary: loadkeys jp106 always fails because of include directory not found
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: kbdAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: i18n-bugs, mtasaka, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-13 14:38:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace log
none
loadkeys strace with latest kbd version
none
strace of loadkeys jp106 (refreshed) none

Description Mamoru TASAKA 2013-11-03 10:12:17 UTC
Created attachment 818719 [details]
strace log

Description of problem:

Recently on CUI jp106 keymap is always not enabled at all
and I was wondering why.
Now I tried
$ loadkeys jp106
and I found actually the above command was failing.

The result of strace seems to indicate that this was
due to directory structure change on 
http://pkgs.fedoraproject.org/cgit/kbd.git/commit/?id=fb41a90cc128e04219430e4aa685ebf6add9441b

Now loadkeys jp106 tries to find include/ directory and
it does not succeed.


Version-Release number of selected component (if applicable):
kbd-1.15.5-9.fc20.i686.rpm
kbd-legacy-1.15.5-9.fc20.noarch.rpm
kbd-misc-1.15.5-9.fc20.noarch.rpm


How reproducible:
100%

Steps to Reproduce:
1. reboot
2. loadkeys jp106
3.

Actual results:
Does not succeed, still in us keyboard


Expected results:
Should succeed

Additional info:
strace log attached

Comment 1 Vitezslav Crhonek 2014-08-13 10:57:34 UTC
Hello Mamoru, is this still an issue?

It seems that it works fine with kbd-1.15.5-12.fc20. Actually it should work since kbd-1.15.5-11.fc20, where I've added legacy keymaps subdirs to loadkyes search path.

Can you please confirm it?

Comment 2 Vitezslav Crhonek 2014-08-13 10:58:37 UTC
Created attachment 926371 [details]
loadkeys strace with latest kbd version

Comment 3 Mamoru TASAKA 2014-08-13 13:59:04 UTC
Created attachment 926449 [details]
strace of loadkeys jp106 (refreshed)

First of all, I no longer use F-20, now I am chasing F-21 branch, so kbd is now kbd-2.0.2-2.fc21.i686 .

And still $ loadkeys jp106 does not work ... please see strace.

Comment 4 Mamoru TASAKA 2014-08-13 14:38:30 UTC
Okay.... looking at strace, I finally noticed that my system had " /usr/lib/kbd/keymaps/i386/qwerty/jp106.map", which does not belong to any rpms in Fedora. I removed this orphan file, and now it is working. Thank you for trying to debug this anyway.