Re: RDEPENDS problem

Maciej Pijanowski

On 21.09.2020 23:46, Greg Wilson-Lindberg wrote:
 I have a custom recipe that copies a .so, that calls functions in another

When I first added in the copy of the .so
I didn't have an RDEPENDS and Yocto printed out an warning listing the package that it wanted. I added an RDEPENDS_${PN} 
with all of the packages listed, but I'm still getting an error for the first

ERROR: userconfig-1.0-r0 do_package_qa: QA Issue: /home/sakura/lib/ contained in package userconfig requires, but no providers found in RDEPENDS_userconfig? [file-rdeps]

In userdepends I added:

RDEPENDS_${PN} += "canfestival libelf libgcrypt pcsc-lite-lib qtbase qtdeclarative qtserialport zint"

Package canfestival_3-asc in has:

FILES_${PN} = "/usr/lib/ /usr/lib/ /usr/lib/"

which seems to me like it should satisfy the requirements of the RDEPENDS, but it is not. bitbake initially gave me a warning 
that listed canfestival as needing to be added to an RDEPENDS for userconfig. But now it is saying that it can't figure out
what package supplies the file.

Can someone help me to understand what is going on? How do I explicitly say that a package supplies a given file?
You could try with PROVIDES:

Maciej Pijanowski
Embedded Systems Engineer
GPG: 9963C36AAC3B2B46 | @3mdeb_com

Join to automatically receive all group messages.