Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178739 - app-editors/vim-core-7.1-r1 / app-editors/vim-7.1-r1 error with syntax highlighting
Summary: app-editors/vim-core-7.1-r1 / app-editors/vim-7.1-r1 error with syntax highli...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 11:03 UTC by Tobias Klausmann (RETIRED)
Modified: 2007-05-17 11:13 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 Tobias Klausmann (RETIRED) gentoo-dev 2007-05-16 11:03:46 UTC
I recently merged vim{-core,}-7.1-r1 and noticed that syntax highlighting doesn't work anymore. When I use :syn on for pretty any file, I get:

Error detected while processing /usr/share/vim/vim71/syntax/syntax.vim:
line 42: E216: No such group or event: filetypedetect BufRead

Incidentally, on my workstation, I have compiled vim{core,}-7.1-r1 with exactly the same USE flags, where syntax highlighting works perfectly. Only difference: mey WS is a P4, the machine with the error is a Quad-Opteron

emerge --info:
Portage 2.1.2.7 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.20.7 x86_64)
=================================================================
System uname: 2.6.20.7 x86_64 Dual-Core AMD Opteron(tm) Processor 2218
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 16 May 2007 09:20:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=opteron"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=opteron"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict userprivi"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage"
USE="alsa amd64 animgif apache2 arts bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gpm gstreamer gtk2 hal iconv ipv6 isdnlog jpeg kde libg++ mad midi mikmod mp3 ncurses nls nptl nptlonly ogg oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis xml xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Togge 2007-05-16 11:46:27 UTC
I got this kind of error when -core and the gui (term/X) packages where of different revision. Are you sure that the core is updated and that the files where installed (no CONFIG_PROTECT, or similar)?
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2007-05-16 12:02:52 UTC
# eix -c -I -n vim
[I] app-editors/vim (7.1-r1@05/16/2007): Vim, an improved vi-style text editor
[I] app-editors/vim-core (7.1-r1@05/16/2007): vim and gvim shared files
Found 2 matches.
#

I'd say it's in sync. Also, etc-update reports no files to merge. I remerged both packages, to no avail.
Comment 3 Mike Kelly (RETIRED) gentoo-dev 2007-05-17 01:29:02 UTC
What does :scriptnames say?
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2007-05-17 11:10:46 UTC
  1: /etc/vim/vimrc                                                   
  2: /usr/share/vim/vim71/syntax/syntax.vim
  3: /usr/share/vim/vim71/syntax/synload.vim
  4: /usr/share/vim/vim71/syntax/syncolor.vim
  5: /home/klausman/.vim/filetype.vim
  6: /usr/share/vim/vim71/filetype.vim
  7: /usr/share/vim/vimfiles/ftdetect/gentoo.vim
  8: /usr/share/vim/vimfiles/ftdetect/nagios.vim
  9: /usr/share/vim/vim71/ftplugin.vim
 10: /home/klausman/.vimrc
 11: /usr/share/vim/vim71/macros/matchit.vim
 12: /usr/share/vim/vim71/syntax/nosyntax.vim
 13: /usr/share/vim/vim71/colors/murphy.vim
 14: /home/klausman/.vim/plugin/DrawIt.vim
 15: /home/klausman/.vim/plugin/calendar.vim
 16: /home/klausman/.vim/plugin/gnupg.vim
 17: /home/klausman/.vim/plugin/taglist.vim
 18: /home/klausman/.vim/plugin/tex_autoclose.vim
 19: /usr/share/vim/vimfiles/plugin/bugsummary.vim
 20: /usr/share/vim/vimfiles/plugin/gentoo-common.vim
 21: /usr/share/vim/vimfiles/plugin/newebuild.vim
 22: /usr/share/vim/vimfiles/plugin/newinitd.vim
 23: /usr/share/vim/vimfiles/plugin/newmetadata.vim
 24: /usr/share/vim/vim71/plugin/getscriptPlugin.vim
 25: /usr/share/vim/vim71/plugin/gzip.vim
 26: /usr/share/vim/vim71/plugin/matchparen.vim
 27: /usr/share/vim/vim71/plugin/netrwPlugin.vim
 28: /usr/share/vim/vim71/plugin/rrhelper.vim
 29: /usr/share/vim/vim71/plugin/spellfile.vim
 30: /usr/share/vim/vim71/plugin/tarPlugin.vim
 31: /usr/share/vim/vim71/plugin/tohtml.vim
 32: /usr/share/vim/vim71/plugin/vimballPlugin.vim
 33: /usr/share/vim/vim71/plugin/zipPlugin.vim
 34: /usr/share/vim/vim71/syntax/cfg.vim
 35: /usr/share/vim/vimfiles/syntax/nagios.vim
 36: /usr/share/vim/vim71/ftplugin/vim.vim
 37: /usr/share/vim/vim71/syntax/vim.vim
 38: /usr/share/vim/vim71/syntax/perl.vim
 39: /usr/share/vim/vim71/syntax/ruby.vim
 40: /usr/share/vim/vim71/syntax/python.vim
 41: /usr/share/vim/vim71/syntax/tcl.vim
 42: /usr/share/vim/vim71/syntax/scheme.vim
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2007-05-17 11:13:09 UTC
Nevermind. I just found it.

Some weird script setup with another user mashed up the script paths.

Thanks for pointing me in the right direction.