[yocto] RREPLACE is not applied do_package_qa() ?

Burton, Ross ross.burton at intel.com
Mon Mar 5 08:15:01 PST 2018


That isn't what replaces is for: RREPLACES is used to hint to the package
manager what package should be removed when there are conflicts.  It won't
have any impact on package dependencies at any other time.

Ross

On 1 March 2018 at 03:29, ikjn <tiffang at gmail.com> wrote:

> Hi.
>
> I'm building mali userspace libraries using meta-mali layer + rocko
> but I got errors like these:
>
> ERROR: cogl-1.0-1.22.2-r0 do_package_qa: QA Issue:
> /usr/lib/libcogl-pango.so.20.4.2 contained in package libcogl-pango
> requires libwayland-egl.so, but no providers found in
> RDEPENDS_libcogl-pango? [file-rdeps]
>
> Current recipes are:
>
> * mesa.bb
> PACKAGES = "... libwayland-egl"
> FILES_libwayland_egl = "libwaland-egl.so"
>
> * mali.bb
> do_install() { copy libmali.so to libdir; create a soft
> link(libwayland-egl.so --> libmali.so) }
> PACKAGES = "mali"
> FILES_mali = "${libdir}/*.so"
> RREPLACE_mali = "... libwayland-egl"
>
> * cogl.bb
> RDEPENDS_libcogl-pango = "libwayland-egl"
>
> In this structure, mali specify RREPLACE = libwayland-egl, so I guessed
> package 'libwayland-egl' dependency is replaced by package 'mali' like this:
>
> cogl RDEPENDS--> libwayland-egl
>   ~~> mesa RPROVIDES libwayland-egl
>   ~~> RREPLACE_mali libwayland-egl
>
> But with bitbake -v -c build cogl-1.0 shows that libwayland-egl package
> provides no FILERPROVIDES_xxx on here.
>
> Am I wrong about RREPLACE chain?
> or the problem comes from something else?
> I'm a newbie on yocto and very confused, please help me!
>
> Thanks.
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180305/0f22730b/attachment.html>


More information about the yocto mailing list