<?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>5707</bug_id>
          
          <creation_ts>2014-01-08 12:15:04 +0000</creation_ts>
          <short_desc>Yocto Project BitBake Commander uses dash instead of bash</short_desc>
          <delta_ts>2014-02-05 15:41: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>1.4</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>minor</bug_severity>
          <target_milestone>1.6 M2</target_milestone>
          
          <blocked>5473</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan Eichenberger">stefan.eichenberger</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>ada-mihaela.solcan</cc>
    
    <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>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39687</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Eichenberger">stefan.eichenberger</who>
    <bug_when>2014-01-08 12:15:04 +0000</bug_when>
    <thetext>Distribution: Debian 7 (x64)
Eclipse Version: Kepler

When I try to create a new Yocto Project (File/New/Project/New Yocto Project). The initialization of the bitbake session outputs the following messages:

sh: 1: source: not found
sh: 1: source: not found
sh: 1: Syntax error: Bad fd number

The Problem is that dash is used instead of bash. I can workaround this issue by changing the /bin/sh link to /bin/bash. But it would be nice if this will work without that hack again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39757</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2014-01-10 19:53:50 +0000</bug_when>
    <thetext>So if sh is link to dash instead of bash, how can you run a bitbake build from command line, since you need to source oe-init-build anyway?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39763</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Eichenberger">stefan.eichenberger</who>
    <bug_when>2014-01-13 07:53:48 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; So if sh is link to dash instead of bash, how can you run a bitbake build
&gt; from command line, since you need to source oe-init-build anyway?

Hi Jessica

I don&apos;t know what eclipse is actually doing. I start eclipse from bash, so the default command line is bash. It seems that then eclipse does internal switch to sh instead of inheriting the command line interface. Because sh is then a link to dash the yocto eclipse plugin fails. As I understand the plugin, it inherits the command line interface from eclipse, is that correct?

Because bash is my default command line interface, source oe-init-build does work correctly.

Regards,
Stefan</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39923</commentid>
    <comment_count>3</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2014-01-20 08:32:29 +0000</bug_when>
    <thetext>*** Bug 5737 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40022</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2014-01-24 01:36:45 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/eclipse-poky-kepler/commit/?id=f4d8e9243f9355424a01e2d72fd1abbf68d3bb7c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40099</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-01-30 13:37:14 +0000</bug_when>
    <thetext>will verify this on the next FP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40196</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-02-05 15:41:55 +0000</bug_when>
    <thetext>this is fixed!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>