Hi Pello It looks like there is a problem with the libxml2 recipe in master for your platform.
Have you tried building one of the stable release branches instead of master? eg. morty ? Christopher On Wed, Mar 1, 2017 at 12:05 AM, Pello Heriz < pello.he...@alumni.mondragon.edu> wrote: > Hi all, > > I'm trying to build a Xen image on Yocto. > > I have tried to execute bitbake xen-image-minimal command and the result > that I've got is the next one: > > ------------------------------------------------------------ > --------------------------------------------------- > pello@pello-VirtualBox:/opt/yocto_GE/yocto_master_v2/poky/build$ bitbake > xen-image-minimal > Loading cache: 100% |############################# > #######################################################| Time: 0:00:01 > Loaded 2782 entries from dependency cache. > Parsing recipes: 100% |############################# > #####################################################| Time: 0:00:01 > Parsing of 2007 .bb files complete (2006 cached, 1 parsed). 2783 targets, > 210 skipped, 0 masked, 0 errors. > NOTE: Resolving any missing task queue dependencies > NOTE: multiple providers are available for iasl-native (iasl-native, > acpica-native) > NOTE: consider defining a PREFERRED_PROVIDER entry to match iasl-native > > Build Configuration: > BB_VERSION = "1.33.1" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "universal" > TARGET_SYS = "aarch64-poky-linux" > MACHINE = "zcu102-zynqmp" > DISTRO = "poky" > DISTRO_VERSION = "2.2+snapshot-20170301" > TUNE_FEATURES = "aarch64" > TARGET_FPU = "" > meta > meta-poky > meta-yocto-bsp = "master:3c83b56309ab419f8cda72c0711479f60f61439a" > meta-xilinx = "master:be91292d155b734acbabb13501e4781a7211cdcb" > meta-virtualization = "master:c5cd21af5f27309c7926b781852e1ef22940a10d" > meta-oe > meta-networking > meta-filesystems > meta-python = "master:a868418132f7cbaae477a3c7bc326979700a73eb" > oe-meta-go = "master:0712320950adf810fb324d49fba5d49ae19981b0" > meta-selinux = "master:3b5e6bd92ef9638ba06002dc785a30d0893d9966" > > Initialising tasks: 100% |############################# > ##################################################| Time: 0:00:15 > NOTE: Executing SetScene Tasks > NOTE: Executing RunQueue Tasks > ERROR: libxml2-native-2.9.4-r0 do_compile: oe_runmake failed > 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) > 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 > Log data follows: > | DEBUG: Executing shell function do_compile > | NOTE: make -j 2 > | ERROR: oe_runmake failed > | make all-recursive > | make[1]: Entering directory '/opt/yocto_GE/yocto_master_ > v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build' > | Making all in include > | 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' > | Making all in libxml > | 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' > | make[3]: Nothing to be done for 'all'. > | 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' > | 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' > | make[3]: Nothing to be done for 'all-am'. > | 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' > | 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' > | Making all in . > | make[2]: Entering directory '/opt/yocto_GE/yocto_master_ > v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build' > | ./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 libxml2.la -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 > | x86_64-linux-libtool: error: 'xpath.lo' is not a valid libtool object > | Makefile:967: recipe for target 'libxml2.la' failed > | make[2]: *** [libxml2.la] Error 1 > | make[2]: Leaving directory '/opt/yocto_GE/yocto_master_ > v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build' > | Makefile:1438: recipe for target 'all-recursive' failed > | make[1]: *** [all-recursive] Error 1 > | make[1]: Leaving directory '/opt/yocto_GE/yocto_master_ > v2/poky/build/tmp/work/x86_64-linux/libxml2-native/2.9.4-r0/build' > | Makefile:857: recipe for target 'all' failed > | make: *** [all] Error 2 > | 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' > | 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) > 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' > NOTE: Tasks Summary: Attempted 1053 tasks of which 1051 didn't need to be > rerun and 1 failed. > > Summary: 1 task failed: > virtual:native:/opt/yocto_GE/yocto_master_v2/poky/meta/ > recipes-core/libxml/libxml2_2.9.4.bb:do_compile > Summary: There were 2 ERROR messages shown, returning a non-zero exit code. > ------------------------------------------------------------ > --------------------------------------------------- > > In the other hand, I have add all this layers in the bblayers.conf file: > > ------------------------------------------------------------ > --------------------------------------------------- > BBLAYERS ?= " \ > /opt/yocto_GE/yocto_master_v2/poky/meta \ > /opt/yocto_GE/yocto_master_v2/poky/meta-poky \ > /opt/yocto_GE/yocto_master_v2/poky/meta-yocto-bsp \ > /opt/yocto_GE/yocto_master_v2/poky/meta-xilinx \ > /opt/yocto_GE/yocto_master_v2/poky/meta-virtualization \ > /opt/yocto_GE/yocto_master_v2/poky/meta-openembedded/meta-oe \ > /opt/yocto_GE/yocto_master_v2/poky/meta-openembedded/meta-networking \ > /opt/yocto_GE/yocto_master_v2/poky/meta-openembedded/meta-filesystems \ > /opt/yocto_GE/yocto_master_v2/poky/meta-openembedded/meta-python \ > /opt/yocto_GE/yocto_master_v2/poky/oe-meta-go \ > /opt/yocto_GE/yocto_master_v2/poky/meta-selinux \ > " > ------------------------------------------------------------ > --------------------------------------------------- > > What should I do to solve the issue? > Looking forward to an answer, > Regards, > Pello > > -- > _______________________________________________ > meta-virtualization mailing list > meta-virtualizat...@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-virtualization > >
-- _______________________________________________ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx