[OE-core] [PATCH] gtk+3: add librsvg to DEPENDS

Alexander Kanavin alex.kanavin at gmail.com
Fri Mar 29 15:25:30 UTC 2019


On Fri, 29 Mar 2019 at 15:34, Burton, Ross <ross.burton at intel.com> wrote:
>
> On Fri, 29 Mar 2019 at 14:29, Andreas Müller <schnitzeltony at gmail.com> wrote:
> > Thought same. Are you sure that does not link - or can you explain how
> > DEPENDs fixed adwaita: If it does not link: How comes that librsvg
> > makes it into adwaita's native sysroot?
>
> I suspect historical about how the sysroot is populated for native
> things, as until very recently RDEPENDS wasn't considered.
>
> (oe-core c62520b63284927e177831c351fafa4d2768cb1f)

There is something I struggle to understand about enabling RDEPENDS for native.

RDEPENDS is listing package names, not recipe names. Yet for native
recipes, the package list is empty, as set by the native.bbclass. How
is this supposed to work then?

A reproducer:

add
RDEPENDS_${PN} = 'libicuio' to libyaml recipe. (libicuio is a package
from icu recipe)

Then libyaml builds, but libyaml-native fails:

ERROR: Nothing RPROVIDES 'libicuio-native' (but
virtual:native:/home/alexander/development/poky/meta/recipes-support/libyaml/libyaml_0.2.2.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libicuio-native' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libicuio-native']
ERROR: Required build target 'libyaml-native' has no buildable providers.
Missing or unbuildable dependency chain was: ['libyaml-native',
'libicuio-native']

Should I file a bug?

Alex


More information about the Openembedded-core mailing list