Bug 5052

Summary: [HOB] Can not choose non-x86 qemu to build
Product: [Build System, Metadata & Runtime] Hob Reporter: Yi Zhao <yi.zhao>
Component: hobAssignee: Cristiana Voicu <cristiana.voicu>
Status: VERIFIED WONTFIX QA Contact:
Severity: normal    
Priority: Medium CC: andreea.b.proca, belen.barros.pena, cristiana.voicu, jessica.zhang, ke.zou, ning.zhang, poky.bs.watcher, poky.watcher, sgw, valentin.popa
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 5023    
Bug Blocks:    

Description Yi Zhao 2013-08-27 10:22:16 UTC
Image location: http://autobuilder.yoctoproject.org/pub/nightly/20130820-1/build-appliance/

Git rev: master/2779faf33de96d1260955af08868f9ab89f1aed4

Steps:
1. Download the build-appliance image and boot up.
2. Choose a non-x86 qemu (qemuarm, qemumips or qemuppc) to build. 
When the prepare process finish, it will be back to the main interface.
Comment 1 Saul Wold 2013-08-27 20:40:10 UTC
This is not just a build appliance issue, it's a general HOB issue.

I got Hob found an error with tools-sdk is not a valid-image feature and then unable to parse the hob-image.bb

It works for qemux86, but not other machines
Comment 2 Cristiana Voicu 2013-08-28 07:41:20 UTC
Hello,

It seems that there are 2 different issues. From Yi Zhao comment, I understand that he receives the error after recipes parsing. He didn't selected an image because the interface goes back to the first step(machine selection). I did not tested yet, still downloading that version of build-appliance.

Saul, as far as I  understand, you tried to build an image (an sdk one). Did you received the error during the build? Can you please attach a screenshot? What's the image you are building? Now I am building a core-image-sato-sdk on qemuarm..

Thanks,
Comment 3 Cristiana Voicu 2013-08-28 09:11:38 UTC
I can reproduce the  bug Yi Zhao filled (on build appliance), and it is related only to build-appliance (it works on Hob). For this I open a new bug: 5061.

I will keep this thread for the Hob issue, but currently I can not reproduce it.
I managed to build a sato-sdk on arm, and it working.
Saul I need more information. I saw that you receive an error related to hob-image, and this means that you tried to costumize your image. How?

Thanks.
Comment 4 Saul Wold 2013-08-28 23:47:24 UTC
Hmm, nope, just started hob in my build dir, which is not in my poky tree, so I build out of tree.  There is a hob-image.bb file and it just contains "inherit image".  I select machine and then it does the parsing and I get those 2 errors before it finishes parsing

A clean build both outside and inside works, so this must be related to my setup. I lowered the priority. 

The culprit is this in my local.conf: 

EXTRA_IMAGE_FEATURES += " tools-sdk"

The question is why?
Comment 5 Saul Wold 2013-08-29 03:48:58 UTC
BTW, if I move that line around, like to auto.conf, it starts to work!
Comment 6 Cristiana Voicu 2013-08-29 07:17:20 UTC
Now I can reproduce it. ALso it gives the same error in command line: 
cvoicu /media/ssd1/build $ bitbake core-image-minimal
ERROR: 'tools-sdk' in IMAGE_FEATURES is not a valid image feature. Valid features: dbg-pkgs debug-tweaks dev-pkgs doc-pkgs package-management ptest-pkgs read-only-rootfs splash staticdev-pkgsETA:  00:00:00
ERROR: Unable to parse /home/cvoicu/dev/poky/meta-hob/recipes-core/images/hob-image.bb: Exited with "1"
ERROR: Command execution failed: Exited with 1


It seems that it is the same issue like in #5023.
Comment 7 Cristiana Voicu 2013-08-29 07:22:47 UTC
I've tested for qemux86, and it gives the same error.
Comment 8 Jessica 2013-08-29 20:20:48 UTC
This bug reflects 2 issues, which is captured by 5023 and 5061.  So close this one and use the other 2 to carry forward
Comment 9 Andreea Brandusa Proca 2013-10-03 12:29:57 UTC
I set it to verified - wontfix since were opened 2 other bugs for this issue.