error packaging nativesdk-glibc-locale when building at head in master today:

Exception: KeyError: 'getpwuid(): uid not found: 1000'
ERROR: Logfile of failure stored in: 
/home/parallels/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-glibc-locale/2.31-r0/temp/log.do_package.32088
ERROR: Task 
(virtual:nativesdk:/home/parallels/poky/meta/recipes-core/glibc/glibc-locale_2.31.bb:do_package)
 failed with exit code '1'

full command result follows:

parallels@parallels-Parallels-Virtual-Platform:~/poky/build$ bitbake 
core-image-base -c populate_sdk
Loading cache: 100% 
|#################################################################################################|
 Time: 0:00:00
Loaded 3135 entries from dependency cache.
Parsing recipes: 100% 
|###############################################################################################|
 Time: 0:00:00
Parsing of 2134 .bb files complete (2133 cached, 1 parsed). 3136 targets, 140 
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "raspberrypi3-64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.0+snapshot-20200202"
TUNE_FEATURES        = "aarch64 cortexa53 crc"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp       = "master:2b9781da7c6d60f8d0ddb36de2666b1ba702f551"
meta-oe
meta-multimedia
meta-networking
meta-python          = "master:463f9a3ef0935d772a0be0437a8c09df64ed2f07"
meta-raspberrypi     = "master:4801ca3f039f54e6156d761d2a250a8ef9d422eb"

Initialising tasks: 100% 
|############################################################################################|
 Time: 0:00:01
Sstate summary: Wanted 3 Found 0 Missed 3 Current 1304 (0% match, 99% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
WARNING: nativesdk-glibc-locale-2.31-r0 do_package: KeyError in .
ERROR: nativesdk-glibc-locale-2.31-r0 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: '/home/parallels/poky/meta/classes/sstate.bbclass', lineno: 833, 
function: sstate_report_unihash
0829:    report_unihash = getattr(bb.parse.siggen, 'report_unihash', None)
0830:
0831:    if report_unihash:
0832:        ss = sstate_state_fromvars(d)
*** 0833:        report_unihash(os.getcwd(), ss['task'], d)
0834:}
0835:
0836:#
0837:# Shell function to decompress and prepare a package for installation
File: '/home/parallels/poky/bitbake/lib/bb/siggen.py', lineno: 512, function: 
report_unihash
0508:
0509:            if "." in self.method:
0510:                (module, method) = self.method.rsplit('.', 1)
0511:                locs['method'] = getattr(importlib.import_module(module), 
method)
*** 0512:                outhash = bb.utils.better_eval('method(path, sigfile, 
task, d)', locs)
0513:            else:
0514:                outhash = bb.utils.better_eval(self.method + '(path, 
sigfile, task, d)', locs)
0515:
0516:            try:
File: '/home/parallels/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: '/home/parallels/poky/meta/lib/oe/sstatesig.py', lineno: 582, function: 
OEOuthashBasic
0578:
0579:                update_hash("\n")
0580:
0581:            # Process this directory and all its child files
*** 0582:            process(root)
0583:            for f in files:
0584:                if f == 'fixmepath':
0585:                    continue
0586:                process(os.path.join(root, f))
File: '/home/parallels/poky/meta/lib/oe/sstatesig.py', lineno: 545, function: 
process
0541:                    add_perm(stat.S_IXOTH, 'x')
0542:
0543:                if include_owners:
0544:                    try:
*** 0545:                        update_hash(" %10s" % 
pwd.getpwuid(s.st_uid).pw_name)
0546:                        update_hash(" %10s" % 
grp.getgrgid(s.st_gid).gr_name)
0547:                    except KeyError:
0548:                        bb.warn("KeyError in %s" % path)
0549:                        raise
Exception: KeyError: 'getpwuid(): uid not found: 1000'

ERROR: Logfile of failure stored in: 
/home/parallels/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-glibc-locale/2.31-r0/temp/log.do_package.32088
ERROR: Task 
(virtual:nativesdk:/home/parallels/poky/meta/recipes-core/glibc/glibc-locale_2.31.bb:do_package)
 failed with exit code '1'
NOTE: Tasks Summary: Attempted 3799 tasks of which 3798 didn't need to be rerun 
and 1 failed.

Summary: 1 task failed:
virtual:nativesdk:/home/parallels/poky/meta/recipes-core/glibc/glibc-locale_2.31.bb:do_package
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48244): https://lists.yoctoproject.org/g/yocto/message/48244
Mute This Topic: https://lists.yoctoproject.org/mt/70933108/21656
Mute #yocto: https://lists.yoctoproject.org/mk?hashtag=yocto&subid=6691583
Mute #raspberrypi: 
https://lists.yoctoproject.org/mk?hashtag=raspberrypi&subid=6691583
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to