gcc -O2 -march=pentium4 -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXENVIRONMENT -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"' -c -o lexer.o lexer.c <stdout>: In function `yylex': <stdout>:1199: error: `yy_prev_more_offset' undeclared (first use in this function) <stdout>:1199: error: (Each undeclared identifier is reported only once <stdout>:1199: error: for each function it appears in.) make[4]: *** [lexer.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/config/pswrap' make[3]: *** [../../config/pswrap/pswrap] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib/dps' make[2]: *** [includes] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib' make[1]: *** [includes] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.7.0-r2 failed. !!! Function src_compile, Line 579, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: Portage 2.0.51_pre13 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r6 i686 ) ================================================================= System uname: 2.6.7-gentoo-r6 i686 Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fnew-ra -ftracer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fnew-ra -ftracer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa avi crypt cups encode gdbm gif gpm gtk2 hardened imlib jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl svga tcpd threads truetype x86 xml xml2 xmms xv zlib linguas_ru"
flex 2.5.31
oops flex 2.5.31-r1 is installed
http://freedesktop.org/pipermail/xorg/2004-May/000746.html Upgrade your flex to 2.5.4a-r5.
*** Bug 86120 has been marked as a duplicate of this bug. ***