Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2020
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 6.45 KB | None | 0 0
  1. ERROR: apricot-image-ui-1.0-r0 do_rootfs: Error executing a python function in exec_python_func() autogenerated:
  2.                                                    
  3. The stack trace of python calls that resulted in this exception/failure was:
  4. File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
  5.      0001:                                                                                              
  6.  *** 0002:do_rootfs(d)                                                                                  
  7.      0003:                                                                                              
  8. File: '/home/hdd/apricot/build/../sources/poky/meta/classes/image.bbclass', lineno: 245, function: do_rootfs
  9.      0241:    progress_reporter.next_stage()        
  10.      0242:                                          
  11.      0243:    # generate rootfs                    
  12.      0244:    d.setVarFlag('REPRODUCIBLE_TIMESTAMP_ROOTFS', 'export', '1')
  13.  *** 0245:    create_rootfs(d, progress_reporter=progress_reporter, logcatcher=logcatcher)
  14.      0246:                                                                                              
  15.      0247:    progress_reporter.finish()
  16.      0248:}                                        
  17.      0249:do_rootfs[dirs] = "${TOPDIR}"                                                                  
  18. File: '/home/hdd/apricot/build/../sources/poky/meta/lib/oe/rootfs.py', lineno: 977, function: create_rootfs
  19.      0973:    img_type = d.getVar('IMAGE_PKGTYPE')                                                      
  20.      0974:    if img_type == "rpm":
  21.      0975:        RpmRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
  22.      0976:    elif img_type == "ipk":
  23.  *** 0977:        OpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
  24.      0978:    elif img_type == "deb":                                                                    
  25.      0979:        DpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
  26.      0980:                                                                                              
  27.      0981:    os.environ.clear()                                                                                                                                                                                  
  28. File: '/home/hdd/apricot/build/../sources/poky/meta/lib/oe/rootfs.py', lineno: 240, function: create
  29.      0236:                                                                                                                                                                                                        
  30.      0237:        self._run_ldconfig()                                                                                                                                                                            
  31.      0238:                                                                                              
  32.      0239:        if self.d.getVar('USE_DEPMOD') != "0":
  33.  *** 0240:            self._generate_kernel_module_deps()
  34.      0241:                                          
  35.      0242:        self._cleanup()                  
  36.      0243:        self._log_check()                                                                      
  37.      0244:                                          
  38. File: '/home/hdd/apricot/build/../sources/poky/meta/lib/oe/rootfs.py', lineno: 327, function: _generate_kernel_module_deps
  39.      0323:                                                                                                                                                                                                        
  40.      0324:        kernel_ver = open(kernel_abi_ver_file).read().strip(' \n')
  41.      0325:        versioned_modules_dir = os.path.join(self.image_rootfs, modules_dir, kernel_ver)
  42.      0326:                                          
  43.  *** 0327:        bb.utils.mkdirhier(versioned_modules_dir)
  44.      0328:                                          
  45.      0329:        self._exec_shell_cmd(['depmodwrapper', '-a', '-b', self.image_rootfs, kernel_ver])
  46.      0330:                                          
  47.      0331:    """                                  
  48. File: '/home/hdd/apricot/sources/poky/bitbake/lib/bb/utils.py', lineno: 737, function: mkdirhier
  49.     0733:    try:                                  
  50.     0734:        os.makedirs(directory)
  51.     0735:    except OSError as e:
  52.     0736:        if e.errno != errno.EEXIST or not os.path.isdir(directory):
  53. *** 0737:            raise e
  54.     0738:                                          
  55.     0739:def movefile(src, dest, newmtime = None, sstat = None):
  56.     0740:    """Moves a file from src to dest, preserving all permissions and
  57.      0741:    attributes; mtime will be preserved even when moving across
  58. File: '/home/hdd/apricot/sources/poky/bitbake/lib/bb/utils.py', lineno: 734, function: mkdirhier
  59.      0730:    directory already exists like os.makedirs
  60.      0731:    """                                  
  61.     0732:                                          
  62.     0733:    try:                                  
  63. *** 0734:        os.makedirs(directory)
  64.     0735:    except OSError as e:
  65.     0736:        if e.errno != errno.EEXIST or not os.path.isdir(directory):
  66.     0737:            raise e
  67.     0738:                                          
  68. File: '/usr/lib/python3.8/os.py', lineno: 223, function: makedirs
  69.     0219:            cdir = bytes(curdir, 'ASCII')
  70.     0220:        if tail == cdir:           # xxx/newdir/. exists if xxx/newdir exists
  71.     0221:            return
  72.     0222:    try:                                  
  73. *** 0223:        mkdir(name, mode)
  74.     0224:    except OSError:
  75.     0225:        # Cannot rely on checking for EEXIST, since the operating system
  76.     0226:        # could give priority to other errors like EACCES or EROFS
  77.     0227:        if not exist_ok or not path.isdir(name):
  78. Exception: PermissionError: [Errno 13] Permission denied: '/home/hdd/apricot/build/tmp/work/qtiquingvm-mbient-linux/apricot-image-ui/1.0-r0/rootfs/lib/modules/4.14.202-perf'
  79.  
  80. ERROR: Logfile of failure stored in: /home/hdd/apricot/build/tmp/work/qtiquingvm-mbient-linux/apricot-image-ui/1.0-r0/temp/log.do_rootfs.71185
  81. ERROR: Task (/home/hdd/apricot/build/../sources/meta-apricot/recipes-apricot/images/apricot-image-ui.bb:do_rootfs) failed with exit code '1'
  82. NOTE: Tasks Summary: Attempted 12416 tasks of which 12415 didn't need to be rerun and 1 failed.
  83.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement