<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3765</bug_id>
          
          <creation_ts>2013-01-21 15:10:55 +0000</creation_ts>
          <short_desc>BSP output dir already exists error appear sometimes when creating yocto-bsp for denzil</short_desc>
          <delta_ts>2013-04-17 13:26:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>ioanax.grigoropol</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28985</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-01-21 15:10:55 +0000</bug_when>
    <thetext>ENVIRONMENT USED:
HOST: Ubuntu 12.04 64bit
Eclipse plugin: built with 3c5c3e87fa63e89110abdfed3c5214a67e8383f9


STEPS TO REPRODUCE
1. Install eclipse-plugin (indigo) for denzil. 
a) $ git clone git://git.yoctoproject.org/eclipse-poky
b) $ git checkout denzil
c) $ git checkout 3c5c3e87fa63e89110abdfed3c5214a67e8383f9
d) Run Headless build /eclipse-poky/scripts/$ setup.sh
e) Build eclipse-plugin./build.sh denzil rc1 3c5c3e87fa63e89110abdfed3c5214a67e8383f9
f) Open Eclipse and install the eclipse-plugin build from 1 f)

2. Clone a poky repo and check out the denzil branch
$ git clone git://git.yoctoproject.org/poky
$ git checkout denzil

3. Open Eclipse

4. Open &quot;Yocto Project Tools&quot; -&gt; yocto-bsp

5. 
a) Set the &quot;Meta_data location*&quot; to the poky folder (in step 2)
b) Set a name for bsp, e.g. bsp_test

6. Set the Bsp output location by following the exact steps:
a) Click browse
b) Navigate to an existing folder, e.g. Documents
c) Press &quot;New Folder&quot;, enter a name for the new folder, e.g. &quot;one&quot;, than press the Return key
d) In the &quot;Bsp output location&quot; the path of the new folder will be displayed, e.g.: /home/yocto/Documents/one

7. Set the kernel architecture and if needed Qemu architecture than press Next
8. in the yocto-bsp properties page select the kernel_choice and kernel Branch settings

9. Press &quot;Finnish&quot;

EXPECTED RESULTS
9. The yocto-bsp is created

ACTUAL RESULTS
9. An error appears (see printscreen-1 attachment)

10. Press OK, than press &quot;Back&quot; to change the &quot;Bsp output location&quot;. Change manually the output to a non existing location, e.g.: /home/yocto/Documents/three
11. Press &quot;Next&quot; and then &quot;Finnish&quot;
12. The same error will appear.
13. Repeat steps 10 and 11. NOW, the new yocto-bsp will be created.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31451</commentid>
    <comment_count>1</comment_count>
    <who name="Ioana Grigoropol">ioanax.grigoropol</who>
    <bug_when>2013-04-03 14:22:55 +0000</bug_when>
    <thetext>This is an error that is intentionally thrown by the yocto-bsp script in order not to override the output directory.

This error appears if the same command is ran from the command line, for example:

~/git-repos/denzil/eclipse-poky [denzil] $ /home/ioana/git-repos/denzil/poky/scripts/yocto-bsp create dsd arm -o /tmp/kkds2 -i /tmp/propertyvalues.json
New arm BSP created in /tmp/kkds2
~/git-repos/denzil/eclipse-poky [denzil] $ /home/ioana/git-repos/denzil/poky/scripts/yocto-bsp create dsd arm -o /tmp/kkds2 -i /tmp/propertyvalues.json

BSP output dir already exists, exiting. (/tmp/kkds2)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32302</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-04-17 13:26:53 +0000</bug_when>
    <thetext>verified as per above comment</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>