| Summary: | compile error building re2c dependency in php-cvs | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Colin Daly <colin> |
| Component: | [OLD] Server | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | beu, lisa |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
proposed patch to fix gcc 3.x issues
New ebuild for 0.9.3 fron re2c.org |
||
|
Description
Colin Daly
2004-03-02 00:44:35 UTC
Weird, as it shouldn't try to recreate the scanner.cc file. Please post the output of 'ls /var/tmp/portage/re2c-0.9.1/work/re2c-0.9.1/' colin@notebook colin $ sudo ls /var/tmp/portage/re2c-0.9.1/work/re2c-0.9.1/ actions.cc basics.h CHANGELOG code.o dfa.h doc globals.h main.cc NO_WARRANTY parser.h parser.y README scanner.cc scanner.re substr.h Interesting. Is the clock on the machine calibrated? and by the way, this is surely not a blocker. Also, does the scanner.re file contain anything? Acknowledging the bug. Okay, the problem is that re2c-0.9.1 is just too old, too broken, and doesn't work with a modern C compiler. I've updated the re2c-0.9.1 ebuild to add the later gcc compiler as a blocker. There's some work going on over at re2c.org on fixing up re2c, but they haven't made a release. Someone needs to talk to them, and sort something out. Best regards, Stu don't mind me... i'll just lurk on this bug i feel partially responsible for unleashing re2c in bug 22110 ;) Created attachment 29179 [details, diff]
proposed patch to fix gcc 3.x issues
Sorry..borked on the attachment.. This fixes most of the gcc 3.x issues (just need to re-order the Makefile and touch a few headers).. I'll have a go at the rest once I've had some sleep 8) -Elfyn Created attachment 32143 [details] New ebuild for 0.9.3 fron re2c.org The new version from http://re2c.org should compile cleanly. Lisa seems to have commited the 0.9.3 ebuild three weeks ago, and it seems to compile cleanly on gcc 3.x (including 3.4.1 here). Closing then. |