isn't it time to : 1) remove 2.5.4a which is by far outdated 2) rename to 2.5.04a to tell portage what the newest is Reproducible: Always Steps to Reproduce: 1. 2. 3.
seems flex 2.5.28 => 2.5.31 are partially broken : with them, modutils, xfree and wine fail to compile mholzer applied a patch to flex => 2.5.31-r1 to make modutils compile with it a patch for xfree 4.3 to compile is also available on flex sf.net site lots of distro prefer to stick to older 2.5.4, i now know why we'd better see how LFS and Debian handle this flex problem
modutils : http://bugs.gentoo.org/show_bug.cgi?id=36233 http://bugs.gentoo.org/show_bug.cgi?id=31240 unixODBC : http://bugs.gentoo.org/show_bug.cgi?id=23633 xfree : (and openoffice) http://bugs.gentoo.org/show_bug.cgi?id=35883 libIDL : http://bugs.gentoo.org/show_bug.cgi?id=21368 for xfree, a flex-2.5.31 patch is available there : http://sourceforge.net/tracker/index.php?func=detail&aid=720976&group_id=72099&atid=533379 and the bug which was reported to xfree bugzilla : http://bugzilla.xfree.org/show_bug.cgi?id=954
Created attachment 22676 [details] Ebuild with good flex. This ebuild got debian patches for flex-2.5.31 (revision number of the patches is 2.5.31). Should resolve flex problems.
The new ebuild crashes my system on Xfree starts, so in my humble opinion the best option it's write to flex developer as it can release a new and good version.
Sorry, isn't an Xfree error. It's an xfree-drm error. When do you use an unstable system do you need to do a lot of compilations for know where it's the fail, so the ebuild submitted it's OK, try it :).
Created attachment 22871 [details] Correct ebuild (again). I saw that i forgot to readd the yytext_ptr patch, sorry for the incovenience.
closing this bug as now newer flex are masked, waiting for a fixed one
I see that flex-2.5.31 is still masked :( Debian has a fix for some of the bugs (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=188665) In particular, the one that causes x11 ebuild to fail with: ---------------------------------------------------------- <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.) ---------------------------------------------------------- I think that the relevant part of the diff is: --- flex-2.5.31.orig/gen.c +++ flex-2.5.31/gen.c @@ -1812,7 +1812,6 @@ if (yytext_is_array) { if (!reentrant){ indent_puts ("static int yy_more_offset = 0;"); - }else{ indent_puts ("static int yy_prev_more_offset = 0;"); }