<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: e2fsprogs 1.47 do package Exception: KeyError: 'getpwuid(): uid not found: 1000' in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/e2fsprogs-1-47-do-package-Exception-KeyError-getpwuid-uid-not/m-p/1784727#M218401</link>
    <description>&lt;P&gt;clean up the package&lt;/P&gt;&lt;P&gt;download and compile again&lt;/P&gt;&lt;P&gt;success&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 01:56:36 GMT</pubDate>
    <dc:creator>gufengzi</dc:creator>
    <dc:date>2024-01-09T01:56:36Z</dc:date>
    <item>
      <title>e2fsprogs 1.47 do package Exception: KeyError: 'getpwuid(): uid not found: 1000'</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/e2fsprogs-1-47-do-package-Exception-KeyError-getpwuid-uid-not/m-p/1782998#M218225</link>
      <description>&lt;P&gt;jt@kylin:~/src/yocto_imx/build-qpxwayland$ bitbake -c package e2fsprogs&lt;BR /&gt;Loading cache: 100% |########################################################################################################################################| Time: 0:00:00&lt;BR /&gt;Loaded 5303 entries from dependency cache.&lt;BR /&gt;NOTE: Resolving any missing task queue dependencies&lt;/P&gt;&lt;P&gt;Build Configuration:&lt;BR /&gt;BB_VERSION = "2.4.0"&lt;BR /&gt;BUILD_SYS = "x86_64-linux"&lt;BR /&gt;NATIVELSBSTRING = "universal"&lt;BR /&gt;TARGET_SYS = "arm-poky-linux-gnueabi"&lt;BR /&gt;MACHINE = "imx6qpsabresd"&lt;BR /&gt;DISTRO = "fsl-imx-xwayland"&lt;BR /&gt;DISTRO_VERSION = "6.1-mickledore"&lt;BR /&gt;TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"&lt;BR /&gt;TARGET_FPU = "hard"&lt;BR /&gt;meta&lt;BR /&gt;meta-poky = "HEAD:0a98281d37b0bd8dc1548c390216cb3978e36e0e"&lt;BR /&gt;meta-oe&lt;BR /&gt;meta-multimedia&lt;BR /&gt;meta-python = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"&lt;BR /&gt;meta-freescale = "HEAD:9b00d40b787c2b7105ce209f5635cc1a0cab81ca"&lt;BR /&gt;meta-freescale-3rdparty = "HEAD:93ba05e3a16a028b770fa1e813b13eb87a59ac63"&lt;BR /&gt;meta-freescale-distro = "HEAD:b09c18a3f649f0cf1b40432bb39e76ba16fe94e2"&lt;BR /&gt;meta-bsp&lt;BR /&gt;meta-sdk&lt;BR /&gt;meta-ml&lt;BR /&gt;meta-v2x = "HEAD:6efe87f014c5bdcbda30f06156ee11d8bc3dc7fe"&lt;BR /&gt;meta-nxp-demo-experience = "HEAD:7f34a32c7877e55e87b6a99e90da4128ed632bf2"&lt;BR /&gt;meta-arm&lt;BR /&gt;meta-arm-toolchain = "HEAD:0e043288fd0b17fbf31cf00ae33045107a991144"&lt;BR /&gt;meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"&lt;BR /&gt;meta-clang = "HEAD:af4dcba009ba98250315520f3003fde4ee164cce"&lt;BR /&gt;meta-gnome&lt;BR /&gt;meta-networking&lt;BR /&gt;meta-filesystems = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"&lt;BR /&gt;meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad"&lt;BR /&gt;meta-parsec&lt;BR /&gt;meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2"&lt;BR /&gt;meta-virtualization = "HEAD:56593e277a377157944a6676e57497066b770a35"&lt;/P&gt;&lt;P&gt;Initialising tasks: 100% |###################################################################################################################################| Time: 0:00:00&lt;BR /&gt;Sstate summary: Wanted 1 Local 0 Mirrors 0 Missed 1 Current 226 (0% match, 99% complete)&lt;BR /&gt;NOTE: Executing Tasks&lt;BR /&gt;WARNING: e2fsprogs-1.47.0-r0 do_package: KeyError in ./package/usr/lib/e2fsprogs&lt;BR /&gt;ERROR: e2fsprogs-1.47.0-r0 do_package: Error executing a python function in exec_func_python() autogenerated:&lt;/P&gt;&lt;P&gt;The stack trace of python calls that resulted in this exception/failure was:&lt;BR /&gt;File: 'exec_func_python() autogenerated', lineno: 2, function: &amp;lt;module&amp;gt;&lt;BR /&gt;0001:&lt;BR /&gt;*** 0002:sstate_report_unihash(d)&lt;BR /&gt;0003:&lt;BR /&gt;File: '/home/tjt/src/yocto_imx/sources/poky/meta/classes-global/sstate.bbclass', lineno: 903, function: sstate_report_unihash&lt;BR /&gt;0899: report_unihash = getattr(bb.parse.siggen, 'report_unihash', None)&lt;BR /&gt;0900:&lt;BR /&gt;0901: if report_unihash:&lt;BR /&gt;0902: ss = sstate_state_fromvars(d)&lt;BR /&gt;*** 0903: report_unihash(os.getcwd(), ss['task'], d)&lt;BR /&gt;0904:}&lt;BR /&gt;0905:&lt;BR /&gt;0906:#&lt;BR /&gt;0907:# Shell function to decompress and prepare a package for installation&lt;BR /&gt;File: '/home/tjt/src/yocto_imx/sources/poky/bitbake/lib/bb/siggen.py', lineno: 649, function: report_unihash&lt;BR /&gt;0645:&lt;BR /&gt;0646: if "." in self.method:&lt;BR /&gt;0647: (module, method) = self.method.rsplit('.', 1)&lt;BR /&gt;0648: locs['method'] = getattr(importlib.import_module(module), method)&lt;BR /&gt;*** 0649: outhash = bb.utils.better_eval('method(path, sigfile, task, d)', locs)&lt;BR /&gt;0650: else:&lt;BR /&gt;0651: outhash = bb.utils.better_eval(self.method + '(path, sigfile, task, d)', locs)&lt;BR /&gt;0652:&lt;BR /&gt;0653: try:&lt;BR /&gt;File: '/home/tjt/src/yocto_imx/sources/poky/bitbake/lib/bb/utils.py', lineno: 434, function: better_eval&lt;BR /&gt;0430: if extraglobals:&lt;BR /&gt;0431: ctx = copy.copy(ctx)&lt;BR /&gt;0432: for g in extraglobals:&lt;BR /&gt;0433: ctx[g] = extraglobals[g]&lt;BR /&gt;*** 0434: return eval(source, ctx, locals)&lt;BR /&gt;0435:&lt;BR /&gt;0436:@contextmanager&lt;BR /&gt;0437:def fileslocked(files, *args, **kwargs):&lt;BR /&gt;0438: """Context manager for locking and unlocking file locks."""&lt;BR /&gt;File: '&amp;lt;string&amp;gt;', lineno: 1, function: &amp;lt;module&amp;gt;&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;File: '/home/tjt/src/yocto_imx/sources/poky/meta/lib/oe/sstatesig.py', lineno: 650, function: OEOuthashBasic&lt;BR /&gt;0646: update_hash("\n")&lt;BR /&gt;0647:&lt;BR /&gt;0648: # Process this directory and all its child files&lt;BR /&gt;0649: if include_root or root != ".":&lt;BR /&gt;*** 0650: process(root)&lt;BR /&gt;0651: for f in files:&lt;BR /&gt;0652: if f == 'fixmepath':&lt;BR /&gt;0653: continue&lt;BR /&gt;0654: process(os.path.join(root, f))&lt;BR /&gt;File: '/home/tjt/src/yocto_imx/sources/poky/meta/lib/oe/sstatesig.py', lineno: 593, function: process&lt;BR /&gt;0589: except KeyError as e:&lt;BR /&gt;0590: bb.warn("KeyError in %s" % path)&lt;BR /&gt;0591: msg = ("KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn't match "&lt;BR /&gt;0592: "any user/group on target. This may be due to host contamination." % (e, path, s.st_uid, s.st_gid))&lt;BR /&gt;*** 0593: raise Exception(msg).with_traceback(e.__traceback__)&lt;BR /&gt;0594:&lt;BR /&gt;0595: if include_timestamps:&lt;BR /&gt;0596: update_hash(" %10d" % s.st_mtime)&lt;BR /&gt;0597:&lt;BR /&gt;File: '/home/tjt/src/yocto_imx/sources/poky/meta/lib/oe/sstatesig.py', lineno: 587, function: process&lt;BR /&gt;0583: else:&lt;BR /&gt;0584: add_perm(stat.S_IXOTH, 'x')&lt;BR /&gt;0585:&lt;BR /&gt;0586: try:&lt;BR /&gt;*** 0587: update_hash(" %10s" % pwd.getpwuid(s.st_uid).pw_name)&lt;BR /&gt;0588: update_hash(" %10s" % grp.getgrgid(s.st_gid).gr_name)&lt;BR /&gt;0589: except KeyError as e:&lt;BR /&gt;0590: bb.warn("KeyError in %s" % path)&lt;BR /&gt;0591: msg = ("KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn't match "&lt;BR /&gt;Exception: Exception: KeyError: 'getpwuid(): uid not found: 1000'&lt;BR /&gt;Path ./package/usr/lib/e2fsprogs is owned by uid 1000, gid 1000, which doesn't match any user/group on target. This may be due to host contamination.&lt;/P&gt;&lt;P&gt;ERROR: Logfile of failure stored in: /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/e2fsprogs/1.47.0-r0/temp/log.do_package.847333&lt;BR /&gt;ERROR: Task (/home/tjt/src/yocto_imx/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb:do_package) failed with exit code '1'&lt;BR /&gt;NOTE: Tasks Summary: Attempted 922 tasks of which 921 didn't need to be rerun and 1 failed.&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;BR /&gt;/home/tjt/src/yocto_imx/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb:do_package&lt;BR /&gt;Summary: There was 1 WARNING message.&lt;BR /&gt;Summary: There was 1 ERROR message, returning a non-zero exit code.&lt;BR /&gt;tjt@kylin:~/src/yocto_imx/build-qpxwayland$&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 11:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/e2fsprogs-1-47-do-package-Exception-KeyError-getpwuid-uid-not/m-p/1782998#M218225</guid>
      <dc:creator>gufengzi</dc:creator>
      <dc:date>2024-01-04T11:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: e2fsprogs 1.47 do package Exception: KeyError: 'getpwuid(): uid not found: 1000'</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/e2fsprogs-1-47-do-package-Exception-KeyError-getpwuid-uid-not/m-p/1784727#M218401</link>
      <description>&lt;P&gt;clean up the package&lt;/P&gt;&lt;P&gt;download and compile again&lt;/P&gt;&lt;P&gt;success&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 01:56:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/e2fsprogs-1-47-do-package-Exception-KeyError-getpwuid-uid-not/m-p/1784727#M218401</guid>
      <dc:creator>gufengzi</dc:creator>
      <dc:date>2024-01-09T01:56:36Z</dc:date>
    </item>
  </channel>
</rss>

