Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 401611

Summary: dev-libs/libnl-3.2.7 - configure fails with missing sys-devel/flex and virtual/yacc
Product: Gentoo Linux Reporter: bay <alex3255>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 380499    

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.