Re: [yocto] QA Issue: Files/directories were installed but not shipped
Maybe this web pointer to similar problem can help you (as a reference examlpe)?! https://yocto.yoctoproject.narkive.com/20hVZuCp/files-directories-were-installed-but-not-shipped Zoran ___ On Fri, Aug 30, 2019 at 7:21 AM SIMON BABY wrote: > > Hello, > > I am getting "ERROR: QA Issue: Files/directories were installed but not > shipped". Can you please help to resolve. My logs and bb files are below. > > > ERROR: QA Issue: zipcpp: Files/directories were installed but not shipped in > any package: > /usr > /usr/include > /usr/src > /usr/lib > /usr/include/zipc.h > /usr/include/logger.h > /usr/include/fmt > /usr/include/fmt/format.h > /usr/include/fmt/ranges.h > /usr/include/fmt/printf.h > > > bb file: > > > # > # This file is the zipcpp recipe. > # > > DEPENDS = "zeromq cppzmq" > SUMMARY = "ZeroMQ based IPC C++ library" > SECTION = "base" > LICENSE = "CLOSED" > > SRC_URI = "git://git@elsvsapp02/TDY/ZIPCpp.git;protocol=ssh;branch=develop" > SRCREV = "${AUTOREV}" > > S = "${WORKDIR}/git" > > LIB_ARTIFACT = "libzipcpp.so" > LIB_VERSION = "1" > > do_install() { > install -d ${D}${libdir} > install -m 0755 ${S}/bin/${LIB_ARTIFACT}.${LIB_VERSION} > ${D}${libdir}/${LIB_ARTIFACT}.${LIB_VERSION} > ln -rs ${D}${libdir}/${LIB_ARTIFACT}.${LIB_VERSION} > ${D}${libdir}/${LIB_ARTIFACT} > install -d ${D}${includedir} > install -m 0644 ${S}/include/zipc.h ${D}${includedir} > install -m 0644 ${S}/include/logger.h ${D}${includedir} > install -d ${D}${includedir}/fmt > install -m 0644 ${S}/include/fmt/* ${D}${includedir}/fmt > } > > #do_install_append() { > #rm -r ${D}/usr/share > #} > > FILES_${PN} += "${libdir}/${LIB_ARTIFACT}.${LIB_VERSION}" > FILES_${PN} += "${libdir}/${LIB_ARTIFACT}" > PACKAGES = "${PN}" > > > Rgds > > Simon > > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] QA Issue: Files/directories were installed but not shipped
On 30.08.2019 07:20, SIMON BABY wrote: > Hello, > I am getting "ERROR: QA Issue: Files/directories were installed but not > shipped". Can you please help to resolve. My logs and bb files are below. > ERROR: QA Issue: zipcpp: Files/directories were installed but not shipped in > any package: > /usr > /usr/include > /usr/src > /usr/lib > /usr/include/zipc.h > /usr/include/logger.h > /usr/include/fmt > /usr/include/fmt/format.h > /usr/include/fmt/ranges.h > /usr/include/fmt/printf.h > *bb file:* > # > # This file is the zipcpp recipe. > # > > DEPENDS = "zeromq cppzmq" > SUMMARY = "ZeroMQ based IPC C++ library" > SECTION = "base" > LICENSE = "CLOSED" > > SRC_URI = "git://git@elsvsapp02/TDY/ZIPCpp.git;protocol=ssh;branch=develop" > SRCREV = "${AUTOREV}" > > S = "${WORKDIR}/git" > > LIB_ARTIFACT = "libzipcpp.so" > LIB_VERSION = "1" > > do_install() { > install -d ${D}${libdir} > install -m 0755 ${S}/bin/${LIB_ARTIFACT}.${LIB_VERSION} > ${D}${libdir}/${LIB_ARTIFACT}.${LIB_VERSION} > ln -rs ${D}${libdir}/${LIB_ARTIFACT}.${LIB_VERSION} > ${D}${libdir}/${LIB_ARTIFACT} > install -d ${D}${includedir} > install -m 0644 ${S}/include/zipc.h ${D}${includedir} > install -m 0644 ${S}/include/logger.h ${D}${includedir} > install -d ${D}${includedir}/fmt > install -m 0644 ${S}/include/fmt/* ${D}${includedir}/fmt > } > > #do_install_append() { > # rm -r ${D}/usr/share > #} > > FILES_${PN} += "${libdir}/${LIB_ARTIFACT}.${LIB_VERSION}" > FILES_${PN} += "${libdir}/${LIB_ARTIFACT}" > PACKAGES = "${PN}" What I would do is to remove those 3 lines to not override the default packaging. This way, the header files for example should be packaged correctly to the ${PN}-dev package. If similar error still appears, you would need to add the remaining files to some package vie FILES_package-name. You might want to add a package with PACKAGES =+ "pacakage-name" > Rgds > Simon > -- Maciej Pijanowski Embedded Systems Engineer https://3mdeb.com | @3mdeb_com signature.asc Description: OpenPGP digital signature -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] QA Issue: Files/directories were installed but not shipped
Hello, I am getting "ERROR: QA Issue: Files/directories were installed but not shipped". Can you please help to resolve. My logs and bb files are below. ERROR: QA Issue: zipcpp: Files/directories were installed but not shipped in any package: /usr /usr/include /usr/src /usr/lib /usr/include/zipc.h /usr/include/logger.h /usr/include/fmt /usr/include/fmt/format.h /usr/include/fmt/ranges.h /usr/include/fmt/printf.h *bb file:* # # This file is the zipcpp recipe. # DEPENDS = "zeromq cppzmq" SUMMARY = "ZeroMQ based IPC C++ library" SECTION = "base" LICENSE = "CLOSED" SRC_URI = "git://git@elsvsapp02/TDY/ZIPCpp.git;protocol=ssh;branch=develop" SRCREV = "${AUTOREV}" S = "${WORKDIR}/git" LIB_ARTIFACT = "libzipcpp.so" LIB_VERSION = "1" do_install() { install -d ${D}${libdir} install -m 0755 ${S}/bin/${LIB_ARTIFACT}.${LIB_VERSION} ${D}${libdir}/${LIB_ARTIFACT}.${LIB_VERSION} ln -rs ${D}${libdir}/${LIB_ARTIFACT}.${LIB_VERSION} ${D}${libdir}/${LIB_ARTIFACT} install -d ${D}${includedir} install -m 0644 ${S}/include/zipc.h ${D}${includedir} install -m 0644 ${S}/include/logger.h ${D}${includedir} install -d ${D}${includedir}/fmt install -m 0644 ${S}/include/fmt/* ${D}${includedir}/fmt } #do_install_append() { #rm -r ${D}/usr/share #} FILES_${PN} += "${libdir}/${LIB_ARTIFACT}.${LIB_VERSION}" FILES_${PN} += "${libdir}/${LIB_ARTIFACT}" PACKAGES = "${PN}" Rgds Simon -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto