| Summary: | externalsrc breaks dependency chain when calling clean | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | peter.suti | ||||||
| Component: | oe-core other | Assignee: | Unassigned <unassigned> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | Medium | CC: | randy.macleod | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 5.99 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | Don't know | |||||||
| Attachments: |
|
||||||||
We don't have anyone to work on this. Any volunteers? -- YP Bug review Created attachment 4961 [details]
fix
This patch is a proposed fix to solve the issue.
Created attachment 4965 [details]
fix 2
Slight fixup using '1' instead of 1
Hi Peter. I don't use external source but the patch seems okay to me. I suspect that you'll get more comments if you send the patch to the email list. See: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded specifically: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded#Sending_patches Thanks! Build move to 5.0 -- ../Randy Bulk move of 5.0 medium importance issues to 5.99. Move to 5.1 if you want to actively work on an issue. Move to 5.99 since no one is actively working on this issue. Move to 5.x if you start on a task, please. Fix merged: https://git.openembedded.org/openembedded-core/commit/?id=ee4667a24ccdd8c9d547e73aecf661e6a1283890 Thanks Peter! |
Calling clean on an externalsrc recipe then calling prepare_recipe_sysroot for a recipe that depends on it, results in the following error "The sstate manifest for task 'dummy_cleaned_task:populate_sysroot' (multilib variant '') could not be found.". Building the dummy_cleaned_task fully or converting the recipe to not use externalsrc fixes the issue. Probably the following code in externalsrc.bbclass breaks some assumptions elsewhere: if task.endswith("_setscene"): # sstate is never going to work for external source trees, disable it bb.build.deltask(task, d)