<div dir="ltr"><span style="font-size:12.8px">Hi all,</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I'm trying to build a Xen image on Yocto.<br></span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have tried to execute bitbake xen-image-minimal command and the result that I've got is the next one:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div style="font-size:12.8px">---------------------------------------------------------------------------------------------------------------</div></div><div><div><span style="font-size:12.8px">pello@pello-VirtualBox:/opt/yocto_GE/yocto_master_v2/poky/build$ bitbake xen-image-minimal</span></div><div><span style="font-size:12.8px">Loading cache: 100% |####################################################################################| Time: 0:00:01</span></div><div><span style="font-size:12.8px">Loaded 2782 entries from dependency cache.</span></div><div><span style="font-size:12.8px">Parsing recipes: 100% |##################################################################################| Time: 0:00:01</span></div><div><span style="font-size:12.8px">Parsing of 2007 .bb files complete (2006 cached, 1 parsed). 2783 targets, 210 skipped, 0 masked, 0 errors.</span></div><div><span style="font-size:12.8px">NOTE: Resolving any missing task queue dependencies</span></div><div><span style="font-size:12.8px">NOTE: multiple providers are available for iasl-native (iasl-native, acpica-native)</span></div><div><span style="font-size:12.8px">NOTE: consider defining a PREFERRED_PROVIDER entry to match iasl-native</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Build Configuration:</span></div><div><span style="font-size:12.8px">BB_VERSION        = "1.33.1"</span></div><div><span style="font-size:12.8px">BUILD_SYS         = "x86_64-linux"</span></div><div><span style="font-size:12.8px">NATIVELSBSTRING   = "universal"</span></div><div><span style="font-size:12.8px">TARGET_SYS        = "aarch64-poky-linux"</span></div><div><span style="font-size:12.8px">MACHINE           = "zcu102-zynqmp"</span></div><div><span style="font-size:12.8px">DISTRO            = "poky"</span></div><div><span style="font-size:12.8px">DISTRO_VERSION    = "2.2+snapshot-20170301"</span></div><div><span style="font-size:12.8px">TUNE_FEATURES     = "aarch64"</span></div><div><span style="font-size:12.8px">TARGET_FPU        = ""</span></div><div><span style="font-size:12.8px">meta              </span></div><div><span style="font-size:12.8px">meta-poky         </span></div><div><span style="font-size:12.8px">meta-yocto-bsp    = "master:3c83b56309ab419f8cda72c0711479f60f61439a"</span></div><div><span style="font-size:12.8px">meta-xilinx       = "master:be91292d155b734acbabb13501e4781a7211cdcb"</span></div><div><span style="font-size:12.8px">meta-virtualization = "master:c5cd21af5f27309c7926b781852e1ef22940a10d"</span></div><div><span style="font-size:12.8px">meta-oe           </span></div><div><span style="font-size:12.8px">meta-networking   </span></div><div><span style="font-size:12.8px">meta-filesystems  </span></div><div><span style="font-size:12.8px">meta-python       = "master:a868418132f7cbaae477a3c7bc326979700a73eb"</span></div><div><span style="font-size:12.8px">oe-meta-go        = "master:0712320950adf810fb324d49fba5d49ae19981b0"</span></div><div><span style="font-size:12.8px">meta-selinux      = "master:3b5e6bd92ef9638ba06002dc785a30d0893d9966"</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Initialising tasks: 100% |###############################################################################| Time: 0:00:15</span></div><div><span style="font-size:12.8px">NOTE: Executing SetScene Tasks</span></div><div><span style="font-size:12.8px">NOTE: Executing RunQueue Tasks</span></div><div><span style="font-size:12.8px">ERROR: libxml2-native-2.9.4-r0 do_compile: oe_runmake failed</span></div><div><span style="font-size:12.8px">ERROR: libxml2-native-2.9.4-r0 do_compile: Function failed: do_compile (log file is located at /opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/temp/log.do_compile.7516)</span></div><div><span style="font-size:12.8px">ERROR: Logfile of failure stored in: /opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/temp/log.do_compile.7516</span></div><div><span style="font-size:12.8px">Log data follows:</span></div><div><span style="font-size:12.8px">| DEBUG: Executing shell function do_compile</span></div><div><span style="font-size:12.8px">| NOTE: make -j 2</span></div><div><span style="font-size:12.8px">| ERROR: oe_runmake failed</span></div><div><span style="font-size:12.8px">| make  all-recursive</span></div><div><span style="font-size:12.8px">| make[1]: Entering directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build'</span></div><div><span style="font-size:12.8px">| Making all in include</span></div><div><span style="font-size:12.8px">| make[2]: Entering directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build/include'</span></div><div><span style="font-size:12.8px">| Making all in libxml</span></div><div><span style="font-size:12.8px">| make[3]: Entering directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build/include/libxml'</span></div><div><span style="font-size:12.8px">| make[3]: Nothing to be done for 'all'.</span></div><div><span style="font-size:12.8px">| make[3]: Leaving directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build/include/libxml'</span></div><div><span style="font-size:12.8px">| make[3]: Entering directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build/include'</span></div><div><span style="font-size:12.8px">| make[3]: Nothing to be done for 'all-am'.</span></div><div><span style="font-size:12.8px">| make[3]: Leaving directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build/include'</span></div><div><span style="font-size:12.8px">| make[2]: Leaving directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build/include'</span></div><div><span style="font-size:12.8px">| Making all in .</span></div><div><span style="font-size:12.8px">| make[2]: Entering directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build'</span></div><div><span style="font-size:12.8px">| ./x86_64-linux-libtool  --tag=CC   --mode=link gcc  -D_REENTRANT -I/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include  -isystem/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/usr/include -O2 -pipe -pedantic -W -Wformat -Wno-format-extra-args -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wno-long-long   -Wl,--version-script=../libxml2-2.9.4/libxml2.syms -version-info 11:4:9 -ldl -L/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/usr/lib -L/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/lib -Wl,-rpath,/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/lib -Wl,-O1 -o <a href="http://libxml2.la">libxml2.la</a> -rpath /opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/usr/lib SAX.lo entities.lo encoding.lo error.lo parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo  catalog.lo globals.lo threads.lo c14n.lo xmlstring.lo buf.lo xmlregexp.lo xmlschemas.lo xmlschemastypes.lo xmlunicode.lo  xmlreader.lo relaxng.lo dict.lo SAX2.lo xmlwriter.lo legacy.lo chvalid.lo pattern.lo xmlsave.lo xmlmodule.lo schematron.lo xzlib.lo   -L/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib -lz   -lm</span></div><div><span style="font-size:12.8px">| x86_64-linux-libtool:   error: 'xpath.lo' is not a valid libtool object</span></div><div><span style="font-size:12.8px">| Makefile:967: recipe for target '<a href="http://libxml2.la">libxml2.la</a>' failed</span></div><div><span style="font-size:12.8px">| make[2]: *** [<a href="http://libxml2.la">libxml2.la</a>] Error 1</span></div><div><span style="font-size:12.8px">| make[2]: Leaving directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build'</span></div><div><span style="font-size:12.8px">| Makefile:1438: recipe for target 'all-recursive' failed</span></div><div><span style="font-size:12.8px">| make[1]: *** [all-recursive] Error 1</span></div><div><span style="font-size:12.8px">| make[1]: Leaving directory '/opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build'</span></div><div><span style="font-size:12.8px">| Makefile:857: recipe for target 'all' failed</span></div><div><span style="font-size:12.8px">| make: *** [all] Error 2</span></div><div><span style="font-size:12.8px">| WARNING: /opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/temp/run.do_compile.7516:1 exit 1 from 'exit 1'</span></div><div><span style="font-size:12.8px">| ERROR: Function failed: do_compile (log file is located at /opt/yocto_GE/yocto_master_v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/temp/log.do_compile.7516)</span></div><div><span style="font-size:12.8px">ERROR: Task (virtual:native:/opt/yocto_GE/yocto_master_v2/poky/meta/recipes-core/libxml/libxml2_2.9.4.bb:do_compile) failed with exit code '1'</span></div><div><span style="font-size:12.8px">NOTE: Tasks Summary: Attempted 1053 tasks of which 1051 didn't need to be rerun and 1 failed.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Summary: 1 task failed:</span></div><div><span style="font-size:12.8px">  virtual:native:/opt/yocto_GE/yocto_master_v2/poky/meta/recipes-core/libxml/libxml2_2.9.4.bb:do_compile</span></div><div><span style="font-size:12.8px">Summary: There were 2 ERROR messages shown, returning a non-zero exit code.</span></div><div style="font-size:12.8px">---------------------------------------------------------------------------------------------------------------</div></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div style="font-size:12.8px">In the other hand, I have add all this layers in the bblayers.conf file:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---------------------<br></div><div style="font-size:12.8px"><div>BBLAYERS ?= " \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta-poky \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta-yocto-bsp \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta-xilinx \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta-virtualization \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta-openembedded/meta-oe \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta-openembedded/meta-<wbr>networking \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta-openembedded/meta-<wbr>filesystems \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta-openembedded/meta-<wbr>python \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/oe-meta-go \</div><div>  /opt/yocto_GE/yocto_master_v2/<wbr>poky/meta-selinux \</div><div>  "</div></div><div style="font-size:12.8px">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---------------------<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">What should I do to solve the issue?</div><div style="font-size:12.8px">Looking forward to an answer,</div><div style="font-size:12.8px">Regards,</div><div style="font-size:12.8px">Pello</div></div></div>