Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 23768

Summary: vim-6.2 has wrong setting for VIMRUNTIME
Product: Gentoo Linux Reporter: Aron Griffis (RETIRED) <agriffis>
Component: Current packagesAssignee: Aron Griffis (RETIRED) <agriffis>
Status: RESOLVED CANTFIX    
Severity: normal CC: matt
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aron Griffis (RETIRED) gentoo-dev 2003-06-30 10:52:53 UTC
This is a meta-bug to describe a problem many people are filing bugs about.  The
bug is that when you run vim after updating to 6.2, it gives this error:

$ vim
Error detected while processing /etc/vim/vimrc:
line   54:
E484: Can't open file /usr/share/vim/vim61/syntax/syntax.vim

The problem is that VIMRUNTIME was set in /etc/env.d by previous versions of the
vim ebuild.  In the current vim ebuilds, it is not set at all, since the binary
already knows where its data files live.  The effect for users is that you must
do the following:

1. For any currently-running terminals, unset VIMRUNTIME

2. For any new terminals in the current X session, you will need to unset
VIMRUNTIME.  This is because your new terminals will inherit the old VIMRUNTIME
setting from the parent environment.

3. Eventually, when you logout of X and back in, the bogus VIMRUNTIME setting
will disappear.  You should be all set at that point.

Hopefully this problem won't appear again because we're no longer setting
VIMRUNTIME in the environment, so updates of vim (regardless of version changes)
should be smooth.  Sorry for the inconvenience this time.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2003-06-30 10:55:21 UTC
Marking CANTFIX since we have no way around this problem at present.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-06-30 10:58:59 UTC
*** Bug 23765 has been marked as a duplicate of this bug. ***
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-09-27 06:40:39 UTC
Resolving CANTFIX