#yocto #kernel "yocto-check-layer" #yocto #kernel


Monsees, Steven C (US)
 

 

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


Monsees, Steven C (US)
 

 

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

 

 

From: yocto@... <yocto@...> On Behalf Of Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Wednesday, February 10, 2021 8:55 AM
To: yocto@...
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


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


Monsees, Steven C (US)
 

 

I have gotten much closer with Yocto-check-layer, down to the same error for both layers, all other tests passing…

 

Can someone explain what the error means, and what might be causing it  ?

 

Meta-intel-bsp now showing:

 

INFO: Ran 10 tests in 341.168s

INFO: FAILED

INFO:  (failures=1, skipped=3)

INFO:

INFO: Summary of results:

INFO:

INFO: meta-intel-bsp ... FAIL

 

INFO: ======================================================================

INFO: FAIL: test_signatures (common.CommonCheckLayer)

INFO: ----------------------------------------------------------------------

INFO: Traceback (most recent call last):

  File "/disk0/scratch/smonsees/yocto/workspace_3/poky/scripts/lib/checklayer/cases/common.py", line 55, in test_signatures

    self.fail('Adding layer %s changed signatures.\n%s' % (self.tc.layer['name'], msg))

AssertionError: Adding layer meta-intel-bsp changed signatures.

 

Meta-intel-distro now showing:

 

INFO: Ran 8 tests in 352.407s

INFO: FAILED

INFO:  (failures=1, skipped=1)

INFO:

INFO: Summary of results:

INFO:

INFO: meta-intel-distro ... FAIL

 

INFO: ======================================================================

INFO: FAIL: test_signatures (common.CommonCheckLayer)

INFO: ----------------------------------------------------------------------

INFO: Traceback (most recent call last):

  File "/disk0/scratch/smonsees/yocto/workspace_3/poky/scripts/lib/checklayer/cases/common.py", line 55, in test_signatures

    self.fail('Adding layer %s changed signatures.\n%s' % (self.tc.layer['name'], msg))

AssertionError: Adding layer meta-intel-distro changed signatures.

 

Thanks,

Steve

 

From: yocto@... <yocto@...> On Behalf Of Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Wednesday, February 10, 2021 10:17 AM
To: yocto@...
Subject: Re: [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.

 

 

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

 

 

From: yocto@... <yocto@...> On Behalf Of Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Wednesday, February 10, 2021 8:55 AM
To: yocto@...
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