| Summary: | flex-2.5.31 doesn't declare isatty for C++ code | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kenton Groombridge <rustyvega> |
| Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | amax, dulmandakh, iyosifov, mdobrev, vedran, x11 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | flex-2.5.31-isatty.patch | ||
|
Description
Kenton Groombridge
2006-02-07 14:23:08 UTC
(re)emerge sys-devel/flex and try again... Performed an emerge of sys-devel/flex and then emerged ttmkfdir with the same results. I posted the problem building transcode some time ago, and I am curious why nobody else seems to be posting any "me too" comments. Is it possible that I may have some hardware failure (CPU) that could be causing these? Thanks for your hard work. Ken *** Bug 122083 has been marked as a duplicate of this bug. *** . just try downgrade flex ? This looks like bug 13681 resurfaced. It merges for me with flex-2.5.4a-r6, but not with flex-2.5.31-r1. Ran into the same problem myself. An easy fix for those who want to compile straight away: On line 1587 of parser.cpp, change: extern int isatty (int ); to: extern int isatty (int) throw(); then re-emerge with FEATURES="keepwork". This is my first post on here; seems to work, but I have no idea whether it'll cause problems down the line :-) I was just about to post a "me too" comment. But David's suggestion fixes it. Thanks a lot, David! Created attachment 79268 [details, diff]
flex-2.5.31-isatty.patch
Comment on attachment 79268 [details, diff]
flex-2.5.31-isatty.patch
Rebuild flex with this patch (replace the existing one) to fix this bug. By the way I'm using a glibc overlay so I'm not sure if flex has the same problem with the glibc in portage.
*** This bug has been marked as a duplicate of 121920 *** wrong dupe ... *** This bug has been marked as a duplicate of 119598 *** *** Bug 122222 has been marked as a duplicate of this bug. *** |