Bug 2437

Summary: Yocto-bsp tool in Eclipse fail to create BSP
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Hongna Xu <hongnax.xu>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jiajun.xu, lianhao.lu, yilongx.y.sun, yp.ep.watcher, yp.watcher
Version: 1.2   
Target Milestone: 1.2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on: 2457    
Bug Blocks:    
Attachments:
Description Flags
Not found builddir
none
screenshots
none
screenshot2
none
screenshot3
none
Different version plug-in with denzil tree none

Description Hongna Xu 2012-05-08 10:20:23 UTC
Created attachment 501 [details]
Not found builddir

In 20120505-1 build, yocto-bsp tool in eclipse fail to create BSP cause by not found BUILDDIR.

Steps to reproduce:
1.git clone poky-contrib(~/git-work/poky-contrib) and checkout stage/master_under_test branch.
2.Source oe-init-build-env and bitbake meta-toolchain.
3.Install plugin, location is http://autobuilder.pokylinux.org/pub/nightly/20120505-1/eclipse-plugin/indigo/org.yocto.sdk-rc1-201205051658-archive.zip
4.In Eclipse,YoctoProjectTools->yocto-bsp, set meta-data location as git top dir (~/git-work/poky-contrib), BSP Name set MyBSP, Bsp output location, i set ~/git-work/, then i select arm as Kernel Architecture, then next.
5.In next page, i set any Kernel, it will report"Not found BUILDDIR" as attachment, when i switch New and Existing(Kernel Branch Setting), it report the same error.

Tree/Branch: poky-contrib/ master_under_test
Commit id: f5eb96062f71ff8ccc0e91df6e01aee56b70b0d9
Comment 1 Jessica 2012-05-08 18:00:49 UTC
Created attachment 502 [details]
screenshots
Comment 2 Jessica 2012-05-08 18:01:19 UTC
Created attachment 503 [details]
screenshot2
Comment 3 Jessica 2012-05-08 18:01:53 UTC
Created attachment 504 [details]
screenshot3
Comment 4 Jessica 2012-05-08 18:04:18 UTC
Hongna,

I couldn't reproduce your issues.  What I did is installed the built eclipse plug-in and test against latest poky master that I just newly git cloned without running source oe-init-build.  But I was still able to create bsps.  I've attached 3 screenshots to show you what are my settings, please see whether there's any different from yours.  Also, you've tested against master under test, which for this bug I'm not that worried, please try against poky master to see whether you still have issues. thx.
Comment 5 Hongna Xu 2012-05-14 03:44:56 UTC
Created attachment 507 [details]
Different version plug-in with denzil tree

jessica, i am not sure it has relations with plug-in or our source code, so i try the plug-in from denzil branch and the lastest build plug-in last week, combined with the source of denzil branch and master branch, it doesn't work either. and using the plug-in from denzil build, i got the error as attachment, a little different from before. 

Denzil plugin: http://autobuilder.pokylinux.org/pub/nightly/20120423-1/eclipse-plugin/indigo/org.yocto.sdk-rc1-201204231537-archive.zip
Lastest plugin: http://autobuilder.pokylinux.org/pub/nightly/20120510-2/eclipse-plugin/indigo/org.yocto.sdk-rc1-201205102127-archive.zip
Comment 6 Jessica 2012-05-14 04:09:24 UTC
Hongna,

I can reproduce the issue with the latest master and asked Tom, we do need to source oe-init-build-env.  I'm going to change for 1.2.1.  As to the latest issue you just updated, is it denzil plug-in against latest master or denzil tree?
Comment 7 Hongna Xu 2012-05-14 04:54:46 UTC
(In reply to comment #6)
> Hongna,
> 
> I can reproduce the issue with the latest master and asked Tom, we do need
> to source oe-init-build-env.  I'm going to change for 1.2.1.  As to the
> latest issue you just updated, is it denzil plug-in against latest master or
> denzil tree?

The latest issue, I used denzil plug-in against denzil tree.
Comment 9 Hongna Xu 2012-05-25 02:20:50 UTC
verify it withi fixed.
git info: 094742bed2fc01d55f572da946fcfa7a48521401
git branch: poky/master