Bug 13611

Summary: meta-selftest fails yocto-check-layer
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

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.