Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109576 - vim startup files try to load syntax highlighting from wrong place
Summary: vim startup files try to load syntax highlighting from wrong place
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 08:08 UTC by Bruno Lustosa
Modified: 2005-10-17 11:35 UTC (History)
0 users

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


Attachments
local vim startup file here (vimrc,5.95 KB, text/plain)
2005-10-17 08:09 UTC, Bruno Lustosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Lustosa 2005-10-17 08:08:21 UTC
Just upgraded to vim-6.4. Now when I try to open vim, this is what I get:

$ vim
Error detected while processing /etc/vim/vimrc:
line   87:
E484: Can't open file /usr/share/vim/syntax/syntax.vim
Error detected while processing /home/lustosa/.vimrc:
line    1:
E484: Can't open file /usr/share/vim/syntax/syntax.vim
Hit ENTER or type command to continue

I tried etc-update, but there's no updated config file.
The syntax.vim file seems to be in /usr/share/vim/vim64/syntax
I'm attaching my local /etc/vim/vimrc, though I don't think I have changed
anything on it

Reproducible: Always
Steps to Reproduce:
1. emerge -u vim (on ~x86 here)
2. vim
3.

Actual Results:  
error messages and no syntax highlighting

Expected Results:  
no error messages and syntax highlighting

Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo i686)
=================================================================
System uname: 2.6.13-gentoo i686 AMD Athlon(tm) XP  2700+
Gentoo Base System version 1.12.0_pre9
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
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="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="pt_BR"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://alpha.hospedevip/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext X aalib acl acpi aim alsa apache2 apm arts avi
bash-completion berkdb bitmap-fonts bonobo bzip2 bzlib cddb cjk crypt cups curl
eds emboss encode esd fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk
gtk2 gtkhtml guile icq imagemagick imap imlib ipv6 irc java jpeg libg++ libwww
mad mbox mikmod mime mmx mmxext mozilla moznocompose moznoirc moznomail mp3 mpeg
msn mysql ncurses nis nls offensive ogg oggvorbis opengl oss pam pdflib perl php
png postgres procmail python quicktime readline recode samba sdl snmp spell sse
sse2 ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
unicode vorbis xml xml2 xmms xv yahoo zlib linguas_pt_BR userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Bruno Lustosa 2005-10-17 08:09:11 UTC
Created attachment 70851 [details]
local vim startup file here
Comment 2 Ciaran McCreesh 2005-10-17 11:19:17 UTC
What exact versions of vim, vim-core and gvim are you using? Most likely cause
of this is trying to use, say, vim-6.4b with vim-core-6.4.
Comment 3 Bruno Lustosa 2005-10-17 11:35:23 UTC
Bingo!
Got vim-core updated to 6.4, but portage still hasn't updated vim from 6.4b.
Shame on me!!
Sorry for taking your time.