| Summary: |
sstate sometimes needs tmp/work/ directories in place to finish build from sstate-cache |
| Product: |
[Build System, Metadata & Runtime] BitBake
|
Reporter: |
Martin Jansa <Martin.Jansa> |
| Component: |
bitbake | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
RESOLVED
WONTFIX
|
QA Contact: |
|
| Severity: |
enhancement
|
|
|
| Priority: |
Low
|
CC: |
poky.bs.watcher, poky.watcher, sgw
|
| Version: |
unspecified | |
|
| Target Milestone: |
1.1 M3 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
---
|
| Attachments: |
|
Created attachment 167 [details] error.log rm_work.bbclass have them excluded # The package and packages-split directories are retained by sstate for # do_package so we retain them here too. Anything in sstate 'plaindirs' # should be retained. Also retain logs and other files in temp. elif [ $dir != 'temp' ] && [ $dir != 'package' ] && [ $dir != 'packages-split' ]; tmp/work gets bigger and bigger in time (ie failed build is completely kept there if next successfull build is with different version - in different directory). It's hard to clean such leftovers selectively so "rm -rf tmp/work" is sometimes only option to regain enough space for next build. Now only option to solve error like example in attachement is to call -c cleanall to cleanup sstate cache and force full rebuild of failing package.