Subject: port-i386/33649: kde or xorg problem (empty list of keyboard layouts in kde control center)
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <yury.tarasievich@gmail.com>
List: netbsd-bugs
Date: 06/05/2006 13:25:00
>Number:         33649
>Category:       port-i386
>Synopsis:       kde or xorg problem (empty list of keyboard layouts in kde control center)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 05 13:25:00 +0000 2006
>Originator:     Yury Tarasievich
>Release:        dragonflybsd-1.4.4
>Organization:
>Environment:
DragonFly deptty.in.grsu.by 1.4.4-RELEASE DragonFly 1.4.4-RELEASE #0: Wed May  3 16:27:37 EEST 2006     root@deptty.in.grsu.by:/p4/e/obj/p4/e/src/sys/HERE-10  i386

>Description:
I was experiencing problem with kde's control center, getting empty
list of keyboard layouts in KDE Control Center program.

After digging through the trace of kcontrol, I've seen the erroneous
requests for directories (see below, lines marked with "*"). Ad hoc
linking of .../lib/X11/xkb to .../lib/X11xkb did the trick, I 've got
my layouts.

---
*   835 kcontrol NAMI  "/usr/pkg/xorg/lib/X11xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x835b080,0)
*   835 kcontrol NAMI  "/etc/X11xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363240,0)
  835 kcontrol NAMI  "/usr/share/X11/xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363220,0)
  835 kcontrol NAMI  "/usr/local/share/X11/xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363220,0)
  835 kcontrol NAMI  "/usr/X11R6/lib/X11/xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363220,0)
  835 kcontrol NAMI  "/usr/X11R6/lib64/X11/xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363220,0)
  835 kcontrol NAMI  "/usr/local/X11R6/lib/X11/xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363220,0)
  835 kcontrol NAMI  "/usr/local/X11R6/lib64/X11/xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363260,0)
  835 kcontrol NAMI  "/usr/lib/X11/xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363240,0)
  835 kcontrol NAMI  "/usr/lib64/X11/xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363220,0)
  835 kcontrol NAMI  "/usr/local/lib/X11/xkb"
  835 kcontrol RET   access -1 errno 2 No such file or directory
  835 kcontrol CALL  access(0x8363220,0)
  835 kcontrol NAMI  "/usr/local/lib64/X11/xkb"
>How-To-Repeat:
The packages I'm using are:
# pkg_info |egrep '(xorg|kde)'
xorg-libs-6.9.0nb2  X.org Libraries
xorg-clients-6.9.0nb7 X.org client programs and related files
xorg-server-6.9.0nb10 X.org X server and related programs
xorg-dirs-1.1nb2    Shared X.org directories
xorg-fontsType1-6.8.2 X.org Type1 fonts
xorg-fontsMisc-6.9.0nb2 X.org miscellaneous bitmap fonts
xorg-fontsEncodings-6.9.0nb2 X.org Encoding fonts
xorg-docs-6.9.0     X.org Documentation
xorg-fonts100dpi-6.8.2 X.org 100dpi bitmap fonts
kdelibs-3.5.2nb2    Support libraries for the KDE integrated X11 desktop
kdebase-3.5.2nb2    Base modules for the KDE 3 integrated X11 desktop
kdegraphics-3.5.2nb1 Graphics programs for the KDE integrated X11 desktop
kdesdk-3.5.2nb2     Support applications and tools used by KDE developers
xorg-imake-6.9.0nb1 Imake and other utilities from X.org
kdepim-3.5.2nb2     Personal Information Management tools for the KDE desktop

>Fix:
Ad hoc linking of .../lib/X11/xkb to .../lib/X11xkb does the trick, layouts appear afterre-start of Control Center.