xerces-c come into ERROR: Function failed: do_qa_configure
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/caozhiyan/fsl-community-bsp/build-hc1200/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xerces-c/3.1.1-r0/xerces-c-3.1.1'
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /home/caozhiyan/fsl-community-bsp/build-hc1200/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xerces-c/3.1.1-r0/temp/log.do_configure.31478
ERROR: Task 496 (/home/caozhiyan/fsl-community-bsp/sources/meta-fsl-hc1200/recipes-hc1200/xerces-c/xerces-c_3.1.1.bb, do_configure) failed with exit code '1'
I have used the followings bb, but the error still exists, how to trace and resolve the problem? Check oe-classic recipes
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/xerces-c/xerces-c_3.1.1.bb
DESCRIPTION ="Xerces-c is a validating xml parser written in C++" HOMEPAGE ="http://xerces.apache.org/xerces-c/"
SECTION ="libs"
PRIORITY ="optional"
LICENSE ="Apache-2.0"
SRC_URI ="http://apache.lauf-forum.at/xerces/c/3/sources/${BP}.tar.gz"
inherit autotools pkgconfig
PACKAGES ="libxerces-c \ libxerces-c-dbg \ libxerces-c-dev \ xerces-c-samples \ xerces-c-samples-dbg \"
FILES_libxerces-c ="${libdir}/libxerces-c-3.1.so"
FILES_libxerces-c-dbg ="${libdir}/.debug/"
FILES_libxerces-c-dev ="${libdir}/lib*.la \ ${libdir}/lib*.a \ ${libdir}/libxerces-c.so \ ${libdir}/pkgconfig/xerces-c.pc \ ${includedir}/xercesc \"
FILES_xerces-c-samples ="${bindir}/*"
FILES_xerces-c-samples-dbg ="${bindir}/.debug/"
SRC_URI[md5sum] ="6a8ec45d83c8cfb1584c5a5345cb51ae"
SRC_URI[sha256sum] ="a42785f71e0b91d5fd273831c87410ce60a73ccfdd207de1b805d26d44968736"
BBCLASSEXTEND +="native"
Hi,
It is saying just that, there been a host contamination, which means bitbake is referring host for some libs and headers which it should not. It is from meta/class/insane.bbclass. You should look in log.do_configure in tmp/work/<machine/target>/<pkgname>/<version>/temp/ for fixing this or the config.log file located in tmp/work/armv7a-vfp-neon-poky- linux-gnueabi/xerces-c/3.1.1-r0/xerces-c-3.1.1 as you mentioned.
Cheers,
Quoted 44 lines · 曹志研
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/caozhiyan/fsl-community-bsp/build-hc1200/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xerces-c/3.1.1-r0/xerces-c-3.1.1'
ERROR: Function failed:do_qa_configure
ERROR: Logfile of failure stored in:/home/caozhiyan/fsl-community-bsp/build-hc1200/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xerces-c/3.1.1-r0/temp/log.do_configure.31478
ERROR: Task 496 (/home/caozhiyan/fsl-community-bsp/sources/meta-fsl-hc1200/recipes-hc1200/xerces-c/xerces-c_3.1.1.bb,do_configure) failed with exit code '1'I have used the followings bb, but the error still exists, how to trace and resolve the problem?
Check oe-classic recipeshttp://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/xerces-c/xerces-c_3.1.1.bb
DESCRIPTION = "Xerces-c is a validating xml parser written in C++" HOMEPAGE = "http://xerces.apache.org/xerces-c/"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "Apache-2.0"
SRC_URI= "http://apache.lauf-forum.at/xerces/c/3/sources/${BP}.tar.gz"inherit autotools pkgconfig
PACKAGES = "libxerces-c \ libxerces-c-dbg \ libxerces-c-dev \ xerces-c-samples \ xerces-c-samples-dbg \"
FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so" FILES_libxerces-c-dbg = "${libdir}/.debug/"
FILES_libxerces-c-dev = "${libdir}/lib*.la \ ${libdir}/lib*.a \ ${libdir}/libxerces-c.so \ ${libdir}/pkgconfig/xerces-c.pc \ ${includedir}/xercesc \"
FILES_xerces-c-samples = "${bindir}/*" FILES_xerces-c-samples-dbg = "${bindir}/.debug/"SRC_URI[md5sum] = "
6a8ec45d83c8cfb1584c5a5345cb51ae"
SRC_URI[sha256sum] = "a42785f71e0b91d5fd273831c87410ce60a73ccfdd207de1b805d26d44968736"BBCLASSEXTEND += "native"
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Signature · 1 line
JCP