Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
BitBake error with zulu jdk after update to dunfell
WARNING: zulu-ezdk-x86-11.0.7-u10 do_package: KeyError in ./package/usr/share/zulu-11.0.7_10/DISCLAIMER
ERROR: zulu-ezdk-x86-11.0.7-u10 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:sstate_report_unihash(d)
0003:
File: '/work/poky/meta/classes/sstate.bbclass', lineno: 840, function: sstate_report_unihash
0836: report_unihash = getattr(bb.parse.siggen, 'report_unihash', None)
0837:
0838: if report_unihash:
0839: ss = sstate_state_fromvars(d)
*** 0840: report_unihash(os.getcwd(), ss['task'], d)
0841:}
0842:
0843:#
0844:# Shell function to decompress and prepare a package for installation
File: '/work/poky/bitbake/lib/bb/siggen.py', lineno: 555, function: report_unihash
0551:
0552: if "." in self.method:
0553: (module, method) = self.method.rsplit('.', 1)
0554: locs['method'] = getattr(importlib.import_module(module), method)
*** 0555: outhash = bb.utils.better_eval('method(path, sigfile, task, d)', locs)
0556: else:
0557: outhash = bb.utils.better_eval(self.method + '(path, sigfile, task, d)', locs)
0558:
0559: try:
File: '/work/poky/bitbake/lib/bb/utils.py', lineno: 420, function: better_eval
0416: if extraglobals:
0417: ctx = copy.copy(ctx)
0418: for g in extraglobals:
0419: ctx[g] = extraglobals[g]
*** 0420: return eval(source, ctx, locals)
0421:
0422:@contextmanager
0423:def fileslocked(files):
0424: """Context manager for locking and unlocking file locks."""
File: '<string>', lineno: 1, function: <module>
File "<string>", line 1, in <module>
File: '/work/poky/meta/lib/oe/sstatesig.py', lineno: 589, function: OEOuthashBasic
0585: process(root)
0586: for f in files:
0587: if f == 'fixmepath':
0588: continue
*** 0589: process(os.path.join(root, f))
0590: finally:
0591: os.chdir(prev_dir)
0592:
0593: return h.hexdigest()
File: '/work/poky/meta/lib/oe/sstatesig.py', lineno: 548, function: process
0544: add_perm(stat.S_IXOTH, 'x')
0545:
0546: if include_owners:
0547: try:
*** 0548: update_hash(" %10s" % pwd.getpwuid(s.st_uid).pw_name)
0549: update_hash(" %10s" % grp.getgrgid(s.st_gid).gr_name)
0550: except KeyError:
0551: bb.warn("KeyError in %s" % path)
0552: raise
Exception: KeyError: 'getpwuid(): uid not found: 1001'
ERROR: Logfile of failure stored in: /work/build/tmp/work/corei7-64-test-linux/zulu-ezdk-x86/11.0.7-u10/temp/log.do_package.806
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment