Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508436 - >=sys-apps/kbd-2.0.0 doesn't load keymaps on sparc
Summary: >=sys-apps/kbd-2.0.0 doesn't load keymaps on sparc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.altlinux.org/pipermail/k...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 17:15 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2014-04-23 16:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-22 17:15:00 UTC
This is what I get with =sys-apps/kbd-1.15.5-r1:

# loadkeys -V ; loadkeys -v de-latin1-nodeadkeys | egrep "^Load|^Changed"
loadkeys from kbd 1.15.5
Loading /usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz
Changed 975 keys and 26 strings.
Loaded 0 compose definitions.

As you can see, keys were changed and my keyboard (Sun Type 6 USB) with german layout has the correct keys assigned.


This is what I get with >=sys-apps/kbd-2.0.0 instead:

# loadkeys -V ; loadkeys -v de-latin1-nodeadkeys | egrep "^Load|^Changed"
loadkeys from kbd 2.0.1
Loading /usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz
switching to de-latin1.map
switching to qwertz-layout
switching to compose
switching to linux-with-alt-and-altgr
switching to linux-keys-bare
switching to euro2.map
switching to compose.latin1

Changed 0 keys and 26 strings
Loaded 158 compose definitions


And still wrong keyboard layout as indicated by the output "Changed 0 keys". (On a sidenote, it seems like loadkeys from >=kbd-2.0.0 prints verbose messages to stderr and not stdout like kbd-1.15* did.)

I have no idea how to debug this especially since loadkeys doesn't print any kind of warning or error.

I tested kbd-2.0.0 (dug it out from the attic) and kbd-2.0.1. Both failed.

In case it matters, this is a SunFire V240 where I found this problem.


# emerge --info kbd               
Portage 2.2.10 (default/linux/sparc/13.0, gcc-4.7.3, glibc-2.17, 3.12.17 sparc64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.12.17-sparc64-sun4u-with-gentoo-2.2
KiB Mem:     8307584 total,   7613672 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 22 Apr 2014 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p11-r1
dev-lang/python:          2.7.6, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo poly-c
ACCEPT_KEYWORDS="sparc ~sparc"
ACCEPT_LICENSE="*"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc3 -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bonobo-activation /etc/ca-certificates /etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/games /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gre.d /etc/gtk-2.0 /etc/hp /etc/hsqldb /etc/htdig /etc/init.d /etc/iproute2 /etc/java-config-2 /etc/lftp /etc/logrotate.d /etc/ntop /etc/opt /etc/pango /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sensors.d /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/vbox /etc/xdg /etc/xinetd.d /etc/xml"
CXXFLAGS="-mcpu=ultrasparc3 -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y --misspell-suggestions=n --autounmask=n --quiet-build=n --verbose-slot-rebuilds=n"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/etc/systemd /lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/poly-c"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="acl berkdb bzip2 caps cli cracklib crypt cxx dri fam gcc64 gdbm gmp gnutls iconv idn innodb inotify libwww lzma maildir modules mpfr ncurses nls nptl openmp pam pcre readline session slang sparc ssl threads udev unicode xattr xml xml2 zlib" ELIBC="glibc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-apps/kbd-2.0.1 was built with the following:
USE="nls pam -test"
Comment 1 Alexey Gladkov 2014-04-23 12:04:25 UTC
Can you confirm this bug for master branch ?

http://git.kernel.org/cgit/linux/kernel/git/legion/kbd.git
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-23 16:54:51 UTC
(In reply to Alexey Gladkov from comment #1)
> Can you confirm this bug for master branch ?
> 
> http://git.kernel.org/cgit/linux/kernel/git/legion/kbd.git

Seems to be fixed:

http://git.kernel.org/cgit/linux/kernel/git/legion/kbd.git/commit/?id=363185b72ccb5279fa950a378ebd93c082078d39

Sorry for wasting your time before searching the git repo.

+*kbd-9999 (23 Apr 2014)
+*kbd-2.0.1-r1 (23 Apr 2014)
+
+  23 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> -kbd-1.15.3.ebuild,
+  +kbd-2.0.1-r1.ebuild, +kbd-9999.ebuild:
+  Fixed loadkeys not working on big_endian machines (bug #508436). Added live
+  ebuild. Removed old.
+