Skip to content

Instantly share code, notes, and snippets.

@KestutisMa
Created May 5, 2023 11:25
Show Gist options
  • Save KestutisMa/421a68bc76e904f41ed2872490fdc009 to your computer and use it in GitHub Desktop.
Save KestutisMa/421a68bc76e904f41ed2872490fdc009 to your computer and use it in GitHub Desktop.
cat /home/lab/Documents/petalinux/ili9341_driver_prj/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/external-hdf/1.0-r0/temp/log.do_package.31337
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/run/media/lab/backup_hdd_big/petalinux/ili9341_driver_prj/components/yocto/layers/core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/run/media/lab/backup_hdd_big/petalinux/ili9341_driver_prj/components/yocto/layers/core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/run/media/lab/backup_hdd_big/petalinux/ili9341_driver_prj/components/yocto/layers/core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'patch-native', 'quilt-native', 'automake-native', 'attr-native', 'autoconf-native', 'libtool-native', 'texinfo-dummy-native', 'gettext-minimal-native', 'gnu-config-native', 'm4-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package
DEBUG: No packages to build, skipping do_package
DEBUG: Python function do_package finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 0o002 (not 22) for sstate packaging
DEBUG: Executing python function sstate_hardcode_path
NOTE: Removing hardcoded paths from sstate package: 'find /home/lab/Documents/petalinux/ili9341_driver_prj/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/external-hdf/1.0-r0/sstate-build-package/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e '/home/lab/Documents/petalinux/ili9341_driver_prj/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/external-hdf/1.0-r0/recipe-sysroot' -e '/home/lab/Documents/petalinux/ili9341_driver_prj/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/external-hdf/1.0-r0/recipe-sysroot-native' -e '/home/lab/Documents/petalinux/ili9341_driver_prj/build/tmp/hosttools' | tee /home/lab/Documents/petalinux/ili9341_driver_prj/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/external-hdf/1.0-r0/sstate-build-package/fixmepath | xargs --no-run-if-empty sed -i -e 's:/home/lab/Documents/petalinux/ili9341_driver_prj/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/external-hdf/1.0-r0/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:/home/lab/Documents/petalinux/ili9341_driver_prj/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/external-hdf/1.0-r0/recipe-sysroot:FIXMESTAGINGDIRTARGET:g' -e 's:/home/lab/Documents/petalinux/ili9341_driver_prj/build/tmp/hosttools:FIXME_HOSTTOOLS_DIR:g''
DEBUG: Python function sstate_hardcode_path finished
DEBUG: Executing python function sstate_report_unihash
WARNING: KeyError in ./package
ERROR: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:sstate_report_unihash(d)
0003:
File: '/run/media/lab/backup_hdd_big/petalinux/ili9341_driver_prj/components/yocto/layers/core/meta/classes/sstate.bbclass', lineno: 888, function: sstate_report_unihash
0884: report_unihash = getattr(bb.parse.siggen, 'report_unihash', None)
0885:
0886: if report_unihash:
0887: ss = sstate_state_fromvars(d)
*** 0888: report_unihash(os.getcwd(), ss['task'], d)
0889:}
0890:
0891:#
0892:# Shell function to decompress and prepare a package for installation
File: '/run/media/lab/backup_hdd_big/petalinux/ili9341_driver_prj/components/yocto/layers/core/bitbake/lib/bb/siggen.py', lineno: 590, function: report_unihash
0586:
0587: if "." in self.method:
0588: (module, method) = self.method.rsplit('.', 1)
0589: locs['method'] = getattr(importlib.import_module(module), method)
*** 0590: outhash = bb.utils.better_eval('method(path, sigfile, task, d)', locs)
0591: else:
0592: outhash = bb.utils.better_eval(self.method + '(path, sigfile, task, d)', locs)
0593:
0594: try:
File: '/run/media/lab/backup_hdd_big/petalinux/ili9341_driver_prj/components/yocto/layers/core/bitbake/lib/bb/utils.py', lineno: 428, function: better_eval
0424: if extraglobals:
0425: ctx = copy.copy(ctx)
0426: for g in extraglobals:
0427: ctx[g] = extraglobals[g]
*** 0428: return eval(source, ctx, locals)
0429:
0430:@contextmanager
0431:def fileslocked(files):
0432: """Context manager for locking and unlocking file locks."""
File: '<string>', lineno: 1, function: <module>
File "<string>", line 1, in <module>
File: '/run/media/lab/backup_hdd_big/petalinux/ili9341_driver_prj/components/yocto/layers/core/meta/lib/oe/sstatesig.py', lineno: 635, function: OEOuthashBasic
0631: update_hash("\n")
0632:
0633: # Process this directory and all its child files
0634: if include_root or root != ".":
*** 0635: process(root)
0636: for f in files:
0637: if f == 'fixmepath':
0638: continue
0639: process(os.path.join(root, f))
File: '/run/media/lab/backup_hdd_big/petalinux/ili9341_driver_prj/components/yocto/layers/core/meta/lib/oe/sstatesig.py', lineno: 578, function: process
0574: except KeyError as e:
0575: bb.warn("KeyError in %s" % path)
0576: msg = ("KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn't match "
0577: "any user/group on target. This may be due to host contamination." % (e, path, s.st_uid, s.st_gid))
*** 0578: raise Exception(msg).with_traceback(e.__traceback__)
0579:
0580: if include_timestamps:
0581: update_hash(" %10d" % s.st_mtime)
0582:
File: '/run/media/lab/backup_hdd_big/petalinux/ili9341_driver_prj/components/yocto/layers/core/meta/lib/oe/sstatesig.py', lineno: 572, function: process
0568: else:
0569: add_perm(stat.S_IXOTH, 'x')
0570:
0571: try:
*** 0572: update_hash(" %10s" % pwd.getpwuid(s.st_uid).pw_name)
0573: update_hash(" %10s" % grp.getgrgid(s.st_gid).gr_name)
0574: except KeyError as e:
0575: bb.warn("KeyError in %s" % path)
0576: msg = ("KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn't match "
Exception: Exception: KeyError: 'getpwuid(): uid not found: 1000'
Path ./package is owned by uid 1000, gid 1001, which doesn't match any user/group on target. This may be due to host contamination.
DEBUG: Python function sstate_report_unihash finished
DEBUG: Python function sstate_task_postfunc finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment