Hi All,

I know thud is already out of support, but I'm experiencing some weird 
packaging error with thud in my CI pipelines, which I don't see with warrior or 
later releases.
(when building from scratch this occurs 3 out of 5 runs)

> 2019-12-16T20:59:49.8840822Z ERROR: python3-3.5.6-r1.0 do_package: Error 
> executing a python function in exec_python_func() autogenerated:
> 2019-12-16T20:59:49.8845177Z 
> 2019-12-16T20:59:49.8845406Z The stack trace of python calls that resulted in 
> this exception/failure was:
> 2019-12-16T20:59:49.8847595Z File: 'exec_python_func() autogenerated', 
> lineno: 2, function: <module>
> 2019-12-16T20:59:49.8847758Z      0001:
> 2019-12-16T20:59:49.8847839Z  *** 0002:emit_pkgdata(d)
> 2019-12-16T20:59:49.8847938Z      0003:
> 2019-12-16T20:59:49.8848324Z File: 
> '/home/runner/work/poky/meta/classes/package.bbclass', lineno: 1436, 
> function: emit_pkgdata
> 2019-12-16T20:59:49.8848450Z      1432:        total_size = 0
> 2019-12-16T20:59:49.8848550Z      1433:        seen = set()
> 2019-12-16T20:59:49.8848663Z      1434:        for f in pkgfiles[pkg]:
> 2019-12-16T20:59:49.8848767Z      1435:            relpth = 
> os.path.relpath(f, pkgdestpkg)
> 2019-12-16T20:59:49.8848872Z  *** 1436:            fstat = os.lstat(f)
> 2019-12-16T20:59:49.8848974Z      1437:            files[os.sep + relpth] = 
> fstat.st_size
> 2019-12-16T20:59:49.8849071Z      1438:            if fstat.st_ino not in 
> seen:
> 2019-12-16T20:59:49.8849172Z      1439:                seen.add(fstat.st_ino)
> 2019-12-16T20:59:49.8849275Z      1440:                total_size += 
> fstat.st_size
> 2019-12-16T20:59:49.8849809Z Exception: FileNotFoundError: [Errno 2] No such 
> file or directory: 
> '/home/runner/work/poky/build/tmp/work/i586-test-linux/python3/3.5.6-r1.0/packages-split/python3-tests/usr/lib/python3.5/test/test_warnings/data/__pycache__/stacklevel.cpython-35.pyc'

Does anyone remember if that has been fixed somewhere on the way?
A quick look at the git history didn't reveal anything that fits here.

What I see most of the time is, that packaging doesn't find some pyc-files from 
internal python tests.

Thanks
Konrad
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#47714): https://lists.yoctoproject.org/g/yocto/message/47714
Mute This Topic: https://lists.yoctoproject.org/mt/68753455/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to