| Summary: | perl install race (pod2text) | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Richard Purdie <richard.purdie> |
| Component: | core | Assignee: | Sakib Sajal <sakib.sajal> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | alex.kanavin, alexandre.belloni, bluelightning, meta.mr.watcher, meta.watcher, randy.macleod, sgw, steve |
| Version: | 3.2 | ||
| Target Milestone: | 4.1 | ||
| 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-10-19 06:00:49 UTC
Reported upstream here: https://github.com/arsv/perl-cross/issues/75 Likely a very rare failure that happened with 14095, 14097. recurrence of 13244; dup? Sakib, can you try to reproduce this or better still review the code to find the race. FWIW, this is a fiendishly difficult issue. The race happens on the AB every once in a blue moon, upstream, RP and O had all taken a look at the failing build tree and the code, and we still couldn't see how it could happen. https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/4422/steps/17/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/3740/steps/15/logs/stdio In the logs, we can see: | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/thread.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/time64.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linuxCouldn't copy cpan/podlators/blib/script/pod2text to /home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/aarch64-nativesdk-pokysdk-linux/nativesdk-perl/5.34.0-r0/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2text: No such file or directory | Couldn't chmod 755 /home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/aarch64-nativesdk-pokysdk-linux/nativesdk-perl/5.34.0-r0/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2text: No such file or directory | /usr/lib/perl5/5.34.0/aarch64-linux/CORE/time64_config.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/try.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/uconfig.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/uni_keywords.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/unicode_constants.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/unixish.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/utf8.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/utfebcdic.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/util.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/uudmap.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/vutil.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/warnings.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/xconfig.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/zaphod32_hash.h | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/libperl.so.5.34.0 | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/perl | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2man | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2text | /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2usage So pod2text seems to be compiled after trying to install it. It's a bit more involved than that. pod2text is supposed to be built in do_compile, and most of the time it is. But not all of the time. We've discussed this with upstream: https://github.com/arsv/perl-cross/issues/75 Dunfell occurrence: https://autobuilder.yoctoproject.org/typhoon/#/builders/119/builds/1322 reproducible-ubuntu ubuntu1604-ty-1 Keeping open, we suspect this will happen again due to an actual race in the code. *** Bug 13244 has been marked as a duplicate of this bug. *** Details in email form with extracted Makefile and links: https://lists.yoctoproject.org/g/swat/topic/oe_core_perl_makefile_race/91539210 https://autobuilder.yoctoproject.org/typhoon/#/builders/37/builds/5315/steps/11/logs/stdio genericx86-64 ubuntu1804-ty-3 https://autobuilder.yoctoproject.org/typhoon/#builders/37/builds/5315/steps/11/logs/stdio genericx86-64 ubuntu1804-ty-3 There were some issues with rare races in older versions of make so add a dependency on our own version. https://git.openembedded.org/openembedded-core/log/?qt=range&q=692b7c518637c77804caf7b3cfc60a83afa2e4f4 bulk change to add Saul's non-WR address. Bulk change: Remove Saul's old WR address. |