Bug 9327

Summary: archiver class have a race condition for recipes in work-shared dirs
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mariano Lopez <mariano.lopez>
Component: deploymentAssignee: Mariano Lopez <mariano.lopez>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided    
Version: 2.0   
Target Milestone: 2.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 Mariano Lopez 2016-03-22 22:40:12 UTC
When the diff archiver mode is enabled, the recipes sharing a workdir (gcc and kernel) could fail the task do_unpack_and_patch and/or do_ar_configured. This is because the work dir is modified by another recipe running these task while creating the tarballs.
Comment 1 Mariano Lopez 2016-03-24 15:16:10 UTC
This is happening only for gcc recipes. It is pointless to archive the gcc source for every recipe using gcc.
Comment 2 Mariano Lopez 2016-03-24 20:22:48 UTC
Sent patch to the mailing list:

http://lists.openembedded.org/pipermail/openembedded-core/2016-March/119480.html
Comment 3 Mariano Lopez 2016-03-28 15:34:35 UTC
This has been solved in commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9ee403b31067895695f0143b716187d7262c560c