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

SIMON BABY simonkbaby at gmail.com
Thu Aug 29 22:20:04 PDT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190829/d9544061/attachment.html>


More information about the yocto mailing list