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...
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?
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
*** Bug 23654 has been marked as a duplicate of this bug. ***
*** Bug 23656 has been marked as a duplicate of this bug. ***
*** Bug 23823 has been marked as a duplicate of this bug. ***
*** Bug 24045 has been marked as a duplicate of this bug. ***
Resolving INVALID since this bug was accidentally reopened