| Summary: | miniperl losing executable bit | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Richard Purdie <richard.purdie> |
| Component: | core | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, randy.macleod |
| Version: | 3.2 | ||
| Target Milestone: | 3.2 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | AB-INT | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Richard Purdie
2020-09-22 04:07:52 UTC
Staring more at this failure I note that:
a) miniperl_top is running "miniperl installperl" which is checking for +x on ${B}/perl.
b) ${B}/perl does have a+x
c) its looking like pseudo is causing the "+x" to disappear.
Based on that I looked and ${B}/perl does not have a database entry however the logs have:
inode mismatch: '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3511063/tmp/work/core2-64-poky-linux/perl/5.32.0-r0/perl-5.32.0/ext/Errno/Makefile' ino 153377415 in db, 153377401 in request.
inode mismatch: '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3511063/tmp/work/core2-64-poky-linux/perl/5.32.0-r0/perl-5.32.0/ext/Hash-Util/Makefile' ino 153377465 in db, 153377096 in request.
inode mismatch: '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3511063/tmp/work/core2-64-poky-linux/perl/5.32.0-r0/perl-5.32.0/ext/NDBM_File/Makefile' ino 153377468 in db, 153377098 in request.
inode mismatch: '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3511063/tmp/work/core2-64-poky-linux/perl/5.32.0-r0/perl-5.32.0/ext/FileCache/Makefile' ino 153377479 in db, 153377397 in request.
path mismatch [1 link]: ino 153377483 db '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3511063/tmp/work/core2-64-poky-linux/perl/5.32.0-r0/perl-5.32.0/ext/IPC-Open3/Makefile' req '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3511063/tmp/work/core2-64-poky-linux/perl/5.32.0-r0/perl-5.32.0/perl'.
db cleanup for server shutdown, 03:52:51.780
memory-to-file backup complete, 03:52:51.780.
with that path mismatch meaning the wrong permissions were likely reported. This is almost certainly a glitch where files were deleted outside of pseudo's knowledge, the inode reused and things broke.
Fix by pseudo changes in oe-core: 3006bbe776 pseudo: Add pathfix patch e1e481f360 pseudo: Add may unlink patch 929a27bf6c pseudo: Fix xattr segfault 9ce621fa20 psuedo: Add tracking of linked files for fds 2db491d97d pseudo: Abort on mismatch patch 8defb687a2 pseudo: Add support for ignoring paths from the pseudo DB |