Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138741

[yocto-check-layer] Failures on meta-qt6 layer for compliance checking

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 6.8, 6.10
    • Yocto: meta-qt6 layer
    • None
    • 6ed2aff39 (dev), 3080ebe00 (dev), 78589c200 (dev), c96525004 (6.10), 2a3492170 (6.10), f9334e6ae (dev), 47669bcbd (6.9), d50286101 (6.9), 69be3738d (lts-6.8), 597ab984b (lts-6.8)

      when do yocto-check-layer, following errors show:
      1. FAIL: test_signatures (common.CommonCheckLayer.test_signatures)

      INFO: FAIL: test_signatures (common.CommonCheckLayer.test_signatures)                                                                                                                                                                      
      INFO: ----------------------------------------------------------------------                                                                                                                                                               
      INFO: Traceback (most recent call last):                                                                                                                                                                                                   
        File "/poky-prj/master/poky/scripts/lib/checklayer/cases/common.py", line 130, in test_signatures                                                                                                                    
          self.fail('Adding layer %s changed signatures.\n%s' % (self.tc.layer['name'], msg))                                                                                                                                                    
          ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                                    
      AssertionError: Adding layer meta-qt6 changed signatures.                                                                                                                                                                                  
      9 signatures changed, initial differences (first hash before, second after):                                                                                                                                                               
         lxdm:do_install: f26f5b01437c4fc9e4c8dc3c6532d6ead29a00ec8d01449e57d9f1277b981108 -> 46f1d654e4de9ee1e0f347411e073adeb729817f76937abac8dc7878a0735b8d                                                                                   
            bitbake-diffsigs --task lxdm do_install --signature f26f5b01437c4fc9e4c8dc3c6532d6ead29a00ec8d01449e57d9f1277b981108 46f1d654e4de9ee1e0f347411e073adeb729817f76937abac8dc7878a0735b8d                                                
            NOTE: Reconnecting to bitbake server...                                                                                                                                                                                              
            Task dependencies changed from:                                                                                                                                                                                                      
            ['ABIEXTENSION', 'AR', 'AS', 'ASNEEDED', 'B', 'BP', 'BPN', 'BUILD_AR', 'BUILD_AS', 'BUILD_AS_ARCH', 'BUILD_CC', 'BUILD_CCLD', 'BUILD_CC_ARCH', 'BUILD_CFLAGS', 'BUILD_CPP', 'BUILD_CPPFLAGS', 'BUILD_CXX', 'BUILD_CXXFLAGS', 'BUILD_F
      C', ...]                          
            to:                                                                                                                                                                                                                                  
            ['ABIEXTENSION', 'AR', 'AS', 'ASNEEDED', 'B', 'BP', 'BPN', 'BUILD_AR', 'BUILD_AS', 'BUILD_AS_ARCH', 'BUILD_CC', 'BUILD_CCLD', 'BUILD_CC_ARCH', 'BUILD_CFLAGS', 'BUILD_CPP', 'BUILD_CPPFLAGS', 'BUILD_CXX', 'BUILD_CXXFLAGS', 'BUILD_F
      C', ...]                                                                                                                                                                                                                                       
            basehash changed from 3e682c893e1885a983dc614820f32baf6100b75ce83adaf266c084de7bd96608 to ec00638f1c8e53c2978817d71e7e322d936320b6eaa35e96a4537db103b6bf98                                                                           
            List of dependencies for variable IMAGE_FEATURES changed from 'frozenset({'EXTRA_IMAGE_FEATURES'})' to 'frozenset({'EXTRA_IMAGE_FEATURES', 'IMAGE_FEATURES[validitems]'})'                                                           
            changed items: frozenset({'IMAGE_FEATURES[validitems]'})                                                                                                                                                                             
            Dependency on variable IMAGE_FEATURES[validitems] was added   
      

      this error caused by https://code.qt.io/cgit/yocto/meta-qt6.git/tree/conf/layer.conf#n42

      IMAGE_FEATURES[validitems] += "qtcreator-debug"
      

      this variable add should be condition for pass the yocto-layer-check.

      2. INFO: FAIL: test_world_inherit_class (common.CommonCheckLayer.test_world_inherit_class)
      found following recipes need to be imporve
      a) qtwebview_git.bb need to add following because it depends qtwebengine and also require DISTRO_FEATURES opengl.

      inherit features_check
      REQUIRED_DISTRO_FEATURES = "opengl"
      

      b) qtspeech_git.bb need to set PACKAGECONFIG[flite} conditional, otherwise follwoing erro show when do yotco-check-layer

      Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'qtspeech', 'flite']
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sapiippo Samuli Piippo
            pengzh Peng Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: