| Summary: | Failed to install sdk_ext if sdk_ext build with 'rm_work' feature | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Yi Zhao <yi.zhao> | ||||||||
| Component: | devtools / tool chain | Assignee: | Bill Randle <bill.randle> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | Yi Zhao <yi.zhao> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, ke.zou, meta.mr.watcher, meta.watcher, randy.e.witt, richard.purdie, yi.zhao | ||||||||
| Version: | 2.1 | ||||||||||
| Target Milestone: | 2.1 M4 | ||||||||||
| Hardware: | x86 | ||||||||||
| OS: | Multiple | ||||||||||
| Whiteboard: | |||||||||||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) | ||||||||
| Verified: | Documentation change: | Don't know | |||||||||
| Attachments: |
|
||||||||||
Bill, I think we just need to whitelist the rm_work tasks in ext_sdk_prepare.py. Created attachment 3090 [details]
Proposed patch
Blacklist the rm_work task so it doesn't attempt to run it for sdk_ext.
Created attachment 3091 [details]
Proposed patch (v2)
Instead of preventing do_work from running altogether, just don't report it as an error if it didn't run.
Refactored output comparison into its own function so it can be called from a unit test program. Create unit test to verify the fix. Submitted to oe-core mailing list. Verified with 2.1 rc2 : krogoth/6c1c01392d91f512e2949ad1d57a75a8077478ba |
Created attachment 2955 [details] preparing_build_system.log Git rev: master/3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c Steps: 1. Add rm_work in conf/local.conf: INHERIT += "rm_work" 2. Build sdk_ext: bitbake core-image-sato -c populate_sdk_ext 3. Install the sdk_ext Error message: ######################### ERROR: Unexpected tasks left over to be executed: task 10 of 5983 (ID: 30, /buildarea/poky_sdk_i586/layers/poky/meta/recipes-devtools/quilt/quilt-native_0.64.bb, do_rm_work) ... ... ######################### Please see the attachment for the full log