All of lore.kernel.org
 help / color / mirror / Atom feed
* #yocto #kernel "yocto-check-layer"
@ 2021-02-10 13:55 Monsees, Steven C (US)
  2021-02-10 15:17 ` Monsees, Steven C (US)
  2021-02-10 15:35 ` Anuj Mittal
  0 siblings, 2 replies; 4+ messages in thread
From: Monsees, Steven C (US) @ 2021-02-10 13:55 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 4031 bytes --]


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

[-- Attachment #2: Type: text/html, Size: 8168 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: #yocto #kernel "yocto-check-layer"
  2021-02-10 13:55 #yocto #kernel "yocto-check-layer" Monsees, Steven C (US)
@ 2021-02-10 15:17 ` Monsees, Steven C (US)
  2021-02-10 20:24   ` [yocto] " Monsees, Steven C (US)
  2021-02-10 15:35 ` Anuj Mittal
  1 sibling, 1 reply; 4+ messages in thread
From: Monsees, Steven C (US) @ 2021-02-10 15:17 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 4851 bytes --]


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


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

[-- Attachment #2: Type: text/html, Size: 11227 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [yocto] #yocto #kernel "yocto-check-layer"
  2021-02-10 13:55 #yocto #kernel "yocto-check-layer" Monsees, Steven C (US)
  2021-02-10 15:17 ` Monsees, Steven C (US)
@ 2021-02-10 15:35 ` Anuj Mittal
  1 sibling, 0 replies; 4+ messages in thread
From: Anuj Mittal @ 2021-02-10 15:35 UTC (permalink / raw)
  To: steven.monsees, yocto

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [yocto] #yocto #kernel "yocto-check-layer"
  2021-02-10 15:17 ` Monsees, Steven C (US)
@ 2021-02-10 20:24   ` Monsees, Steven C (US)
  0 siblings, 0 replies; 4+ messages in thread
From: Monsees, Steven C (US) @ 2021-02-10 20:24 UTC (permalink / raw)
  To: Monsees, Steven C (US), yocto

[-- Attachment #1: Type: text/plain, Size: 7311 bytes --]


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

[-- Attachment #2: Type: text/html, Size: 18790 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-10 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10 13:55 #yocto #kernel "yocto-check-layer" Monsees, Steven C (US)
2021-02-10 15:17 ` Monsees, Steven C (US)
2021-02-10 20:24   ` [yocto] " Monsees, Steven C (US)
2021-02-10 15:35 ` Anuj Mittal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.