[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511209: xbase-clients: xkbcomp produces unhelpful error messages



Package: xbase-clients
Version: 1:7.1.ds1-2
Severity: wishlist


$setxkbmap -print
xkb_keymap {
	xkb_keycodes  { include "xfree86+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc(pc105)+us"	};
	xkb_geometry  { include "pc(pc105)"	};
};

$setxkbmap -print | xkbcomp -
syntax error: line 1 of misc
last scanned symbol is: AudibleBell
Error:            Error interpreting include file "misc"
                  Exiting
                  Abandoning compatibility map "complete"
                  Abandoning compatibility map "(null)"

xkbcomp fails because I have misc/ directory in the current directory. xkbcomp
should print absolute path of the file it failed to include (and mentioned it
found directory instead of file), it would help to resolve such problems
faster (and you can see some people suffering from this problem on Google).

Solution for `syntax error' (for people googling for the problem):
xkbcomp -R/usr/share/X11/xkb ~/.Xkeymap "$DISPLAY"

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (600, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-4-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages xbase-clients depends on:
ii  libc6                  2.3.6.ds1-13etch8 GNU C Library: Shared libraries
ii  libfontconfig1         2.4.2-1.2         generic font configuration library
ii  libfreetype6           2.2.1-5+etch3     FreeType 2 font engine, shared lib
ii  libfs6                 2:1.0.0-4         X11 Font Services library
ii  libgl1-mesa-glx [libgl 6.5.1-0.6         A free implementation of the OpenG
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libpng12-0             1.2.15~beta5-1    PNG library - runtime
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxau6                1:1.0.1-2         X11 authorisation library
ii  libxaw7                1:1.0.2-4         X11 Athena Widget library
ii  libxcursor1            1.1.7-4           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension librar
ii  libxft2                2.1.8.2-8         FreeType-based font drawing librar
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxkbfile1            1:1.0.3-2         X11 keyboard file manipulation lib
ii  libxmu6                1:1.0.2-2         X11 miscellaneous utility library
ii  libxmuu1               1:1.0.2-2         X11 miscellaneous micro-utility li
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client libra
ii  libxss1                1:1.1.0-1         X11 Screen Saver extension library
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  libxtrap6              1:1.0.0-4         X11 event trapping extension libra
ii  libxtst6               1:1.0.1-5         X11 Testing -- Resource extension 
ii  libxv1                 1:1.0.2-1         X11 Video extension library
ii  libxxf86dga1           2:1.0.1-2         X11 Direct Graphics Access extensi
ii  libxxf86vm1            1:1.0.1-2         X11 XFree86 video mode extension l
ii  x11-common             1:7.1.0-19        X Window System (X.Org) infrastruc
ii  zlib1g                 1:1.2.3-13        compression library - runtime

xbase-clients recommends no packages.

-- no debconf information



Reply to: