| Summary: | Make sure users/groups exist for package_write_* tasks | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Peter Kjellerstedt <peter.kjellerstedt> | ||||
| Component: | oe-core other | Assignee: | Eilís Ní Fhlannagáin <pidge> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | pidge, randy.macleod, richard.purdie, tgamblin | ||||
| Version: | 2.7 | ||||||
| Target Milestone: | 5.0 M1 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Peter Kjellerstedt
2019-04-12 18:03:58 UTC
You asked for a hint about ways to solve this problem. It took me a bit of digging but I remembered/found: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=3d3194a68fceba3fcc6b072ae9956870a8b5c4fd which attempted to solve an older but similar problem. That code basically forces some sstate to be skipped if certain other tasks will rerun. Whilst the need for that case was removed with RSS, the same mechanism may work here. Option 2 may be to change:
python clean_recipe_sysroot() {
# We remove these stamps since we're removing any content they'd have added with
# cleandirs. This removes the sigdata too, likely not a big deal,
oe.path.remove(d.getVar("STAMP") + "*addto_recipe_sysroot*")
return
}
to include wiping out any setscene stamps.
Robert or Peter, could one of you work on this defect for M3 or even M4? Bulk move of 64 bugs to 4.3 M3 after a quick review. If a bug is actually fixed, please add a commit link and resolve it. -- Randy for YP bug team. Moved to M4. Bulk move to 5.0 M1. -- Randy Richard asked me for a selftest for this issue, or instructions for a way to reproduce it. When I failed to reproduce it I went back in time to find the reason and I had to go all the way back to Zeus. There, in commit 27ce69861edb7e52078b59ebf8fefc9201e9a228, Richard removed the clean_recipe_sysroot() function mentioned above, and with it the cause of the recipe sysroot being wiped out in case the fetch task happens to be triggered. So it appears this issue was resolved more than four years ago. Thanks Peter, that is extremely helpful and much appreciated! https://git.openembedded.org/openembedded-core/commit/?id=27ce69861edb7e52078b59ebf8fefc9201e9a228 is the link to the commit which fixed this. |