When compiled with USE=-spell, app-editors/gvim-7.0_alpha20050622 fails to link with: objects/buffer.o(.text+0x2d8a): In function `get_winopts': : undefined reference to `did_set_spelllang' objects/eval.o(.text+0xfca3): In function `f_spellbadword': : undefined reference to `spell_move_to' objects/eval.o(.text+0xfcd3): In function `f_spellbadword': : undefined reference to `spell_check' objects/eval.o(.text+0xfd7b): In function `f_spellsuggest': : undefined reference to `spell_suggest_list' objects/ex_docmd.o(.data+0xa38): undefined reference to `ex_mkspell' objects/ex_docmd.o(.data+0xfb4): undefined reference to `ex_spell' objects/ex_docmd.o(.data+0xfc0): undefined reference to `ex_spell' objects/mbyte.o(.text+0x265): In function `mb_init': : undefined reference to `spell_reload' objects/normal.o(.text+0x55fc): In function `nv_zet': : undefined reference to `spell_suggest' objects/normal.o(.text+0x59a1): In function `nv_zet': : undefined reference to `spell_add_word' objects/normal.o(.text+0x77d8): In function `nv_brackets': : undefined reference to `spell_move_to' collect2: ld returned 1 exit status Reproducible: Always Steps to Reproduce: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4. 20041102-r1, 2.6.12 i686) ================================================================= System uname: 2.6.12 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.2.3-r5, 2.3.5 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4. 20041102-r1, 2.6.12 i686) ================================================================= System uname: 2.6.12 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.2.3-r5, 2.3.5 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/bin/startx /usr/kde/2/share/config /usr/kde/3/share/co nfig /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/sh are/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/te x/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /usr/X11R6/lib/X11/xkb /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy collision_protect distlocks manifest sandbox sfperms strict test userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk" LANG="en_GB.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apache2 avi berkdb bitmap-fonts cardbus cdparanoia cdr crypt curl dga disablexmb dvd emboss encode fbcon flac font-server foomaticdb gd gdbm ggi glep gpm gtk gtk2 imagemagick imlib ipv6 jpeg libg++ libwww mad maildir mikmod mmx motif mozilla mozsvg mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pcmcia pdflib perl png python quicktime readline rtc ruby slang softmmu sse sse2 ssl svga tcltk tcpd tetex threads truetype truetype-fonts type1-fonts unicode usb vim-pager vorbis win32codecs xinerama xml2 xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
The current -spell patch is broken and needs to be redone. It is a much larger patch than the previous one and I haven't got to it yet.
*** Bug 98104 has been marked as a duplicate of this bug. ***
As of 20050809, spell things are always enabled. This will change before we remove vim7 from p.mask, but that's a while off.