On Thu, Aug 29 2024, Mikko Rapeli wrote: > Hi, > > On Wed, Aug 28, 2024 at 11:50:03AM +0200, Yann CARDAILLAC Pro wrote: >> Hi Mikko, >> >> Well without the RPROVIDES I get the following error when a package DEPENDS >> on it : >> >> ERROR: rj2d-com-1.1-r0 do_package_qa: QA Issue: /usr/bin/rj2d- com >> contained in package rj2d- com requires librj2d.so()(64bit), but no >> providers found in RDEPENDS:rj2d-com? [file-rdeps] >> >> The only solution I found was to add the RPROVIDES. Is there something I'm >> doing wrong? >> >> Basically the rj2d-com package DEPENDS and RDEPENDS:${PN} to librj2d, and >> without the RPROVIDES with librj2d.so()(64bit) I get errors. >> >> Is there something wrong with the approach ? > > I think bitbake should be auto-detecting the shared library RDEPENS. RPROVIDES > is usually only set when there is a virtual provider which multiple recipes > and binary package provide. > > Something doesn't feel right about this.
I think it is the missing soname mentioned earlier. It needs to be set using a linker flag. /Ola
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63782): https://lists.yoctoproject.org/g/yocto/message/63782 Mute This Topic: https://lists.yoctoproject.org/mt/107766049/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-