Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31500 - Error detected while processing /etc/vim/vimrc
Summary: Error detected while processing /etc/vim/vimrc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-19 06:01 UTC by Stephane Chomat
Modified: 2003-10-19 07:17 UTC (History)
2 users (show)

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


Attachments
/etc/vim/vimrc (vimrc,2.79 KB, text/plain)
2003-10-19 06:24 UTC, Stephane Chomat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Chomat 2003-10-19 06:01:38 UTC
I want installed vim 6.2 and had not installed vim 6.1
When I edit any file, I have this message.
>Error detected while processing /etc/vim/vimrc:
>line   47:
>E484: Can't open file /usr/share/vim/vim61/syntax/syntax.vim

I think the file vim/vimrc must be modified and change
'/usr/share/vim/vim61/syntax/syntax.vim' to '/usr/share/vim/vim62/syntax/syntax.vim'



Reproducible: Always
Steps to Reproduce:
1. vim "any file"
2.
3.

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



Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://files.gentoo.gr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde gnome libg++
libwww mad mikmod motif mpeg ncurses nls oggvorbis pdflib png qt quicktime sdl
spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline X gpm pam ssl
python imlib gtk acpi alsa -arts cdr dvd gtk2 junit ldap mozilla perl plotutils
sasl scanner -tcpd tiff usb wmf opengl ofx"
Comment 1 Stephane Chomat 2003-10-19 06:14:38 UTC
no file /etc/env.d/40vim
In this file (vim 6.1)
  VIMRUNTIME=/usr/share/vim/vim61

To resolv this bug, add a file
/etc/env.d/40vim
  VIMRUNTIME=/usr/share/vim/vim62
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2003-10-19 06:21:47 UTC
could you attach your /etc/vim/vimrc?
Comment 3 Stephane Chomat 2003-10-19 06:24:59 UTC
Created attachment 19471 [details]
/etc/vim/vimrc

It 's the orignal vimrc from ebuild package.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-19 06:33:19 UTC
this is a relict from the 6.1 ebuild, there is a warning about it in the
6.2 version.
Comment 5 Stephane Chomat 2003-10-19 06:39:06 UTC
when update vim 6.1 to 6.2, the old files from vim 6.1 are not removed.
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-19 06:45:53 UTC
That's because /etc is CONFIG_PROTECT(ed) but there is a warning about this
in pkg_postinst.
Comment 7 Stephane Chomat 2003-10-19 06:53:55 UTC
But /usr/share/vim/vim61 isn't protected ? Why this directory and all contains
are not removed ?
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-19 06:56:31 UTC
emerge gentoolkit

qpkg -f /usr/share/vim/vim61/syntax/syntax.vim
Comment 9 Stephane Chomat 2003-10-19 07:08:19 UTC
/usr/share/vim/vim61/syntax/syntax.vim not find
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-19 07:17:48 UTC
so what content do you have in your vim61 dir ;)