[yocto] No providers found in RDEPENDS_datatransfer-mgr? [file-rdeps]

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Wed Sep 4 21:29:06 PDT 2019


Hello Simon,

I'll try to help you today. I am more (99%) BSP guy. There are much
more versatile people for rootfs DEPENDS and RDEPENDS.

Good practice is to post first to the list, then, after all, ask for
private help.

Best Regards,
Zoran
_______

---------- Forwarded message ---------
From: SIMON BABY <simonkbaby at gmail.com>
Date: Thu, Sep 5, 2019 at 5:14 AM
Subject: Re: [yocto] [meta-raspberrypi] Error trying to generate
Raspberry Pi initramfs
To: Zoran Stojsavljevic <zoran.stojsavljevic at gmail.com>

Hello  Zoran,

I am new to yocto and trying to fix the below build issue. Can you please help.

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


My recipe for datatransfer-mgr and shared library zipcpp are below.
Please help me.



DEPENDS = "zeromq cppzmq zipcpp protobuf json-c jsoncpp rapidjson"
RDEPENDS_${PN} += "zipcpp"
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;branch=develop"
#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


do_compile() {
        cd Release
        oe_runmake STAGING_DIR_HOST=${STAGING_DIR_HOST}
}

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


FILES_${PN} = "${bindir}/${BUILD_ARTIFACT}"
#PACKAGES = "${PN}"


zipcpp recepe
=================
# 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

On Thu, Aug 29, 2019 at 8:21 PM Zoran Stojsavljevic
<zoran.stojsavljevic at gmail.com> wrote:
>
> Hello Greg,
>
> This, what I have posted as answer work for me on BBB (BeagleBone
> Black) seamlessly.
>
> I did not try it on Sabre Automotive, but as we speak, I just
> straightened out the optimal local.conf for it (with very rich
> networking services on the top of Linux), and I am 100% sure the above
> initramfs methodology will work on Sabre Automotive as well.
>
> I have no idea about specifics on RPI 3. Sorry for that.
>
> Best Regads,
> Zoran
> _______
>
> On Thu, Aug 29, 2019 at 7:40 PM Greg Wilson-Lindberg
> <GWilson at sakuraus.com> wrote:
> >
> > Hi Zoran,
> > Thanks for your comments.
> >
> > I'm adding [meta-raspberrypi] to the as I have realized that some might have missed this Raspberry-pi specific question.
> >
> > Thanks,
> > Greg Wilson-Lindberg
> >
> > > -----Original Message-----
> > > From: Zoran Stojsavljevic [mailto:zoran.stojsavljevic at gmail.com]
> > > Sent: Wednesday, August 28, 2019 05:08 PM
> > > To: Greg Wilson-Lindberg <GWilson at sakuraus.com>
> > > Cc: Yocto list discussion <yocto at yoctoproject.org>
> > > Subject: Re: [yocto] Error trying to generate Raspberry Pi initramfs
> > >
> > > Three things:
> > > [1] The initramfs is NOT the initrd (te second one is the temp
> > >       stage in booting the linux to mmcblk...); [2] There are some config parameters
> > > you need to set up in
> > >       your kernel .config file:
> > >       https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/custom/config-
> > > initramfs
> > > [3] The command line is formed in u-boot or in grub2, or in
> > >       your Linux boot loader (you need to add some lines
> > >       in ash u-boot config script, as the following example):
> > >       https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/custom/u-boot.ash
> > >
> > > Good Luck,
> > > Zoran
> > > _______
> > >
> > >
> > > On Wed, Aug 28, 2019 at 7:26 PM Greg Wilson-Lindberg
> > > <GWilson at sakuraus.com> wrote:
> > > >
> > > > I'm trying to generate an initramfs for a raspberry pi 3 for a sumo build. We are
> > > based off of the Qt boot2qt system.
> > > >
> > > > I have followed the instructions in the meta-raspberrypi.pdf documentation,
> > > section 3.14 Image with Initramfs.
> > > >
> > > > I edited the meta-raspberrypi/recipes-kernel/linux/linux-raspberry.inc file and
> > > added the variables into my local.conf file. I created a rpi-minimal-initramfs.bb
> > > recipe and it is created when I build the system. But the command line that is put
> > > into the boot partition is:
> > > >
> > > > dwc_otg.lpm_enable=0  root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
> > > fbcon=map:10 fbcon=font:VGA8x8
> > > >
> > > > No initramfs.
> > > >
> > > > In the linux-raspberry.inc file, after the insertion point for the new kernel variables,
> > > there is a test for KERNEL_INITRAMFS. I tried setting this in my local.conf file, but
> > > when I do I get an error for a missing file:
> > > >
> > > > | /home/..../tmp/deploy/images/raspberrypi3/uImage1-raspberrypi3.bin:
> > > > | No such file or directory
> > > >
> > > > So, apparently that can't be set directly.
> > > >
> > > > There seems to be something missing in the instructions in the meta-
> > > raspberrypi.pdf documentation. Anyone that has any experience with setting this up
> > > and can help me figure out what I'm missing, I would greatly appreciate the help.
> > > >
> > > > Regards,
> > > > Greg Wilson-Lindberg
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > _______________________________________________
> > > > yocto mailing list
> > > > yocto at yoctoproject.org
> > > > https://lists.yoctoproject.org/listinfo/yocto
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list