Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401611 - dev-libs/libnl-3.2.7 - configure fails with missing sys-devel/flex and virtual/yacc
Summary: dev-libs/libnl-3.2.7 - configure fails with missing sys-devel/flex and virtua...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autodep
  Show dependency tree
 
Reported: 2012-01-31 09:28 UTC by bay
Modified: 2012-01-31 17:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bay 2012-01-31 09:28:14 UTC
Package dev-libs/libnl-3.2.7 cannot be compiled without sys-devel/flex and virtual/yacc.

The error is:
/var/tmp/portage/dev-libs/libnl-3.2.7/work/libnl-3.2.7/missing: line 52: flex: command not found
WARNING: `flex' is missing on your system.  You should only need it if
         you modified a `.l' file.  You may need the `Flex' package
         in order for those modifications to take effect.  You can get
         `Flex' from any GNU archive site.
.....

route/pktloc.c:41:28: fatal error: pktloc_grammar.h: No such file or directory
compilation terminated.
make[2]: *** [route/pktloc.lo] Error 1

Steps to reproduce:
1) emerge -C flex
2) emerge libnl

Please add sys-devel/flex and virtual/yacc as a buildtime dependency of dev-libs/libnl-3.2.7
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-31 17:49:08 UTC
That's a configure error - I doubt whether those tools are actually used, though.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-31 17:56:30 UTC
It appears to be hard to tell when those files need updating, so I am going to add the deps anyway.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-31 17:59:21 UTC
Fixed. Thanks for reporting.