[meta-virtualization] meta-virtualization branch to use for xen-image-minimal

Mo Bah mobahbay at outlook.com
Fri Aug 11 12:25:42 PDT 2017


Hi Everyone,

I am trying to build xen-image-minimal out of Yocto and I did checkout of the master branch of the meta-virtualization layer.


But when doing, 'bitbake xen-image-minimal', I am seeing the following error.


| make[5]: Leaving directory '/home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen/arch/x86/cpu'
| make[4]: Leaving directory '/home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen/arch/x86'
| /home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen/Rules.mk:166: recipe for target '/home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen/arch/x86/built_in.o' failed
| make[3]: *** [/home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen/arch/x86/built_in.o] Error 2
| make[3]: Leaving directory '/home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen/arch/x86'
| Makefile:135: recipe for target '/home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen/xen' failed
| make[2]: *** [/home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen/xen] Error 2
| make[2]: Leaving directory '/home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen'
| Makefile:45: recipe for target 'install' failed
| make[1]: *** [install] Error 2
| make[1]: Leaving directory '/home/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/xen-4.8.0/xen'
| Makefile:97: recipe for target 'install-xen' failed
| make: *** [install-xen] 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/m/grxen/poky/build/tmp-glibc/work/core2-64-oe-linux/xen/4.8.0-r0/temp/log.do_compile.30351)
ERROR: Task (/home/m/grxen/poky/meta-virtualization/recipes-extended/xen/xen_4.8.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2081 tasks of which 1387 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/m/grxen/poky/meta-virtualization/recipes-extended/xen/xen_4.8.0.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Is the master branch of meta-virtualization layer having issues with 'xen-image-minimal'?

I tried the 'bitbake xen-image-minimal' by putting the 'MACHINE ?= "intel-corei7-64" and MACHINE ?= "genericx86-64" and DISTRO_FEATURES_append = " xen" in the conf/local.conf.

And the bblayers.conf looks like:
BBLAYERS ?= " \
  /home/m/grxen/poky/meta \
  /home/m/grxen/poky/meta-poky \
  /home/m/grxen/poky/meta-yocto-bsp \
  /home/m/grxen/poky/meta-openembedded/meta-oe \
  /home/m/grxen/poky/meta-openembedded/meta-python \
  /home/m/grxen/poky/meta-openembedded/meta-networking \
  /home/m/grxen/poky/meta-openembedded/meta-filesystems \
  /home/m/grxen/poky/meta-virtualization \
  /home/m/grxen/poky/oe-meta-go \
  /home/m/grxen/poky/openembedded-core/meta \
  /home/m/grxen/poky/openembedded-core/meta-selftest \
  /home/m/grxen/poky/openembedded-core/meta-skeleton \
  /home/m/grxen/poky/meta-selinux \
  "

And all the layers have been downloaded as per documentation mentioned in http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/about/

meta-virtualization - Layer enabling hypervisor ...<http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/about/>
git.yoctoproject.org
Layer enabling hypervisor, virtualization tool stack, and cloud support. git repository hosting

Could you suggest which branch of meta-virtualization would work for 'xen-image-minimal' while doing bitbake?
Currently, I am trying with git checkout -b krogoth origin/krogoth branch.

Thanks
M

























-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20170811/a6e9c973/attachment.html>


More information about the meta-virtualization mailing list