Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148745 - app-text/gv looks for XKeysymDB in wrong locations
Summary: app-text/gv looks for XKeysymDB in wrong locations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-23 02:11 UTC by Gunnlaugur Thor Briem
Modified: 2006-11-18 02:15 UTC (History)
0 users

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 Gunnlaugur Thor Briem 2006-09-23 02:11:44 UTC
Recently gv started to output this on startup:

Warning: translation table syntax error: Unknown keysym name:  apLineDel

and most keys no longer worked (e.g. f and b for page forward and back)

This showed up in strace output:

open("/usr/lib64/X11/XKeysymDB", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/X11/XtErrorDB", O_RDONLY) = -1 ENOENT (No such file or directory)

so I slocated XKeysymDB and tried this:

ln -s /usr/share/X11/XKeysymDB /usr/lib64/X11/XKeysymDB

as a workaround, and that got rid of the problem.

As an aside, does this link also make sense?

ln -s /usr/share/X11/XErrorDB /usr/lib64/X11/XterrorDB

(i.e. are these files equivalent despite the name difference?)

In any case, the ebuild should probably see to it that these files are looked up in the right location, or supply the symlink itself (assuming that's an OK thing to do)

emerge --info follows:

Portage 2.1.1 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 FX-55 Processor
Gentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 08:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.is.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib akode alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cups divx4linux dlloader doc dri dvd dvdr dvdread eds elibc_glibc emboss encode exif fam fastcgi ffmpeg firefox flac foomaticdb fortran gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpeg2k kde kernel_linux kipi lcms libcaca lirc live lm_sensors lzw lzw-tiff mad mng mono mozdevelop mozsvg mp3 mpeg musicbrainz mysql mythtv ncurses nls nptl nptlonly nsplugin nvidia ofx ogg oggvorbis openal openexr opengl pam pcre pdf pdflib perl png povray pppd python qhull qt qt3 qt4 quicktime readline reflection ruby samba sdl session speex spell spl ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l v4l2 video_cards_nvidia vorbis wifi x264 xanim xine xmms xorg xpm xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-11-18 02:15:40 UTC
open("/usr/share/X11/XKeysymDB", O_RDONLY) = 4
read(4, "! $Xorg: XKeysymDB,v 1.3 2000/08"..., 8298) = 8298


opens the right one for me. Please rebuild gv and the depends. Reopen if it does not go away