Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23768 - vim-6.2 has wrong setting for VIMRUNTIME
Summary: vim-6.2 has wrong setting for VIMRUNTIME
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
: 23765 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-30 10:52 UTC by Aron Griffis (RETIRED)
Modified: 2003-09-27 06:40 UTC (History)
1 user (show)

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 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