Bug 13611 - meta-selftest fails yocto-check-layer
Summary: meta-selftest fails yocto-check-layer
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.1 M2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-10-29 13:59 UTC by Armin Kuster
Modified: 2020-01-16 16:09 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2019-10-29 13:59:49 UTC
INFO: Traceback (most recent call last):
  File "/home/akuster/oss/maint/poky/scripts/lib/checklayer/cases/common.py", line 44, in test_world
    get_signatures(self.td['builddir'], failsafe=False)
  File "/home/akuster/oss/maint/poky/scripts/lib/checklayer/__init__.py", line 260, in get_signatures
    cmd, builddir)
  File "/home/akuster/oss/maint/poky/scripts/lib/checklayer/__init__.py", line 234, in check_command
    raise RuntimeError(msg)
RuntimeError: 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 1332 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/libx11' (but /home/akuster/oss/maint/poky/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb DEPENDS on or otherwise requires it)
libx11 PROVIDES virtual/libx11 but was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'recipeutils-test', 'virtual/libx11']

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


INFO: skipped "DistroCheckLayer: Layer meta-selftest isn't Distro one."
INFO: ======================================================================
INFO: ERROR: test_world (common.CommonCheckLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
  File "/home/akuster/oss/maint/poky/scripts/lib/checklayer/cases/common.py", line 44, in test_world
    get_signatures(self.td['builddir'], failsafe=False)
  File "/home/akuster/oss/maint/poky/scripts/lib/checklayer/__init__.py", line 260, in get_signatures
    cmd, builddir)
  File "/home/akuster/oss/maint/poky/scripts/lib/checklayer/__init__.py", line 234, in check_command
    raise RuntimeError(msg)
RuntimeError: 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 1332 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/libx11' (but /home/akuster/oss/maint/poky/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb DEPENDS on or otherwise requires it)
libx11 PROVIDES virtual/libx11 but was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'recipeutils-test', 'virtual/libx11']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Comment 1 Ross Burton 2019-10-31 15:45:03 UTC
The recipeutils-test recipe depend on virtual/libx11 for no good reason as it's a dummy recipe.  Easily removed.
Comment 2 Ross Burton 2020-01-16 16:09:57 UTC
Fixed in 7dbd72a08a81436d9ddd168f44e5c13e28eaff99.