Vim seems to have been configured to point to look in the flat directory /usr/share/vim for all of its files; it seems the latest build (6.4) actually puts its files in /usr/share/vim/vim64, breaking syntax highlighting & erroring out on parsing /etc/vim/vimrc. (No in-depth tracing done) Reproducible: Always Steps to Reproduce: 1. Emerge vim-6.4 2. Run gvim Actual Results: Gvim comes up, but not completely configured, and spits out the following error: Error detected while processing /etc/vim/vimrc: line 87: E484: Can't open file /usr/share/vim/syntax/syntax.vim Expected Results: Successfully turned on syntax highlighting & completed processing the vimrc file. Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-hardened-r1 i686) ================================================================= System uname: 2.6.13-hardened-r1 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X X509 acl apm async avi bash-completion bcmath berkdb bitmap-fonts bzip2 calendar caps cgi chroot cli cracklib crypt curl dba directfb ecc eds emboss encode erandom extensions fbcon flatfile foomaticdb ftp gd gdbm gif glibc-omitfp gmp gnutls gpgme gpm gs gstreamer gtk2 hardened hardenedphp hpn idea idn imagemagick imap imlib inifile ithreads jpeg ldap libclamav libg++ libwww linuxthreads-tls logrotate mad mailwrapper md5sum mhash mikmod mmx motif mozsvg mp3 mysql mysqli ncurses nls nntp nolvmstatic nptl nptlonly nsplugin ogg oggvorbis opengl pcre pdflib pear perl png pop3 posix python qt quicktime readline samba sample sasl server skey smime smtp snmp sockets spell sqlite sse sse2 ssl swat sysfs syslog sysvipc tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis xml xml2 xmlrpc xmms xsl xv zip zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Exact versions of vim, gvim and vim-core please?
This seems to have been an issue with vi/gvim version 6.3.086; for some reason it was skipped in an 'emerge -uvND world' and never got to version 6.4. Updating eliminates the bug - marking this as INVALID
My vim is terrible! just updated from 6.3.084 to 6.4 (vim & vim-core) It is just displaying any files content in a much smaller size than the terminal (gnome's or tty{1,6} ) wide and high. Color sintax does not works anymore nor backspace (!?!?!) ...r u guys sure this bug is invalid? Thx in advance for any help! PS: sorry about my english! Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/bmg-main /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac alsa apache2 apm audiofile avi bash-completion bitmap-fonts bonobo bzip2 bzlib cdparanoia cdr crypt cups curl dbus divx4linux dts dv dvb dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fbcon ffmpeg flac font-server foomaticdb fortran ftp gd gdbm gif glut gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imap imlib innodb jack java jpeg junit lcms ldap libg++ libwww lirc lm_sensors mad maildir mailwrapper matroska mhash mikmod mime ming mmx mng mono mp3 mpeg msn mysql ncurses nls nptl ogg oggvorbis openal opengl oss pam pcre pdflib perl php png pnp posix ppds python quicktime readline recode samba sdl shared slp sndfile sockets sox spell sqlite ssl svg svga symlink sysvipc tcltk theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vailas vcd videos vorbis wifi win32codecs wmf xine xml xml2 xmlrpc xmms xosd xpm xv xvid zlib linguas_en linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS [ebuild U ] app-editors/vim-core-6.4 [6.3.084] -acl +bash-completion -livecd +nls 0 kB [ebuild U ] app-editors/vim-6.4 [6.3.084] -acl +bash-completion -cscope +gpm -minimal +nls +perl +python -ruby -vim-with-x 0 kB
For the context, yes - I still consider it invalid. My problem was that GVIM never got updated and was stuck at the old version, configurations, and so on. If your problem is gvim, make sure you've got the right version installed; otherwise, please search the forums or submit another bug.