[yocto] Detecting missing build dependencies

Ulf Magnusson ulfalizer at gmail.com
Wed Jan 27 06:45:30 PST 2016


Hello,

If a recipe has a missing build dependency that the sysroot just
happens to contain anyway from an earlier build, then the build will
succeed only to fail later when the sysroot no longer has the build
dependency. We want to avoid that, so we're looking for ways to
automatically check for unspecified build dependencies.

The only method I know of at the moment is to remove or rename tmp/ so
that the build uses a fresh sysroot and then trying to rebuild the
recipe. Is there something nicer? I think I remember reading about a
script for testing for missing build dependencies, but I might be
misremembering.

Cheers,
Ulf



More information about the yocto mailing list