[meta-virtualization] runv compile error

Cevat Bostancıoğlu bostancioglucevat at gmail.com
Thu Jul 11 12:57:59 PDT 2019


Hi,

meta-virtualization layer runv recipe problems as follows:
1. runv version is too old. since current runv recipe commit, they commited
lots of features. i didn't analyzed e2e what they have done and what this
commits brings us.
2. current runv cannot compiled for aarch64, x86 is fine.

i have tried as follows:
1. i updated runv & hyperstart recipes commits to the latest and there is a
several issues occuring during compile time.
2. i have found why recipe is not compiling, i just have to create little
patch and it's ready to go.

So, we can create a patch for current version of runv or i can create a
patch for update runv & compile-time errors for the new version.

I didn't list the features since runv current commit. I just want to ask
what is the strategy for this problem ?

Current version aarch64 compile error:
NOTE: Executing RunQueue Tasks
ERROR: runv-0.4.0+gitb360a686abc6c6e896382990ef1b93ef07c7a677-r0
do_compile: oe_runmake failed
ERROR: runv-0.4.0+gitb360a686abc6c6e896382990ef1b93ef07c7a677-r0
do_compile: Function failed: do_compile (log file is located at
/home/cevat/Desktop/meta-virtualization-ci/yocto/build_arm/tmp/work/aarch64-poky-linux/runv/0.4.0+gitb360a686abc6c6e896382990ef1b93ef07c7a677-r0/temp/log.do_compile.12483)
ERROR: Logfile of failure stored in:
/home/cevat/Desktop/meta-virtualization-ci/yocto/build_arm/tmp/work/aarch64-poky-linux/runv/0.4.0+gitb360a686abc6c6e896382990ef1b93ef07c7a677-r0/temp/log.do_compile.12483
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64',
'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function do_compile
| fff
|
/home/cevat/Desktop/meta-virtualization-ci/yocto/build_arm/tmp/work/aarch64-poky-linux/runv/0.4.0+gitb360a686abc6c6e896382990ef1b93ef07c7a677-r0/runv-0.4.0+gitb360a686abc6c6e896382990ef1b93ef07c7a677
| NOTE: make -j 8 build-runv
| go build -tags "static_build  " -ldflags "-X main.gitCommit=`git describe
--dirty --always --tags 2> /dev/null || true` -X main.version=1.0.0" -o
runv ./cli/
| # github.com/hyperhq/runv/hypervisor/qemu
| src/import/vendor/src/
github.com/hyperhq/runv/hypervisor/qemu/qemu.go:293:22: too many arguments
in call to newNetworkAddSession
| have (*hypervisor.VmContext, *QemuContext, string, string, int, string,
string, int, int, chan hypervisor.VmEvent)
| want (*hypervisor.VmContext, *QemuContext, string, int, string, string,
int, int, chan<- hypervisor.VmEvent)
| Makefile:592: recipe for target 'build-runv' failed
| make: *** [build-runv] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/cevat/Desktop/meta-virtualization-ci/yocto/build_arm/tmp/work/aarch64-poky-linux/runv/0.4.0+gitb360a686abc6c6e896382990ef1b93ef07c7a677-r0/temp/log.do_compile.12483)
ERROR: Task
(/home/cevat/Desktop/meta-virtualization-ci/yocto/meta-virtualization/recipes-core/runv/runv_git.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 2404 tasks of which 2397 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:

/home/cevat/Desktop/meta-virtualization-ci/yocto/meta-virtualization/recipes-core/runv/runv_git.bb:
do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20190711/3101d966/attachment.html>


More information about the meta-virtualization mailing list