| Summary: |
nativesdk-packagegroup-sdk-host-1.0-r12 do_package: Error executing a python function in exec_python_func() autogener |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
duziheng2010 |
| Component: |
devtools / tool chain | Assignee: |
duziheng2010 |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
critical
|
|
|
| Priority: |
Undecided
|
CC: |
meta.mr.watcher, meta.watcher, randy.macleod
|
| Version: |
3.1.3 | |
|
| Target Milestone: |
--- | |
|
| Hardware: |
All | |
|
| OS: |
ppc | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
Don't know
|
dzh@zihengdu-nb:~/poky/poky/build$ bitbake meta-toolchain Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00 Loaded 1466 entries from dependency cache. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "powerpc-poky-linux" MACHINE = "t1024rdb" DISTRO = "poky" DISTRO_VERSION = "3.1.3" TUNE_FEATURES = "m32 fpu-hard e5500 bigendian" TARGET_FPU = "hard" meta meta-poky meta-yocto-bsp = "dunfell:012ad10a89a889c21e67c27dc37d22520212548f" meta-freescale = "dunfell:2da53ce8330d4bb0f7cb7a2ae186b7475ba02d52" Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:01 Sstate summary: Wanted 291 Found 0 Missed 291 Current 1341 (0% match, 82% complete) NOTE: Executing Tasks ERROR: nativesdk-packagegroup-sdk-host-1.0-r12 do_package: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: <module> 0001: *** 0002:fixup_perms(d) 0003: File: '/home/dzh/poky/poky/meta/classes/package.bbclass', lineno: 878, function: fixup_perms 0874: for path in target_path_vars: 0875: dir = d.getVar(path) or "" 0876: if dir == "": 0877: continue *** 0878: fs_perms_table[dir] = fs_perms_entry(d.expand("%s 0755 root root false - - -" % (dir))) 0879: 0880: # Now we actually load from the configuration files 0881: for conf in get_fs_perms_list(d).split(): 0882: if not os.path.exists(conf): File: '/home/dzh/poky/poky/meta/classes/package.bbclass', lineno: 750, function: __init__ 0746: lsplit = line.split() 0747: if len(lsplit) == 3 and lsplit[1].lower() == "link": 0748: self._setlink(lsplit[0], lsplit[2]) 0749: elif len(lsplit) == 8: *** 0750: self._setdir(lsplit[0], lsplit[1], lsplit[2], lsplit[3], lsplit[4], lsplit[5], lsplit[6], lsplit[7]) 0751: else: 0752: msg = "Fixup Perms: invalid config line %s" % line 0753: package_qa_handle_error("perm-config", msg, d) 0754: self.path = None File: '/home/dzh/poky/poky/meta/classes/package.bbclass', lineno: 762, function: _setdir 0758: self.path = os.path.normpath(path) 0759: self.link = None 0760: self.mode = self._procmode(mode) 0761: self.uid = self._procuid(uid) *** 0762: self.gid = self._procgid(gid) 0763: self.walk = walk.lower() 0764: self.fmode = self._procmode(fmode) 0765: self.fuid = self._procuid(fuid) 0766: self.fgid = self._procgid(fgid) File: '/home/dzh/poky/poky/meta/classes/package.bbclass', lineno: 793, function: _procgid 0789: return -1 0790: elif gid.isdigit(): 0791: return int(gid) 0792: else: *** 0793: return grp.getgrnam(gid).gr_gid 0794: 0795: # Use for debugging the entries 0796: def __str__(self): 0797: if self.link: Exception: KeyError: 'getgrnam(): name not found: root' ERROR: Logfile of failure stored in: /home/dzh/poky/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-packagegroup-sdk-host/1.0-r12/temp/log.do_package.24741 ERROR: Task (/home/dzh/poky/poky/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb:do_package) failed with exit code '1'