Is there documentation on the yocto-check-layer script thtat goes over proper 
use of command line options ?


From: [email protected] <[email protected]> On Behalf Of 
Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Wednesday, February 10, 2021 8:55 AM
To: [email protected]
Subject: [yocto] #yocto #kernel "yocto-check-layer"

External Email Alert

This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click 
on a link, decrypt/open an attachment, or enable macros.  For further 
information on how to spot phishing, access “Cybersecurity OneSpace Page” and 
report phishing by clicking the button “Report Phishing” on the Outlook toolbar.



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']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

INFO:
INFO: Summary of results:
INFO:
INFO: meta-intel-bsp ... FAIL (Generating world signatures)
08:44 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-distro
INFO: Detected layers:
INFO: meta-intel-distro: LayerType.DISTRO, 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-intel/meta-intel-distro
INFO:
INFO: Setting up for meta-intel-distro(LayerType.DISTRO), 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-intel/meta-intel-distro
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:
Loading cache...done.
Loaded 3645 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'seloader' (but 
/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/packagegroups/packagegroup-base.bb
 RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'seloader' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['seloader']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 
'packagegroup-base', 'seloader']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

INFO:
INFO: Summary of results:
INFO:
INFO: meta-intel-distro ... FAIL (Generating world signatures)
08:46 smonsees@yix490031 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default>

Thanks,
Steve
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#52287): https://lists.yoctoproject.org/g/yocto/message/52287
Mute This Topic: https://lists.yoctoproject.org/mt/80531789/21656
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Mute #kernel:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernel
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to