Bug 9327 - archiver class have a race condition for recipes in work-shared dirs
Summary: archiver class have a race condition for recipes in work-shared dirs
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 2.1 M4
Assignee: Mariano Lopez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-22 22:40 UTC by Mariano Lopez
Modified: 2016-03-28 15:56 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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