Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129299 - app-editors/vile-0.9.5 fails to emerge
Summary: app-editors/vile-0.9.5 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-04-08 19:25 UTC by Nathan Blomquist
Modified: 2006-06-07 08:14 UTC (History)
0 users

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


Attachments
vile-0.95-define-LEAD-before-use.patch (vile-0.95-define-LEAD-before-use.patch,577 bytes, patch)
2006-05-16 11:38 UTC, Patrick McLean
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Blomquist 2006-04-08 19:25:37 UTC
There error is here:

i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe   -fno-strict-aliasing -pipe -Wdeclaration-after-statement   -o vile-spell-filt spellflt.o filterio.o filters.o -lfl
echo "#include <flt_defs.h>" > sql-filt.c
flex -t sql-filt.l >> sql-filt.c
i686-pc-linux-gnu-gcc -c -I. -I.. -I../filters -I.. -DHAVE_CONFIG_H  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i686-linux/CORE  -D_GNU_SOURCE -O2 -march=athlon-xp -pipe   -fno-strict-aliasing -pipe -Wdeclaration-after-statement  sql-filt.c
sql-filt.l:32: error: 'LEAD' undeclared here (not in a function)
make[1]: *** [sql-filt.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/vile-9.5/work/vile-9.5/filters'
make: *** [all] Error 2

!!! ERROR: app-editors/vile-9.5 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  vile-9.5.ebuild, line 27:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


My emerge info is:

Portage 2.1_pre7-r4 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3nowext X apm avi berkdb bitmap-fonts bzip2 crypt cups dri eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kqemu libg++ libwww mad mikmod motif mozsvg mp3 mpeg ncurses nls nptl nptlonly objc ogg oggvorbis opengl oss pam pdflib perl png pppd python readline samba sdl server spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts usb vorbis xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Patrick McLean gentoo-dev 2006-05-16 11:38:51 UTC
Created attachment 86869 [details, diff]
vile-0.95-define-LEAD-before-use.patch

This patch seems to fix the problem by making sure that LEAD is defined before the first usage.
Comment 2 Patrick McLean gentoo-dev 2006-06-07 08:14:37 UTC
Patch committed to CVS.