[yocto] QA Issue: Files/directories were installed but not shipped

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Thu Aug 29 23:41:26 PDT 2019


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 <simonkbaby at gmail.com> 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list