Wind River Support Network

HomeDefectsLIN8-8223
Fixed

LIN8-8223 : Racing condition: gmp package depend on flex

Created: Nov 13, 2017    Updated: Dec 3, 2018
Resolved Date: Nov 30, 2017
Found In Version: 8.0.0.22
Fix Version: 8.0.0.24
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config
Host OS: Linux 64
Architecture: IA64

Description

gmp (gmp_6.0.0.bb) should add "DEPEND=flex". 

I tried to build with parallel build , and got following error. 

 configure:27104: result: yes
configure:27295: checking for bison
configure:27311: found /usr/bin/bison
configure:27322: result: bison -yle Intel Galileo Gen 2 (USB boot + rootfs)
  5     root (hd0,0)
  6     kernel /boot/bzImage earlycon=uart8250,mmio32,$EARLY_CON_ADDR_REPLACE,115200n8 console=ttyS1,115200n8 ip=dhcp root=/dev/sda2 ro rootwait reboot=efi,warm pax_nouderef
configure:27338: checking for flex
configure:27354: found /opt/proj/nec_femtocell/workspace_wrl8/proj3/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/flex
configure:27365: result: flex
configure:27403: flex conftest.l
/opt/proj/nec_femtocell/workspace_wrl8/proj3/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/flex: line 4: /opt/proj/nec_femtocell/workspace_wrl8/proj3/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/flex.real: No such file or directory
configure:27407: $? = 127
configure:27409: checking lex output file root
configure:27420: error: cannot find output from flex; giving up

ERROR: Task 2809 (virtual:native:/opt/proj/nec_femtocell/workspace_wrl8/proj3/layers/oe-core/meta/recipes-support/gmp/gmp_6.0.0.bb, do_configure) failed with exit code '1'

When I see the log file, it shows,
configure:27104: result: yes
configure:27295: checking for bison
configure:27311: found /usr/bin/bison
configure:27322: result: bison -y
configure:27338: checking for flex
configure:27354: found /opt/proj/nec_femtocell/workspace_wrl8/proj3/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/flex
configure:27365: result: flex
configure:27403: flex conftest.l
/opt/proj/nec_femtocell/workspace_wrl8/proj3/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/flex: line 4: /opt/proj/nec_femtocell/workspace_wrl8/proj3/bitbake_build/t
mp/sysroots/x86_64-linux/usr/bin/flex.real: No such file or directory
configure:27407: $? = 127
configure:27409: checking lex output file root
configure:27420: error: cannot find output from flex; giving up

It seem that gmp tried to run flex.real command before build. 


Other Downloads


Live chat
Online