Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33477 - flex versionning problem (2.5.4a is 7 years old, 2.5.31 is 7 monthes old)
Summary: flex versionning problem (2.5.4a is 7 years old, 2.5.31 is 7 monthes old)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-14 13:08 UTC by Stephane Loeuillet
Modified: 2005-05-05 19:40 UTC (History)
2 users (show)

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


Attachments
Ebuild with good flex. (flex-2.5.31-r2.ebuild,941 bytes, application/octet-stream)
2003-12-26 10:11 UTC, Francisco José Cañizares Santofimia
Details
Correct ebuild (again). (flex-2.5.31-r2.ebuild,1006 bytes, application/octet-stream)
2003-12-30 13:00 UTC, Francisco José Cañizares Santofimia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Loeuillet 2003-11-14 13:08:59 UTC
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.
Comment 1 Stephane Loeuillet 2003-12-22 16:22:23 UTC
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
Comment 3 Francisco José Cañizares Santofimia 2003-12-26 10:11:50 UTC
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.
Comment 4 Francisco José Cañizares Santofimia 2003-12-27 05:35:20 UTC
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.
Comment 5 Francisco José Cañizares Santofimia 2003-12-27 09:30:24 UTC
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 :).
Comment 6 Francisco José Cañizares Santofimia 2003-12-30 13:00:29 UTC
Created attachment 22871 [details]
Correct ebuild (again).

I saw that i forgot to readd the yytext_ptr patch, sorry for the incovenience.
Comment 7 Stephane Loeuillet 2004-01-28 07:19:13 UTC
closing this bug as now newer flex are masked, waiting for a fixed one
Comment 8 Rafael Ávila de Espíndola 2005-05-05 19:40:24 UTC
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;");
                 }