Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568842 - sys-devel/flex-2.6.0[-test] fails to build without sys-devel/bison installed: yacc: e - line 28 of ".../tests/bison_yylval_parser.y", syntax error
Summary: sys-devel/flex-2.6.0[-test] fails to build without sys-devel/bison installed:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-20 01:47 UTC by Matthias Maier
Modified: 2015-12-20 18:05 UTC (History)
0 users

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


Attachments
emerge --info sys-devel/flex (emerge.info,5.32 KB, text/plain)
2015-12-20 01:47 UTC, Matthias Maier
Details
build.log (build.log,26.55 KB, text/x-log)
2015-12-20 01:48 UTC, Matthias Maier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Maier gentoo-dev 2015-12-20 01:47:37 UTC
Created attachment 419866 [details]
emerge --info sys-devel/flex

For whatever reason flex-2.6.0 seems to invoke its tests despite USE="-test" and fails due to missing sys-devel/bison (which is only pulled in for USE="test").

Emerging sys-devel/bison prior to merging is a functional workaround.
Comment 1 Matthias Maier gentoo-dev 2015-12-20 01:48:33 UTC
Created attachment 419868 [details]
build.log
Comment 2 SpanKY gentoo-dev 2015-12-20 18:05:03 UTC
flex is running into a limitation of automake.  BUILT_SOURCES cannot be made dynamic (like `make check`) and all of those are processed as soon as make is run in the subdir (regardless of target).

http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8edfc50dab0424fe3db9741c3e5ccb9a0e0588a9