[meta-virtualization] runv compile error

Bruce Ashfield bruce.ashfield at gmail.com
Thu Jul 11 18:56:49 PDT 2019


On Thu, Jul 11, 2019 at 3:58 PM Cevat Bostancıoğlu
<bostancioglucevat at gmail.com> wrote:
>
> 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.
>

runv is obsolete and is only around for reference. I'm working to
complete the work with kata containers, which is the replacement.

So while we could update it, and make it build, it really isn't of any use.

Bruce

> 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.
>
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


More information about the meta-virtualization mailing list