<?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>5757</bug_id>
          
          <creation_ts>2014-01-24 13:41:38 +0000</creation_ts>
          <short_desc>[KEPLER] Error when creating a bitbake commander project with a new git clone</short_desc>
          <delta_ts>2014-02-21 10:07:55 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ada Solcan">ada-mihaela.solcan</reporter>
          <assigned_to name="Alexandru Georgescu">alexandru.c.georgescu</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <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>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40033</commentid>
    <comment_count>0</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2014-01-24 13:41:38 +0000</bug_when>
    <thetext>Host: Fedora 20 64-bit and Ubuntu 13.10 64-bit
poky:1a9226f140f578f11696abf1a3c989fae1d4c14a
eclipse-poky-kepler:c73c6e4510c42601854f3c542ca6e14b4510380c

STEPS TO REPRODUCE:
1. Install Eclipse using the Headless Build
2. Set the Yocto ADT&apos;s toolchain, sysroot location and kernel
3. Switch to BitBake Commander perspective 
4. Create a new BitBake Commander project with a new git clone:
   4.1 Go to File-&gt;New-&gt;Project
   4.2 Select &quot;New Yocto Project&quot;, under &quot;Yocto Project BitBake Commander&quot;
   4.3 Press &quot;Next&quot;
   4.4 Fill in the project name
   4.5 Select &quot;Local&quot; from the &quot;Remote service provider&quot; dropdown list 
   4.6 Select &quot;Local&quot; from the &quot;Connection name&quot; dropdown list 
   4.7 Type the desired location in the &quot;Location&quot; text box
   4.8 Check the &quot;Clone from Yocto Project Git Repository into new location&quot; checkbox
   4.9 Press &quot;Finish&quot;

EXPECTED RESULT:
A new clone is being checked out and the new project is displayed into the Eclipse explorer window

ACTUAL RESULT:
An error is displayed in the Eclipse Yocto Project Console:

You must specify a repository to clone.



usage: git clone [options] [--] &lt;repo&gt; [&lt;dir&gt;]



    -v, --verbose         be more verbose

    -q, --quiet           be more quiet

    --progress            force progress reporting

    -n, --no-checkout     don&apos;t create a checkout

    --bare                create a bare repository

    --mirror              create a mirror repository (implies bare)

    -l, --local           to clone from a local repository

    --no-hardlinks        don&apos;t use local hardlinks, always copy

    -s, --shared          setup as shared repository

    --recursive           initialize submodules in the clone

    --recurse-submodules  initialize submodules in the clone

    --template &lt;template-directory&gt;

                          directory from which templates will be used

    --reference &lt;repo&gt;    reference repository

    -o, --origin &lt;name&gt;   use &lt;name&gt; instead of &apos;origin&apos; to track upstream

    -b, --branch &lt;branch&gt;

                          checkout &lt;branch&gt; instead of the remote&apos;s HEAD

    -u, --upload-pack &lt;path&gt;

                          path to git-upload-pack on the remote

    --depth &lt;depth&gt;       create a shallow clone of that depth

    --single-branch       clone only one branch, HEAD or --branch

    --separate-git-dir &lt;gitdir&gt;

                          separate git dir from working tree

    -c, --config &lt;key=value&gt;

                          set config inside the new repository



bash: /home/ada/bb/BitbakeProject/oe-init-build-env: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40101</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-01-30 13:38:21 +0000</bug_when>
    <thetext>I couldn&apos;t reproduce on my Fedora 20. I will investigate further on Ada&apos;s machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40105</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-01-30 14:05:11 +0000</bug_when>
    <thetext>I retested it on my Ubuntu 13.10 64bit.

Seems that the issue reproduces with the latest commit (f4d8e9243f9355424a01e2d72fd1abbf68d3bb7c): http://autobuilder.yoctoproject.org/pub/nightly/20140129-3/eclipse-plugin/kepler/org.yocto.sdk-development-201401292029-archive.zip

This issue does not reproduce with the previous commit (M2.rc2):c73c6e4510c42601854f3c542ca6e14b4510380c: http://autobuilder.yoctoproject.org/pub/nightly/20140123-3/eclipse-plugin/kepler/org.yocto.sdk-development-201401232333-archive.zip

Please note that in order to test the rc2 version, sh symlink must be changed to point to bash, not dash! - see https://bugzilla.yoctoproject.org/show_bug.cgi?id=5707 -</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40527</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2014-02-20 18:54:41 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/eclipse-poky-kepler/commit/?id=1dfe1d2f1322b5fda8e1a7637c447b0e060efb3e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40575</commentid>
    <comment_count>4</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2014-02-21 10:07:55 +0000</bug_when>
    <thetext>Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>