Bug 14902

Summary: perl rebuilds can hang in do_install
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: alex.kanavin, Martin.Jansa, meta.mr.watcher, meta.watcher, nicolas.marguet, randy.macleod, richard.purdie
Version: 4.2   
Target Milestone: 4.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2022-08-23 15:46:30 UTC
It has been observed that perl can hang on rebuilds.

$ bitbake perl-native
$ bitbake perl-native -C compile

The believe is that this was not fixed by perl DEPENDing on make-native.

This is a stub bug to be expanded when we have more information.
Comment 1 Randy MacLeod 2022-08-25 14:48:40 UTC
Another High unassigned. This is not good.
Comment 2 Alexander Kanavin 2022-08-31 09:27:15 UTC
Patch: https://lists.openembedded.org/g/openembedded-core/message/170095
Comment 3 Martin Jansa 2022-08-31 12:22:30 UTC
Original report with few more details in:
https://lists.openembedded.org/g/openembedded-core/topic/91575167#166777

I haven't seen it getting stuck since my WIP fix:
https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=5aaf2e7e244a274600458e4d476913615719b4ad

but never got to confirming that it completely fixes the issue before sending it it to ML.

I'm fine with the proposed patch from Alex as well.