Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123471 - sys-devel/flex-2.5.31 fails with m4 is not GNU m4
Summary: sys-devel/flex-2.5.31 fails with m4 is not GNU m4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-20 02:53 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-02-20 12:06 UTC (History)
1 user (show)

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


Attachments
flex-2.5.31-gm4.patch (flex-2.5.31-gm4.patch,1.51 KB, patch)
2006-02-20 02:54 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-20 02:53:39 UTC
Since 2.5.30 or similar flex now uses GNU m4 to create its output. Unfortunately up to 2.5.31, it doesn't check if m4 is GNU m4 or not, so when used on a system which USERLAND is not GNU it fails (with a -P option not found usually).

Upstream already fixed this in CVS with a complete solution; the attached is mostly an hack but it's the least invasive thing I can think of.

Thanks,
Diego

P.S.: flex should  have an RDEPEND on sys-devel/m4.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-20 02:54:33 UTC
Created attachment 80258 [details, diff]
flex-2.5.31-gm4.patch
Comment 2 SpanKY gentoo-dev 2006-02-20 12:06:54 UTC
in cvs, thanks