Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125283 - Internal error when building the PHP scanner with sys-devel/flex 2.5.33-r1
Summary: Internal error when building the PHP scanner with sys-devel/flex 2.5.33-r1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 12:39 UTC by Nuno Lopes
Modified: 2006-03-21 06:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Lopes 2006-03-06 12:39:33 UTC
PHP fails to compile with flex 2.5.33-r1, because flex fails with:
flex: fatal internal error, bad line in skeleton file

Files in: http://cvs.php.net/viewcvs.cgi/ZendEngine2/
zend_language_scanner.l and flex.skl
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-06 12:43:38 UTC
This stupid flex version just keeps breaking stuff... :/
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2006-03-07 00:06:19 UTC
PHP supports no version of flex later than flex 2.5.4.

Why are we not using the generated files that come with the tarball?
Comment 3 Nuno Lopes 2006-03-07 10:43:33 UTC
I'm compiling from CVS..
Comment 4 Sebastian Bergmann (RETIRED) gentoo-dev 2006-03-09 09:25:29 UTC
Please only file bugs about the PHP ebuilds, not about UPSTREAM PHP not building with Gentoo's toolchain.

Please take this UPSTREAM and file a bug at bugs.php.net about PHP being not buildable with recent versions of flex.

Thank you.
Comment 5 Nuno Lopes 2006-03-09 10:54:04 UTC
but I think this is a flex error, rather than a PHP one..
Comment 6 Sebastian Bergmann (RETIRED) gentoo-dev 2006-03-10 22:00:51 UTC
Reassigning to base-system@gentoo.org who are listed as the maintainers of sys-devel/flex.
Comment 7 SpanKY gentoo-dev 2006-03-20 17:16:33 UTC
upstream php devs are already aware of this:
http://bugs.php.net/bug.php?id=28823
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 23:38:38 UTC
(In reply to comment #7)
> upstream php devs are already aware of this:
> http://bugs.php.net/bug.php?id=28823

No pun intented, but did you note the dates on that upstream bug (and on the linked thread)? Marking this bug UPSTREAM won't solve the issue that php-5 won't build with current stable version of flex since flex just bombs out. Also, this is not exactly php fault, IMHO.
Comment 9 SpanKY gentoo-dev 2006-03-21 06:48:01 UTC
> No pun intented,

you cant use that phase unless you actually used a pun ... and you didnt ...

> but did you note the dates on that upstream bug (and on the linked thread)?

yes ... and if you read the sf bug tracker, you'll see that people are looking into it

> Marking this bug UPSTREAM won't solve the issue that php-5
> won't build with current stable version of flex since flex just bombs out.

this bug report has nothing to do with building php releases ... this has to do with building code in php cvs