| Summary: | ruby 3.1.0 do_install failure | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Alexandre Belloni <alexandre.belloni> |
| Component: | devtools / tool chain | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alex.kanavin, kweihmann, meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie |
| Version: | 3.4 | ||
| Target Milestone: | 4.0 M3 | ||
| 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
Alexandre Belloni
2022-01-17 16:02:24 UTC
tmp/work/core2-64-poky-linux/ruby/3.1.0-r0/build$ stat libruby.so.3.1.0 File: libruby.so.3.1.0 Size: 18387704 Blocks: 35920 IO Block: 4096 regular file Device: fd01h/64769d Inode: 258289976 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 6000/pokybuild) Gid: ( 6000/pokybuild) Access: 2022-01-17 15:56:13.920962593 +0000 Modify: 2022-01-16 04:16:14.522093947 +0000 Change: 2022-01-16 04:16:14.522093947 +0000 Birth: - tmp/work/core2-64-poky-linux/ruby/3.1.0-r0/build$ stat libruby.so File: libruby.so -> libruby.so.3.1.0 Size: 16 Blocks: 0 IO Block: 4096 symbolic link Device: fd01h/64769d Inode: 258290018 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 6000/pokybuild) Gid: ( 6000/pokybuild) Access: 2022-01-17 15:55:57.989048817 +0000 Modify: 2022-01-16 04:16:14.558093782 +0000 Change: 2022-01-16 04:16:14.558093782 +0000 Birth: - I think these can happen when the file is being written by two writers and it sees an incomplete file, or the file is being accessed before it was completely written out. This therefore could be some kind of race in ruby's makefiles? The ruby workdir is saved in /srv/autobuilder/autobuilder.yocto.io/pub/failed-builds-data/bug14695 Running do_install again on the worker after renaming the build directory properly just worked. This seems to have started after December's ruby upgrade. Konrad, would you be able to take a look? Patch proposed: https://lists.openembedded.org/g/openembedded-core/message/160802 Note that *not* enabling libruby.so is the upstream default. |