| Summary: | [HOB] Could not trigger another build after stop build | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | hob | Assignee: | Joshua Lock - Disabled <josh> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jessica.zhang, jiajun.xu, ke.yu, poky.bs.watcher, poky.watcher, sgw, wenhuax.fan |
| Version: | unspecified | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| URL: | Patch submitted | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Jiajun Xu
2011-09-14 01:08:24 UTC
Can you be more explicit here? What do you mean by nothing will be built? Do you see error messages in the GUI or on the console? I'm trying to reproduce but it'd be nice to have more information to go on. Thanks After several tries I am able to Force Stop and begin another build. We do warn in the Force Stop confirmation dialog: "'Force Stop' will stop the build as quickly as possible but may well leave your build directory in an unusable state that requires manual steps to fix." This will often be the case if the 'Force Stop' is in the middle of a compilation process, it is unlikely that the mid-compilation package will be able to be built again without first cleaning it. Or are you seeing something altogether different? Do we need to change 'Force Stop' to 'Force Stop and Exit" ? After discussion with Jiajun it seems this issue was discovered whilst doing a packages only build. I am able to reproduce this issue by running a packages only build, using 'Force Stop', then attempting the same packages only build again (in this instance, acl).
I see the following backtrace on the CLI:
"
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 483, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/joshual/Projects/Yocto/poky/bitbake/lib/bb/cache.py", line 597, in sync
for key, info_array in self.depends_cache.iteritems():
AttributeError: 'Cache' object has no attribute 'depends_cache'
"
Verify the bug as fixed with edison branch. |