<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>129299</bug_id>
          
          <creation_ts>2006-04-08 19:25 0000</creation_ts>
          <short_desc>app-editors/vile-0.9.5 fails to emerge</short_desc>
          <delta_ts>2006-06-07 08:14:37 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>fleshy_ai@hotmail.com</reporter>
          <assigned_to>vim@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>fleshy_ai@hotmail.com</who>
            <bug_when>2006-04-08 19:25:37 0000</bug_when>
            <thetext>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 &quot;#include &lt;flt_defs.h&gt;&quot; &gt; sql-filt.c
flex -t sql-filt.l &gt;&gt; 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: &apos;LEAD&apos; 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&apos;
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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=athlon-xp -pipe &quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=athlon-xp -pipe &quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://gentoo.osuosl.org/&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.us.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chutzpah@gentoo.org</who>
            <bug_when>2006-05-16 11:38:51 0000</bug_when>
            <thetext>Created an attachment (id=86869)
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chutzpah@gentoo.org</who>
            <bug_when>2006-06-07 08:14:37 0000</bug_when>
            <thetext>Patch committed to CVS.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>86869</attachid>
            <date>2006-05-16 11:38 0000</date>
            <desc>vile-0.95-define-LEAD-before-use.patch</desc>
            <filename>vile-0.95-define-LEAD-before-use.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHZpbGUtOS41L2ZpbHRlcnMvc3FsLWZpbHQubC5vcmlnCTIwMDYtMDUtMTYgMTQ6MzU6NDYu
MDAwMDAwMDAwIC0wNDAwCisrKyB2aWxlLTkuNS9maWx0ZXJzL3NxbC1maWx0LmwJMjAwNi0wNS0x
NiAxNDozNjowMS4wMDAwMDAwMDAgLTA0MDAKQEAgLTI5LDcgKzI5LDYgQEAKIHN0YXRpYyBjaGFy
ICpTdHJpbmdfYXR0cjsKIAogc3RhdGljIGludCBuZXh0X2xpbmU7CQkvKiBzdGF0ZSBhZnRlciBv
bmUtbGluZSBTUUwqUGx1cyAqLwotc3RhdGljIGludCBzYXZlZF9zdGF0ZSA9IExFQUQ7CiAKIC8q
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKiovCiAKQEAgLTU1LDYgKzU0LDggQEAKIAogJSUKIAorc3RhdGlj
IGludCBzYXZlZF9zdGF0ZSA9IExFQUQ7CisKIDxMRUFEPntJREVOVH0JCXsgICBjaGFyICp0ZXh0
ID0gbG93ZXJjYXNlX29mKHl5dGV4dCk7CiAJCQkgICAgY2hhciAqYXR0ciA9IGNpX2tleXdvcmRf
YXR0cih0ZXh0KTsKIAkJCSAgICBEUFJJTlRGKCgieyVzLT4lc30iLCB0ZXh0LCBOT05OVUxMKGF0
dHIpKSk7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>