<?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>9128</bug_id>
          
          <creation_ts>2016-02-17 15:24:56 +0000</creation_ts>
          <short_desc>&quot;Using a development shell&quot; section should clarify that commands in a devshell should match the commands that are run by bitbake</short_desc>
          <delta_ts>2016-03-07 15:55:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Development Manual</product>
          <component>development</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9114</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <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>59154</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-02-17 15:24:56 +0000</bug_when>
    <thetext>Some developers expect that once in a devshell they can call commands as if in a normal shell, whereas the reality is that the devshell is a mechanism to get into the bitbake task execution environment and commands must be called in the same manner as bitbake calls them i.e. with appropriate options for cross-compilation, etc.

We should update the &quot;Using the development shell&quot; section of the developer manual to make this clearer.

Furthermore we could point out that a user can use the run.do_* files in temp to a) look at how the tasks are run by bitbake and b) run the commands exactly as bitbake does.

i.e. if I&apos;m in a devshell for connman in a build directory where connman has already built I can re-run the compilation steps by calling ../temp/run.do_compile</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59204</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-02-18 15:42:30 +0000</bug_when>
    <thetext>Turns out a remarkably similar bug was filed a couple of days before this.

*** This bug has been marked as a duplicate of bug 9114 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59223</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-02-18 17:27:37 +0000</bug_when>
    <thetext>I set the doc flag to &quot;No&quot; here since it is a duplicate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59768</commentid>
    <comment_count>3</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-03-07 15:55:12 +0000</bug_when>
    <thetext>verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>