Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383477 - net-fs/autofs-5*: add virtual/yacc and sys-devel/flex to DEPEND
Summary: net-fs/autofs-5*: add virtual/yacc and sys-devel/flex to DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autodep
  Show dependency tree
 
Reported: 2011-09-18 11:22 UTC by bay
Modified: 2011-09-21 15:49 UTC (History)
2 users (show)

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


Attachments
Build log. (autofs.txt,17.92 KB, text/plain)
2011-09-18 11:22 UTC, bay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bay 2011-09-18 11:22:54 UTC
Created attachment 286883 [details]
Build log.

Package net-fs/autofs doesn't builds without virtual/yacc and without sys-devel/flex packages.

The errors is:
if without flex: 
checking for flex... no
checking for lex... no
configure: error: required program LEX not found

if without virtual/yacc:
checking for flex... /usr/bin/flex
checking for bison... no
configure: error: required program YACC not found

Please add virtual/yacc to DEPEND and sys-devel/flex in DEPEND or in RDEPEND of virtual/yacc.
Comment 1 Dustin Polke 2011-09-19 08:06:52 UTC
Thanks for the report.

I've check all autofs ebuilds in tree and all ebuild for autofs-5 lack these DEPENDS.
Peter, would you please add it at least to all stable versions of autofs-5 series.

Thanks,
Dustin
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2011-09-19 08:14:59 UTC
Thank you guys. Since we are going to remove previous versions I've added only into: autofs-5.0.5-r4.ebuild autofs-5.0.6-r2.ebuild. Fixed.
Comment 3 Dustin Polke 2011-09-20 07:45:13 UTC
Peter, I re-open this bug as a reminder for you instead of sending you an email as requested on IRC.

This is excerpt from configure.in of any autofs-5 version in tree:
"""
[...]
#
# Programs needed for various system functions or modules
#
[...]
AF_CHECK_PROG(LEX, flex lex, , $searchpath)
AF_CHECK_PROG(YACC, bison, , $searchpath)
[...]
"""

We need to DEPEND on flex as well, I guess.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2011-09-21 15:49:11 UTC
Fixed for real. Thank you!