| Summary: | Hob stopped when use the external CSL toolchain--Sourcery CodeBench Lite | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | scanli <scanli> | ||||||
| Component: | hob | Assignee: | Paul Eggleton <bluelightning> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | minor | ||||||||
| Priority: | Medium | CC: | bluelightning, hongnax.xu, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher, sstncr | ||||||
| Version: | 1.2.1 | ||||||||
| Target Milestone: | 1.3 M5 | ||||||||
| Hardware: | Other | ||||||||
| OS: | arm | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | --- | |||||||
| Attachments: |
|
||||||||
Created attachment 607 [details]
freenze hob window when parsing
I reproduce it on 1.2 release, poky/denzil: d20a24310eb43fed9a3f3e75752c9ad45a18cbe4, which Li Jincheng used, i can build core-image-minimal successfully, and then launch hob in the same build directory, the hob GUI window freezed and can't be closed, almost the same situation as Li's second launch it, please reference to the attachment. (In reply to comment #2) > I reproduce it on 1.2 release, poky/denzil: > d20a24310eb43fed9a3f3e75752c9ad45a18cbe4, which Li Jincheng used, i can > build core-image-minimal successfully, and then launch hob in the same build > directory, the hob GUI window freezed and can't be closed, almost the same > situation as Li's second launch it, please reference to the attachment. There is no error log print in the terminal which launched hob. and now i am building a minimal image in a clean build directory....it will ready soon. Created attachment 609 [details]
launch hob in a clean directory
as Li Jincheng described, launch hob in a clean directory, then build qemuarm core-image-minimal, it stopped at 90% as the attachment, all letters in "Build Configuration" tab changed to gray and hob GUI window gave no response if users click [Stop] button or close it, it seemed freeze.
I have made two fixes that should address the direct cause of this issue: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a4e36563d9441eb878a64d4728d30f7fce740384 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4ec3d7207261d12ff4859982989be7e142e7611d Before marking this bug resolved however we need to track down why an exception within the event handler in packageinfo.bbclass is not reported to the user in any way. I have now posted a fix for the general case of event handler failure: http://lists.linuxtogo.org/pipermail/bitbake-devel/2012-September/003656.html Final fix for the general case of event handler exceptions merged: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=14a04abb9b1a176a623d9f6f50ed62af67274170 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=991557216e4d7bf6d47e5f8054c0c3b0879a8bf5 Unfortunately, when I tried to verify this bug (on danny release and master branch) I've hit #3393 (which isn't related to Hob, it's about the Sourcery CodeBench toolchain). So I'll verify this one when #3393 is fixed or there is an workaround. |
config: 1. in /home/ljc/poky-denzil/meta-yocto/conf/distro/poky.conf. added the fellow lines: TCMODE = "external-csl" CSL_VER_MAIN = "2011.09-70" EXTERNAL_TOOLCHAIN = "/home/ljc/arm-2011.09/arm" TARGET_PREFIX = "arm-none-linux-gnueabi-" 2. in /home/ljc/poky-denzil/meta/conf/distro/include/tcmode-external-csl.inc modified from TARGET_PREFIX = "${CSL_TARGET_SYS}-" to TARGET_PREFIX ?= "${CSL_TARGET_SYS}-" the HOB stopped and the hob window show like this: Building packages... Running task 1147 of 1148:do_build Recipe:task-core-boot ----------------------------------------------------- | Build completed:90% | | Stop ----------------------------------------------------- ...... and the HOB can't be closed with the GUI window's "Stop" botton or X icon. When run hob the next time,It stopped 99% parsing recipes like this: -------------------------------------------------- | Parsing recipes:99% | | stop --------------------------------------------------