Bug 2770

Summary: [Hob] build failure for any image type - "Key error: elf"
Product: [Build System, Metadata & Runtime] Hob Reporter: Laurentiu Serban <laurentiu.serban>
Component: hobAssignee: Jessica <jessica.zhang>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: High CC: dongxiao.xu, hongnax.xu, jiajun.xu, poky.bs.watcher, poky.watcher, sgw, shane.wang
Version: 1.3   
Target Milestone: 1.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Laurentiu Serban 2012-07-16 11:59:02 UTC
The message below is shown when trying to create any type of image using Hob

Traceback (most recent call last):
  File "/home/lserban/work/master/bitbake/lib/bb/ui/crumbs/builder.py", line 915, in handler_build_succeeded_cb
    self.build_succeeded()
  File "/home/lserban/work/master/bitbake/lib/bb/ui/crumbs/builder.py", line 870, in build_succeeded
    for real_image_type in hcc.SUPPORTED_IMAGE_TYPES[image_type]:
KeyError: 'elf'
Comment 1 Laurentiu Serban 2012-07-16 14:01:30 UTC
fails with commit eb0cb7e8234f5d2e5623406e9660be91cf52f65e
Comment 2 Saul Wold 2012-07-16 21:58:37 UTC
Just to clarify the steps, this occurs when the image is being created at the end of the build, simpily start building a core-image-minimal for example (after setting up your basic settings).

Failure will occur at 99% and appear in the window in which hob was started
Comment 3 Shane Wang 2012-07-17 01:46:25 UTC
This bug is duplicated with https://bugzilla.yoctoproject.org/show_bug.cgi?id=2709

*** This bug has been marked as a duplicate of bug 2709 ***
Comment 4 Laurentiu Serban 2012-08-13 21:00:38 UTC
This is not reproducible anymore