Skip to content

Instantly share code, notes, and snippets.

@Anticom
Created September 22, 2016 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Anticom/119e9bda3ad527e40c9256f553f8b5cb to your computer and use it in GitHub Desktop.
Save Anticom/119e9bda3ad527e40c9256f553f8b5cb to your computer and use it in GitHub Desktop.
$ bitbake libjsoncpp
ERROR: QA Issue: libjsoncpp: Files/directories were installed but not shipped in any package:
/usr/src
/usr/include
/usr/lib/libjsoncpp.so.1.7.5
/usr/lib/libjsoncpp.so.1
/usr/lib/.debug
/usr/lib/cmake
/usr/lib/pkgconfig
/usr/lib/.debug/libjsoncpp.so.1.7.5
/usr/lib/cmake/jsoncpp
/usr/lib/cmake/jsoncpp/jsoncppConfig.cmake
/usr/lib/cmake/jsoncpp/jsoncppConfig-release.cmake
/usr/lib/pkgconfig/jsoncpp.pc
/usr/src/debug
/usr/src/debug/libjsoncpp
/usr/src/debug/libjsoncpp/1.7.5-r0
/usr/src/debug/libjsoncpp/1.7.5-r0/git
/usr/src/debug/libjsoncpp/1.7.5-r0/git/src
/usr/src/debug/libjsoncpp/1.7.5-r0/git/include
/usr/src/debug/libjsoncpp/1.7.5-r0/git/src/lib_json
/usr/src/debug/libjsoncpp/1.7.5-r0/git/src/lib_json/json_valueiterator.inl
/usr/src/debug/libjsoncpp/1.7.5-r0/git/src/lib_json/json_reader.cpp
/usr/src/debug/libjsoncpp/1.7.5-r0/git/src/lib_json/json_value.cpp
/usr/src/debug/libjsoncpp/1.7.5-r0/git/src/lib_json/json_writer.cpp
/usr/src/debug/libjsoncpp/1.7.5-r0/git/src/lib_json/json_tool.h
/usr/src/debug/libjsoncpp/1.7.5-r0/git/include/json
/usr/src/debug/libjsoncpp/1.7.5-r0/git/include/json/reader.h
/usr/src/debug/libjsoncpp/1.7.5-r0/git/include/json/config.h
/usr/src/debug/libjsoncpp/1.7.5-r0/git/include/json/features.h
/usr/src/debug/libjsoncpp/1.7.5-r0/git/include/json/value.h
/usr/src/debug/libjsoncpp/1.7.5-r0/git/include/json/writer.h
/usr/src/debug/libjsoncpp/1.7.5-r0/git/include/json/forwards.h
/usr/include/json
/usr/include/json/json.h
/usr/include/json/reader.h
/usr/include/json/config.h
/usr/include/json/features.h
/usr/include/json/version.h
/usr/include/json/value.h
/usr/include/json/allocator.h
/usr/include/json/autolink.h
/usr/include/json/writer.h
/usr/include/json/assertions.h
/usr/include/json/forwards.h
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
libjsoncpp: 43 installed and not shipped files. [installed-vs-shipped]
ERROR: QA Issue: non -dev/-dbg/nativesdk- package contains symlink .so: libjsoncpp path 'work/cortexa9hf-vfp-neon-gin-linux-gnueabi/libjsoncpp/1.7.5-r0/packages-split/libjsoncpp/usr/lib/libjsoncpp.so' [dev-so]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/usr/src/git/meta-gin/yocto/poky/build/tmp/work/cortexa9hf-vfp-neon-gin-linux-gnueabi/libjsoncpp/1.7.5-r0/temp/log.do_package_qa.8203
ERROR: Task 10 (/home/usr/src/git/meta-gin/yocto/meta-gin/recipes-support/webserver/libjsoncpp_1.7.5.bb, do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 395 tasks of which 382 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/usr/src/git/meta-gin/yocto/meta-gin/recipes-support/webserver/libjsoncpp_1.7.5.bb, do_package_qa
Summary: There was 1 WARNING message shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
# cooking https://github.com/open-source-parsers/jsoncpp/tree/1.7.5
DESCRIPTION = "A C++ library for interacting with JSON."
HOMEPAGE = "https://github.com/open-source-parsers/jsoncpp"
LICENSE = "MIT"
SECTION = "libs"
DEPENDS = ""
LIC_FILES_CHKSUM = "file://LICENSE;md5=c56ee55c03a55f8105b969d8270632ce"
SRC_URI = "git://github.com/open-source-parsers/jsoncpp.git;tag=1.7.5;protocol=https"
S = "${WORKDIR}/git"
SRCREV = "1.7.5"
S = "${WORKDIR}/git"
EXTRA_OECMAKE += " \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=OFF \
-DJSONCPP_WITH_TESTS=OFF \
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF \
-DJSONCPP_WITH_WARNING_AS_ERROR=OFF \
-DJSONCPP_WITH_STRICT_ISO=OFF \
-DJSONCPP_WITH_PKGCONFIG_SUPPORT=ON \
-DJSONCPP_WITH_CMAKE_PACKAGE=ON \
"
FILES_${PN} = "${libdir}/${PN}.so"
FILES_${PN}-dbg = "${libdir}/.debug/${PN}.so"
# Don't produce a *-dev package
PACKAGES = "${PN} ${PN}-dbg"
inherit pkgconfig cmake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment