<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14234</bug_id>
          
          <creation_ts>2021-02-15 11:17:07 +0000</creation_ts>
          <short_desc>Unknown user during do_package</short_desc>
          <delta_ts>2021-02-18 15:33:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>3.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89266</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-02-15 11:17:07 +0000</bug_when>
    <thetext>Most likely due to the new uninative release:

File: &apos;/home/pokybuild/yocto-worker/genericx86/build/meta/lib/oe/sstatesig.py&apos;, lineno: 599, function: OEOuthashBasic
     0595:            process(root)
     0596:            for f in files:
     0597:                if f == &apos;fixmepath&apos;:
     0598:                    continue
 *** 0599:                process(os.path.join(root, f))
     0600:    finally:
     0601:        os.chdir(prev_dir)
     0602:
     0603:    return h.hexdigest()
File: &apos;/home/pokybuild/yocto-worker/genericx86/build/meta/lib/oe/sstatesig.py&apos;, lineno: 559, function: process
     0555:                    except KeyError as e:
     0556:                        bb.warn(&quot;KeyError in %s&quot; % path)
     0557:                        msg = (&quot;KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn&apos;t match &quot;
     0558:                            &quot;any user/group on target. This may be due to host contamination.&quot; % (e, path, s.st_uid, s.st_gid))
 *** 0559:                        raise Exception(msg).with_traceback(e.__traceback__)
     0560:
     0561:                if include_timestamps:
     0562:                    update_hash(&quot; %10d&quot; % s.st_mtime)
     0563:
File: &apos;/home/pokybuild/yocto-worker/genericx86/build/meta/lib/oe/sstatesig.py&apos;, lineno: 553, function: process
     0549:                    add_perm(stat.S_IXOTH, &apos;x&apos;)
     0550:
     0551:                if include_owners:
     0552:                    try:
 *** 0553:                        update_hash(&quot; %10s&quot; % pwd.getpwuid(s.st_uid).pw_name)
     0554:                        update_hash(&quot; %10s&quot; % grp.getgrgid(s.st_gid).gr_name)
     0555:                    except KeyError as e:
     0556:                        bb.warn(&quot;KeyError in %s&quot; % path)
     0557:                        msg = (&quot;KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn&apos;t match &quot;
Exception: Exception: KeyError: &apos;getpwuid(): uid not found: 6000&apos;
Path ./package/etc/motd is owned by uid 6000, gid 6000, which doesn&apos;t match any user/group on target. This may be due to host contamination.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89292</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-02-18 15:33:35 +0000</bug_when>
    <thetext>This was caused by upgrading the buildtools-extended-tarball which contained glibc 2.33 and that turned out to break pseudo.

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f162c34fdba51902abb9e8fb79ddc5044deab275</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>