oe-lite / core

Official OE-lite/core repository - moved to GitLab.com
https://gitlab.com/oe-lite/core
Other
4 stars 17 forks source link

class/auto-package-libs: LIBRARY_VERSION specific -dev package provides #242

Closed esben closed 6 years ago

esben commented 6 years ago

This makes sure that all recipes using auto-package-libs provides also provides a LIBRARY_VERSION specific -dev item.

This is necessary when RDEPENDS_ for -dev packages are generated by auto-package-libs.oeclass based on the normal package RDEPENDS, and when these contains LIBRARY_VERSION specific dependencies.

Signed-off-by: Esben Haabendal esben@haabendal.dk

esben commented 6 years ago

This fixes a problem with the current userspace-rcu recipe in OE-lite/base, when used in an sdk image.

FATAL: No provider for machine:liburcu-common-6-dev (needed by machine:userspace-rcu-liburcu-bp-dev)
FATAL: Failed to add sdk:do_build to runqueue
ERROR: exception in bake.run()

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/oe_lite-4.2.0-py2.7.egg/oebakery/cmd/cmds.py", line 137, in call
    ret = function(*args)
  File "/builds/awc500platform/oe-lite/meta/core/lib/oelite/cmd/bake.py", line 35, in run
    return baker.bake()
  File "/builds/awc500platform/oe-lite/meta/core/lib/oelite/baker.py", line 300, in bake
    die("Failed to add %s:%s to runqueue"%(thing, task))
  File "/usr/local/lib/python2.7/dist-packages/oe_lite-4.2.0-py2.7.egg/oebakery/log.py", line 44, in fatal
    raise oebakery.FatalError(msg)
FatalError: Failed to add sdk:do_build to runqueue

CRITICAL: bake failed: Exception: Failed to add sdk:do_build to runqueue