[OE-core] [PATCH 05/28] python3: update to 3.8.1

André Draszik git at andred.net
Thu Jan 9 19:37:24 UTC 2020


On Thu, 2020-01-09 at 19:28 +0000, André Draszik wrote:
> On Thu, 2020-01-09 at 16:31 +0100, Alexander Kanavin wrote:
> > On Thu, 9 Jan 2020 at 00:02, Richard Purdie <richard.purdie at linuxfoundation.org> wrote:
> > > On Wed, 2020-01-08 at 14:27 +0100, Alexander Kanavin wrote:
> > > > Drop backports, rebase other patches.
> > > > 
> > > > One patch I wasn't able to rebase as upstream code changed too much:
> > > > 0003-setup.py-pass-missing-libraries-to-Extension-for-mul.patch
> > > > Please determine if it is still needed, produce a new version,
> > > > and work with upstream to get it merged.
> > > > 
> > > > 0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch
> > > > is removed as the use case (allowing python 2 and 3 to coexist
> > > > in SDKs) is no longer relevant with Python 2.x reaching end of line
> > > > and upstream has refactored the code making a rebase difficult.
> > > > If needed, please re-add the patch to py2, rather than py3.
> > > > 
> > > > Python 3.8 no longer adds "m" to "3.8" in paths, so adjust the
> > > > recipes
> > > > and classes accordingly.
> > > > 
> > > > The manifest for the 3.8.0 version is updated; particularly pkgutil
> > > > module is now packaged in -core (as other things in core need it);
> > > > this also necessitates allowing empty -pkgutil package to avoid
> > > > breakage across layers.
> > > 
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/1442
> > 
> > This is a weird one, and I can't reproduce it locally. Hints?
> > 
> > File: '/home/pokybuild/yocto-worker/beaglebone/build/meta/lib/oe/sstatesig.py', lineno: 544, function: process
> >      0540:                else:
> >      0541:                    add_perm(stat.S_IXOTH, 'x')
> >      0542:
> >      0543:                if include_owners:
> >  *** 0544:                    update_hash(" %10s" % pwd.getpwuid(s.st_uid).pw_name)
> >      0545:                    update_hash(" %10s" % grp.getgrgid(s.st_gid).gr_name)
> >      0546:
> >      0547:                update_hash(" ")
> >      0548:                if stat.S_ISBLK(s.st_mode) or stat.S_ISCHR(s.st_mode):
> > Exception: KeyError: 'getpwuid(): uid not found: 6000'
> 
> I believe this typically means that the file is owned by the user running bitbake.

... or more generally that it's owned by a user not known inside the build environment.

A
 
> 
> It could be useful to add the file in question to the exception trace, for easier
> debug / fixing.
> 
> This will happen if
> * files were installed outside do_install() in a different task
>   that is not running under pseudo (fakeroot), or alternatively:
> * cp without --no-preserve=ownership
> * tar without --no-same-owner
> * cpio without --no-preserve-owner
> 
> 
> HTH,
> A.
> 
> 



More information about the Openembedded-core mailing list