Wind River Support Network

HomeDefectsOVP-883
Fixed

OVP-883 : [ovp phase 2] Failed to build packet otopi when compile engine project

Created: Sep 17, 2013    Updated: Mar 11, 2016
Resolved Date: Oct 14, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.8
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Problem Description
======================
[ovirt-engine] Engine building failed with newest git of 20130916.

Expected Behavior
======================
it works well

Observed Behavior
======================
None

Logs
======================
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: validating kernel configuration
[invalid (5)]: meta-ovp/cfg/preempt-rt/intel-xeon-core/invalid.cfg
   This BSP sets config options that are not offered anywhere within
this kernel

[mismatch (7)]: meta-ovp/cfg/preempt-rt/intel-xeon-core/mismatch.cfg
   There were hardware options requested that do not
   have a corresponding value present in the final ".config" file.
   This probably means you aren't getting the config you wanted.

ERROR: Function failed: do_compile (see
/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/temp/do_compile/log.do_compile.4572
for further information)
ERROR: Logfile of failure stored in:
/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/temp/do_compile/log.do_compile.4572
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make
| Making all in build
| make[1]: Entering directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/build'
| if sed \
| 		-e 's#[@]otopiplugindir_POST@#/usr/share/otopi/plugins#g' \
| 		-e 's#[@]otopilibdir_POST@#/usr/lib64/python2.7/site-packages/otopi#g' \
| 		-e 's#[@]localedir_POST@#/usr/share/locale#g' \
| 		-e 's#[@]sbindir_POST@#/usr/sbin#g' \
| 		otopi-bundle.in > otopi-bundle.tmp; then \
| 		mv "otopi-bundle.tmp" "otopi-bundle"; \
| 	else \
| 		rm -f "otopi-bundle.tmp"; \
| 		false; \
| 	fi
| make[1]: Leaving directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/build'
| Making all in intl
| make[1]: Entering directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/intl'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/intl'
| Making all in po
| make[1]: Entering directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/po'
| make[1]: Leaving directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/po'
| Making all in src
| make[1]: Entering directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/src'
| Making all in bin
| make[2]: Entering directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/src/bin'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/src/bin'
| Making all in otopi
| make[2]: Entering directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/src/otopi'
| Making all in codegen
| make[3]: Entering directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/src/otopi/codegen'
| if [ -n
"/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/pyflakes"
]; then \
| 	
/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/pyflakes
./*.py; \
| 	fi
| /bin/sh:
/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/pyflakes:
/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_bui:
bad interpreter: No such file or directory
| make[3]: *** [python-syntax-check] Error 126
| make[3]: Leaving directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/src/otopi/codegen'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/src/otopi'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/otopi-1.0.2/src'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| WARNING:
/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/temp/do_compile/run.do_compile.4572:110
exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (see
/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/bitbake_build/tmp/work/x86_64-wrs-linux/otopi-1.0.2-r0/temp/do_compile/log.do_compile.4572
for further information)
ERROR: Task 3005
(/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/layers/wr-ovp/ovp/base/recipes-extended/otopi/otopi_1.0.2.bb,
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2981 tasks of which 228 didn't need to be
rerun and 1 failed.
No currently running tasks (2981 of 6745)

Summary: 1 task failed:

/prj/ovp/spring-2/ovirt_engine_git_20130916_1435/layers/wr-ovp/ovp/base/recipes-extended/otopi/otopi_1.0.2.bb,
do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: ***
[export/intel-xeon-core-ovp-ovirt-engine-preempt-rt-dist.tar.bz2] 

Workaround

make -C build coreutils-native

Steps to Reproduce

1.
wrlinux-x/wrlinux/configure
--enable-board=intel-xeon-core --enable-rootfs=ovp-ovirt-engine
--enable-addons=wr-ovp --with-package=wrs-kvm-helper
--with-template=feature/dpdk-vswitch --enable-reconfig
2. make fs
Live chat
Online