Re: #yocto #kernel "yocto-check-layer" #yocto #kernel


Anuj Mittal
 

On Wed, 2021-02-10 at 13:55 +0000, Monsees, Steven C (US) via
lists.yoctoproject.org wrote:
 
Mb build was setup and done under one layer, with “distro” and “bsp“
at the same layer, I wanted to split them up into separate layers
inorder to better conform to the Yocto standard…. (Note my kernel
builds and runs correctly when split or not split)
 
When not split “Yocto-check-layer” calls me out for having “distro”
and “bsp” in same layer, when I split them I am seeing the following
for each new layer:
 
Can someone explain the errors the script is reporting and how to
resolve (these are not seen build the split or non-split images) ?
 
08:43 smonsees@yix490031
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-
limws/builds/sbcb-default>yocto-check-layer
/disk0/scratch/smonsees/yocto/workspace_3/poky/../meta-bae/meta-
limws/meta-intel/meta-intel-bsp
INFO: Detected layers:
INFO: meta-intel-bsp: LayerType.BSP,
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-
intel/meta-intel-bsp
INFO:
INFO: Setting up for meta-intel-bsp(LayerType.BSP),
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-
intel/meta-intel-bsp
INFO: Getting initial bitbake variables ...
INFO: Getting initial signatures ...
INFO: Generating signatures failed. This might be due to some parse
error and/or general layer incompatibilities.
Command: BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE BB_SIGNATURE_HANDLER"
BB_SIGNATURE_HANDLER="OEBasicHash" bitbake -S none world
Output:
Parsing recipes...done.
Parsing of 2450 .bb files complete (0 cached, 2450 parsed). 3645
targets, 91 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'shim' (but
/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-
core/packagegroups/packagegroup-base.bb RDEPENDS on or otherwise
requires it)
NOTE: Runtime target 'shim' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['shim']
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'packagegroup-base', 'shim']
It looks like this packagegroup has a RDEPENDS on "shim" while the code
can't find the recipe. If that RDEPENDS is correct, this layer probably
needs to add a LAYERDEPENDS on a layer that has this recipe in
layer.conf.


Thanks,

Anuj

Join yocto@lists.yoctoproject.org to automatically receive all group messages.