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

Bug 22528

Summary: vim 6.2 tries to read syntax file for vim 6.1
Product: Gentoo Linux Reporter: Luke Graham <luke>
Component: New packagesAssignee: Aron Griffis (RETIRED) <agriffis>
Status: RESOLVED INVALID    
Severity: normal CC: horacio, kodos, thedj
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luke Graham 2003-06-09 20:20:53 UTC
After emerging vim 6.2... 
 
tundra root # vim 
Error detected while processing /etc/vim/vimrc: 
line   43: 
E484: Can't open file /usr/share/vim/vim61/syntax/syntax.vim 
Hit ENTER or type command to continue 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



A symlink fixes the problem of course, but...
Comment 1 Luke Graham 2003-06-09 23:01:03 UTC
I see, its the env var VIMRUNTIME=/usr/share/vim/vim61 still hanging around... (from 
the old ebuild??) Maybe just a message warning people would be enough? 
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-06-22 13:06:28 UTC
Hi Luke.  You're right, the problem is that the old environment variable is still hanging around, and we've no easy way to remove it from the environment of the current shell.  And there's already a warning posted (in the vim eclass)

if [ -n "$VIMRUNTIME" -a "${VIMRUNTIME##*/vim}" != "${VIM_VERSION/.}" ]; then
        ewarn
        ewarn "WARNING: You have VIMRUNTIME set in your environment from an old"
        ewarn "installation.  You will need to either unset VIMRUNTIME in each"
        ewarn "terminal, or log out completely and back in.  This problem won't"
        ewarn "happen again since the ebuild no longer sets VIMRUNTIME."
        ewarn
fi
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-06-28 15:24:15 UTC
*** Bug 23654 has been marked as a duplicate of this bug. ***
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-06-28 19:07:39 UTC
*** Bug 23656 has been marked as a duplicate of this bug. ***
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-07-01 13:33:51 UTC
*** Bug 23823 has been marked as a duplicate of this bug. ***
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-07-07 08:10:02 UTC
*** Bug 24045 has been marked as a duplicate of this bug. ***
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2003-09-27 06:39:31 UTC
Resolving INVALID since this bug was accidentally reopened