Skip to content
Latchkey

Yocto Bitbake "Nothing PROVIDES" error in CI

Bitbake parsed your layers and found no recipe that provides the requested target or dependency. The name is wrong, or the layer that defines it is not added to bblayers.conf.

What this error means

A bitbake <target> step fails during parsing with "ERROR: Nothing PROVIDES 'X'" and sometimes "was skipped: missing required dependency".

bitbake
ERROR: Nothing PROVIDES 'my-app'
ERROR: Required build target 'my-app' has no buildable providers.

Common causes

The layer providing the recipe is not added

A recipe lives in a layer that is not listed in bblayers.conf, so Bitbake never parses it and cannot find a provider.

The target or dependency name is misspelled

A typo in the build target or in a DEPENDS/RDEPENDS value names something no recipe provides.

How to fix it

Add the layer that provides the recipe

  1. Add the layer with bitbake-layers add-layer <path>.
  2. Confirm the recipe name with bitbake-layers show-recipes <name>.
  3. Re-run the build.
Terminal
bitbake-layers add-layer ../meta-myapp
bitbake-layers show-recipes my-app

Correct the target or dependency name

Use the exact PN (package name) from the recipe filename, and fix any typo in DEPENDS.

recipes-myapp/my-app/my-app.bb
DEPENDS = "openssl zlib"

How to prevent it

  • Add every required layer to bblayers.conf in CI.
  • Verify recipe names with bitbake-layers show-recipes.
  • Match DEPENDS values to real provider names.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →