All of lore.kernel.org
 help / color / mirror / Atom feed
* RREPLACE is not applied do_package_qa() ?
@ 2018-03-01  3:29 ikjn
  2018-03-05 16:15 ` Burton, Ross
  0 siblings, 1 reply; 2+ messages in thread
From: ikjn @ 2018-03-01  3:29 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 3365 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RREPLACE is not applied do_package_qa() ?
  2018-03-01  3:29 RREPLACE is not applied do_package_qa() ? ikjn
@ 2018-03-05 16:15 ` Burton, Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2018-03-05 16:15 UTC (permalink / raw)
  To: ikjn; +Cc: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 1734 bytes --]

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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 4336 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-05 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-01  3:29 RREPLACE is not applied do_package_qa() ? ikjn
2018-03-05 16:15 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.