Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3559

kernel-module-vspm fails on do_populate_sysroot_setscene

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • Jellyfish 9.99.3, master
    • None

      WARNING: Logfile for failed setscene task is /home/dl9pf/yocto/build-h3ulcb/tmp/work/h3ulcb-agl-linux/kernel-module-vspm/1.0-r0/temp/log.do_populate_sysroot_setscene.1770
      WARNING: Setscene task (/home/dl9pf/AGL/master/bsp/meta-renesas/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb:do_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead
       

       

      This causes the tasks to rerun and will slow-down the build a lot.

      Can we fix the root cause ?

       

      vspm_sstate_check_func() {                                                                                                                                                                                                                        
          # An error is returned when unpack of kernel source has not been completed yet.                                                                                                                                                               
          # By returning error, rebuild task runs by force (Invalidating sstate).                                                                                                                                                                       
          # This module installs shared header files in /home/dl9pf/yocto/build-h3ulcb/tmp/work-shared/h3ulcb/kernel-source/include by                                                                                                                  
          # sstate cache.                                                                                                                                                                                                                               
          # Those files will be deleted by unpack task of kernel.                                                                                                                                                                                       
          if [ ${WITHIN_EXT_SDK} -eq 1 ]; then                                                                                                                                                                                                          
              :                                                                                                                                                                                                                                         
          else                                                                                                                                                                                                                                          
              if [ ! -d "/home/dl9pf/yocto/build-h3ulcb/tmp/work-shared/h3ulcb/kernel-source/include" ]; then                                                                                                                                           
                  exit 1                                                                                                                                                                                                                                
              fi                                                                                                                                                                                                                                        
          fi                                                                                                                                                                                                                                            
      }                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                        
      vspm_sstate_check_func                                                                                                                                                                                                                            
                              

       

      I see this is kind-of on purpose. Could we solve the issue in a better way by actually using sstate or by re-populating (needs a dependency added).

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

            harunobu.kurokawa Harunobu Kurokawa
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: