oatpp / meta-oatpp

Yocto meta-layer for Oat++
2 stars 4 forks source link

No buildable providers, bitbake error #5

Open michizimmeri opened 1 year ago

michizimmeri commented 1 year ago

For my dunfell build I tried to add the layer to my image recipe via the packagegroup-oatpp. This gives me some errors saying that the dependency is not available through the build system.

bitbake packagegroup-oatpp

ERROR: Nothing RPROVIDES 'ssdp' (but .../meta-oatpp/recipes-oatpp/packagegroup/packagegroup-oatpp_1.3.0.bb RDEPENDS on or otherwise requires it)
ERROR: Required build target 'packagegroup-oatpp' has no buildable providers.
Missing or unbuildable dependency chain was: ['packagegroup-oatpp', 'ssdp']

I saw that inside the packagegroup-oatpp1.3.0.bb the RDPENDS${PN} = "ssdp" may cause the issue. Is it possible that an prefix oatpp- is needed? Or are other meta-layers required in addition to this layer?

For example, the postgresql recipe did not generate an error, but this is because meta-oe has this dependency available. https://layers.openembedded.org/layerindex/recipe/5558/

wertig0n commented 1 year ago

Since there is a recipe oatpp-ssdp in the layer, I would assume that using oatpp-ssdp is the solution. Another option could be to simply add the below line to meta-oatpp/recipes-oatpp/oatpp-ssdp/oatpp-ssdp_1.3.0.bb:

PROVIDES = "ssdp"

Good catch though, submit a PR.

michizimmeri commented 1 year ago

6