Bug 2916

Summary: grub 1.99: do_configure: flex is too old on Redhat/CentOS 5.8
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Xin Ouyang <xin.ouyang>
Component: coreAssignee: Xin Ouyang <xin.ouyang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: corneliux.stoicescu, meta.mr.watcher, meta.watcher, sgw, xin.ouyang, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Xin Ouyang 2012-08-08 07:12:33 UTC
| checking for flex... flex
| checking lex output file root... lex.yy
| checking lex library... none needed
| checking whether yytext is a pointer... no
| checking for bison... (cached) bison
| checking whether make sets $(MAKE)... (cached) yes
| checking whether ln -s works... yes
| configure: error: flex is too old. GRUB requires 2.5.35 or above
| ERROR: oe_runconf failed
| ERROR: Function failed: do_configure (see /buildarea/xouyang/x86_std/bitbake_build/tmp/work/i686-wrs-linux/grub-1.99-r9/temp/do_configure/log.do_configure.23260 for further information)
NOTE: package grub-1.99-r9: task do_configure: Failed
ERROR: Task 6 (/buildarea/xouyang/x86_std/layers/oe-core/meta/recipes-bsp/grub/grub_1.99.bb, do_configure) failed with exit code '1'

So, should add flex-native to DEPENDS.
Comment 2 Stoicescu Cornel 2012-11-05 13:24:12 UTC
Verified in master:

commit e421e95de0ce430cc2c6db9b0712a66ab96288a1
Date:   Fri Nov 2 16:17:07 2012 +0000

using "#bitbake grub"

flex_2.5.35-r3 was built using poky/meta/recipes-devtools/flex/flex_2.5.35.bb