[yocto] Query on error log "no providers found in RDEPENDS"

SIMON BABY simonkbaby at gmail.com
Wed Aug 28 23:14:22 PDT 2019


Hi,

I am new to this mail group. I have the below error while creating a
package, Can someone help to fix this issue.

@ubuntu:~/EVO_BUILD/741058_MGMT_Core_OPS/build_mpxls1046$ bitbake
datatransfer-mgr
Loading cache: 100%
|########################################################################################################################################################################|
Time: 0:00:01
Loaded 3343 entries from dependency cache.
Parsing recipes: 100%
|######################################################################################################################################################################|
Time: 0:00:04
Parsing of 2450 .bb files complete (2446 cached, 4 parsed). 3345 targets,
177 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "i686-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-fsl-linux"
MACHINE              = "mpxls1046"
DISTRO               = "fsl-qoriq"
DISTRO_VERSION       = "2.4.4"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp
meta-oe
meta-multimedia
meta-python
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl
meta-virtualization
meta-security
meta-freescale
meta-freescale-distro
meta-qoriq-demos
meta-bsp-teledyne
meta-laird-cp
meta-microsys-layerscape =
"develop:25b4f49569fcf4417572f2a4081f21221a8d802b"

Initialising tasks: 100%
|###################################################################################################################################################################|
Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: datatransfer-mgr-1.0-r1 do_package_qa: QA Issue:
/usr/bin/DataTransferMgr contained in package datatransfer-mgr requires
libzipcpp.so()(64bit), but no providers found in RDEPENDS_datatransfer-mgr?
[file-rdeps]
ERROR: datatransfer-mgr-1.0-r1 do_package_qa: QA run found fatal errors.
Please consider fixing them.
ERROR: datatransfer-mgr-1.0-r1 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/home/tdy/EVO_BUILD/741058_MGMT_Core_OPS/build_mpxls1046/tmp/work/aarch64-fsl-linux/datatransfer-mgr/1.0-r1/temp/log.do_package_qa.22226
ERROR: Task
(/home/tdy/EVO_BUILD/741058_MGMT_Core_OPS/sources/meta-bsp-teledyne/recipes-wireless/datatransfer-mgr/datatransfer-mgr_1.0.bb:do_package_qa)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 591 tasks of which 577 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:

/home/tdy/EVO_BUILD/741058_MGMT_Core_OPS/sources/meta-bsp-teledyne/recipes-wireless/datatransfer-mgr/datatransfer-mgr_1.0.bb:
do_package_qa
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

*my .bb file for zipcpp is below:*

#
# 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
#}

#PACKAGES = "${PN}-dev"
FILES_${PN} += "${libdir}/${LIB_ARTIFACT}.${LIB_VERSION}"
FILES_${PN} += "${libdir}/${LIB_ARTIFACT}"
#RDEPENDS_${PN} = "${LIB_ARTIFACT}.${LIB_VERSION}"
#RDEPENDS_${PN} = "${LIB_ARTIFACT}"


*and the .bb file for datatransfer-mgr is below.*

# Copyright (C) 2018 Teledyne Controls

DEPENDS = "zeromq cppzmq zipcpp protobuf json-c jsoncpp rapidjson"
DESCRIPTION = "Wireless Data Transfer Manager for Evo"
SECTION = "base"
PRIORITY = "optional"
LICENSE = "CLOSED"
PR = "r1"

SRC_URI = "git://git@elsvsapp02/GroundLink-Evo/DataTransferManager.git;protocol=ssh
"
SRC_URI = "file:///home/tdy/DataTransferManager/DataTransferManager.tgz"
SRCREV = "${AUTOREV}"

CDT_CONFIGURATION ?= "Release"
BUILD_ARTIFACT = "DataTransferMgr"

S = "${WORKDIR}/git/DataTransferManager-1.0"
S = "${WORKDIR}/DataTransferManager-1.0"

export STAGING_INCDIR
export STAGING_LIBDIR
export PV
export PR

#EXTRA_OEMAKE = "'CXX=${CXX}' 'RANLIB=${RANLIB}' 'AR=${AR}' \
#               'CXXFLAGS=${CXXFLAGS}' 'BUILDDIR=${S}' \
#               'STAGING_LIBDIR=${STAGING_LIBDIR}'"

EXTRA_OEMAKE += "'INCLUDE_DIR=${D}${includedir}' 'LIB_DIR=${D}${libdir}'"

do_compile() {
        cd Release
        oe_runmake
}

do_install() {
        mkdir -p ${D}${bindir}
        install -m 755 ${S}/Release/${BUILD_ARTIFACT} ${D}${bindir}
}

FILES_${PN} = "${bindir}/${BUILD_ARTIFACT}"
~



Rgds
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190828/5e7410ad/attachment.html>


More information about the yocto mailing list