| Summary: | core-image-sato -c rootfs fails on executing update_icon_cache | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Stefan Stanacar <sstncr> | ||||
| Component: | configuration | Assignee: | Laurentiu Palcu <laurentiu.palcu> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | laurentiu.palcu, Qi.Chen, richard.purdie, sgw | ||||
| Version: | 1.4 | ||||||
| Target Milestone: | 1.4 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Attachments: |
|
||||||
|
Description
Stefan Stanacar
2013-02-20 13:26:15 UTC
Ok, so I lied, the steps I used are a bit longer: - start with a clean build dir and from that build dir: - bitbake core-image-sato -c fetchall - rm -rf pseudone tmp bitbake.lock conf/sanity_info - rm -rf sstate-cache - bitbake core-image-sato - bitbake virtual/kernel -c clean - bitbake virtual/kernel -c cleansstate - bitbake virtual/kernel - rm -rf pseudone tmp bitbake.lock conf/sanity_info - rm -rf sstate-cache (except for conf/local.conf and bblayers.conf and downloads build dir should now be clean) - echo "INHERIT += \"rm_work\"" >> conf/local.conf - bitbake core-image-sato - sed -i 's/INHERIT += \"rm_work\"//' conf/local.conf - rm -rf pseudone tmp bitbake.lock conf/sanity_info - bitbake core-image-sato -c rootfs 7d22ef28e64de06b6238d0ef9b664c0bee6efa46 Reproduced again on the same Ubuntu 12.04 rm -rf tmp bitbake.lock conf/sanity_info sstate-cache && bitbake core-image-sato -c fetchall && rm -rf tmp bitbake.lock conf/sanity_info sstate-cache && echo "INHERIT += \"rm_work\"" >> conf/local.conf && bitbake core-image-sato && sed -i 's/INHERIT += \"rm_work\"//' conf/local.conf && rm -rf tmp bitbake.lock conf/sanity_info && bitbake core-image-sato -c rootfs (In reply to comment #2) > 7d22ef28e64de06b6238d0ef9b664c0bee6efa46 > > Reproduced again on the same Ubuntu 12.04 > > rm -rf tmp bitbake.lock conf/sanity_info sstate-cache && bitbake > core-image-sato -c fetchall && rm -rf tmp bitbake.lock conf/sanity_info > sstate-cache && echo "INHERIT += \"rm_work\"" >> conf/local.conf && bitbake > core-image-sato && sed -i 's/INHERIT += \"rm_work\"//' conf/local.conf && rm > -rf tmp bitbake.lock conf/sanity_info && bitbake core-image-sato -c rootfs Why do such kind of operations? And I don't think manually deleting tmp is a reasonable operation. Cheers, Chen Qi Sorry for my last comment. It seems that deleting the entire tmp directory *is* supposed to be supported. Cheers, Chen Qi I succeeded to reproduce this running the above command. It turns out that the native sysroot is not completely populated... For example, in tmp/sysroots/x86_64-linux/usr/bin, I'm not able to find any qemu binaries, or any gdk-pixbuf-*... That's why the intercepts fail. This is likely due to the optimisations in sstate cutting down the lists of things to install too much. Its likely from setscene_depvalid() in sstate.bbclass. Verified. |