On Thursday 09 April 2015 15:30:40 praveen vattipalli wrote: > i changed the bb file > now xerces-c_3.1.1.bb <http://xerces-c_3.1.1.bb> recipe looks like this > > 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" > > LIC_FILES_CHKSUM = "file://LICENSE;md5= > 3b83ef96387f14655fc854ddc3c6bd57" > > 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}/libxerces-c.so \ > ${libdir}/pkgconfig/xerces-c.pc \ > ${includedir}/xercesc \ > " > FILES_libxerces-c-staticdev = "${libdir}/libxerces-c.a" > FILES_xerces-c-samples = "${bindir}/* ${prefix}/src/debug" > FILES_xerces-c-samples-dbg = "${bindir}/.debug/" > > SRC_URI[md5sum] = "6a8ec45d83c8cfb1584c5a5345cb51ae" > SRC_URI[sha256sum] = > "a42785f71e0b91d5fd273831c87410ce60a73ccfdd207de1b805d26d44968736" > > almost all errors have been resolved except below.... > > now I am getting below error > > > > *ERROR: QA Issue: xerces-c: Files/directories were installed but not > shipped /usr/lib/libxerces-c.a [installed-vs-shipped]NOTE: Tasks Summary: > Attempted 382 tasks of which 376 didn't need to be rerun and all succeeded.* > > Summary: There was 1 WARNING message shown. > Summary: There was 1 ERROR message shown, returning a non-zero exit code.
You are setting FILES_libxerces-c-staticdev, but there is no libxerces-c-staticdev in PACKAGES, so the file is not actually packaged, hence the error. BTW as a general best practice for most recipes I would advise adding to PACKAGES rather than setting it outright - this will of course mean your library packages will be called xerces-c* rather than libxerces-c* within recipe, but they are going to be renamed to libxerces-c* at runtime anyway by debian.bbclass. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto