Bug 3693

Summary: BUILDDIR error - when selecting kernel version in yocto bsp tool for denzil
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Ioana Grigoropol <ioanax.grigoropol>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: ioanax.grigoropol, jessica.zhang, scott.a.garman, yp.ep.watcher, yp.watcher
Version: 1.2.2   
Target Milestone: 1.2.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
builddir error
none
screenshot of my kernel selection none

Description Alexandru Georgescu 2013-01-09 11:53:42 UTC
Created attachment 1001 [details]
builddir error

ENVIRONMENT USED
Ubuntu 12.10 64bit and Fedora 17 64bit
Eclipse plugin: http://downloads.yoctoproject.org/releases/eclipse-plugin/1.2/
Poky commit: 3456295898bf157e40ea1f8c335f0b7285d3d8a7 , denzil branch


STEPS TO REPRODUCE
1. Configure eclipse (indigo) following the 1.2 steps: http://www.yoctoproject.org/docs/1.2/adt-manual/adt-manual.html#configuring-the-eclipse-ide

2. Clone poky and check out "denzil" branch and commit 3456295898bf157e40ea1f8c335f0b7285d3d8a7 

3. In eclipse, open Yocto-BSP tool:
YoctoProjectTools -> yocto-bsp

4. Fill in all the mandatory fields in "yocto-bsp main page"
 - set Meta_data location to poky folder configured in step 2
 - fill in all other mandatory fields
 - select any (kernel Architecture / qemu architecture) combination

5. In yocto-bsp properties page select any kernel version

EXPECTED RESULTS
5. User can select any kernel in the list.

ACTUAL RESULTS
5. the following error appears (see attachment):
BUILDDIR not found, exiting (Did you forget to source oe-init-build-env)?
Comment 1 Alexandru Georgescu 2013-01-09 11:54:46 UTC
I have no errors when using yocto-bsp from command line:


[alex@yocto-asus build]$ yocto-bsp list qemu property  \"linux-yocto_3.0\".new_kbranch
Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-3.0...
["yocto/standard/arm-versatile-926ejs", "yocto/standard/arm-versatile-926ejs"]
["yocto/standard/base", "yocto/standard/base"]
["yocto/standard/beagleboard", "yocto/standard/beagleboard"]
["yocto/standard/cedartrail", "yocto/standard/cedartrail"]
["yocto/standard/crownbay", "yocto/standard/crownbay"]
["yocto/standard/emenlow", "yocto/standard/emenlow"]
["yocto/standard/fishriver", "yocto/standard/fishriver"]
["yocto/standard/fri2", "yocto/standard/fri2"]
["yocto/standard/fsl-mpc8315e-rdb", "yocto/standard/fsl-mpc8315e-rdb"]
["yocto/standard/mti-malta32-be", "yocto/standard/mti-malta32-be"]
["yocto/standard/mti-malta32-le", "yocto/standard/mti-malta32-le"]
["yocto/standard/pandaboard", "yocto/standard/pandaboard"]
["yocto/standard/qemu-ppc32", "yocto/standard/qemu-ppc32"]
["yocto/standard/routerstationpro", "yocto/standard/routerstationpro"]
[alex@yocto-asus build]$ 


[alex@yocto-asus build]$ yocto-bsp list qemu property  \"linux-yocto-rt_3.0\".new_kbranch
Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-3.0.git...
["yocto/standard/preempt-rt/base", "yocto/standard/preempt-rt/base"]
["yocto/standard/preempt-rt/qemu-ppc32", "yocto/standard/preempt-rt/qemu-ppc32"]
["yocto/standard/preempt-rt/routerstationpro", "yocto/standard/preempt-rt/routerstationpro"]
[alex@yocto-asus build]$
Comment 2 Ioana Grigoropol 2013-01-10 16:29:52 UTC
After taking a quick look at the code, it seems that eclipse plugin (1.2) for bsp tool runs a command similar to the following one:

yocto-bsp list qemu property "linux-yocto_3.0".new_kbranch

which throws an error in the command line, instead of:

yocto-bsp list qemu property \"linux-yocto_3.0\".new_kbranch
Comment 3 Jessica 2013-01-10 17:06:01 UTC
Ioana,

Can you check whether the same failure happens to master as well? thx!
Comment 4 Jessica 2013-01-12 00:03:03 UTC
Hmm, again I'm not able to reproduce it, I'm using the plugin code of denzil against the poky-denzil code that contains the right version of yocto-bsp. See my screenshot
Comment 5 Jessica 2013-01-12 00:03:48 UTC
Created attachment 1007 [details]
screenshot of my kernel selection
Comment 6 Alexandru Georgescu 2013-01-14 08:02:47 UTC
Jessica, 
I will try to reproduce it on other machines and come back with a result. Thanks for your investigation. The thing is I managed to reproduce it on 2 different distros.
Comment 8 Alexandru Georgescu 2013-01-21 14:17:57 UTC
Verified.
3c5c3e87fa63e89110abdfed3c5214a67e8383f9