<?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>13715</bug_id>
          
          <creation_ts>2019-12-19 15:36:25 +0000</creation_ts>
          <short_desc>Incorrect runall fetch command example in the development manual</short_desc>
          <delta_ts>2020-03-12 14:47:43 +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>2.6.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmed Hossam">Ahmed.Hossam</reporter>
          <assigned_to name="Mark Morton">mark.morton</assigned_to>
          <cc>akuster808</cc>
    
    <cc>akuster</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85860</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmed Hossam">Ahmed.Hossam</who>
    <bug_when>2019-12-19 15:36:25 +0000</bug_when>
    <thetext>The runall fetch command example in chapter 3.23.2 (https://www.yoctoproject.org/docs/2.6.4/dev-manual/dev-manual.html#getting-source-files-and-suppressing-the-build) is incorrect
&gt; $ bitbake -c target runall=&quot;fetch&quot;
ERROR: Nothing PROVIDES &apos;runall=fetch&apos;


The command in chapter 4.13.4 of the reference manual (https://www.yoctoproject.org/docs/2.6.4/ref-manual/ref-manual.html#migration-2.5-bitbake-changes) is the correct one:
&gt; bitbake &lt;target&gt; --runall=fetch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86418</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-02-13 15:52:57 +0000</bug_when>
    <thetext>Ping. M3 is in 2 weeks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86421</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Morton">mark.morton</who>
    <bug_when>2020-02-13 16:00:35 +0000</bug_when>
    <thetext>Got it - thanks for the reminder.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86544</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-02-21 14:00:43 +0000</bug_when>
    <thetext>I sent a patch for this and queued in master-next</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86611</commentid>
    <comment_count>4</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2020-02-27 16:09:03 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master-next</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86612</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmed Hossam">Ahmed.Hossam</who>
    <bug_when>2020-02-27 16:18:32 +0000</bug_when>
    <thetext>Is the &apos;-c&apos; needed (I have not tested that) ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86629</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmed Hossam">Ahmed.Hossam</who>
    <bug_when>2020-02-29 06:25:21 +0000</bug_when>
    <thetext>I have tried the command and if I understand correctly -c interprets &apos;target&apos; as a command so bitbake assumes that no target is passed and just prints a help message:

$ bitbake -c target --runall=&quot;fetch&quot;
Nothing to do.  Use &apos;bitbake world&apos; to build everything, or run &apos;bitbake --help&apos; for usage information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86633</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-03-01 16:48:02 +0000</bug_when>
    <thetext>You are correct, the -c should not be there either. I&apos;ve fixed the patch queued in master-next to remove that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86707</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-03-12 14:47:43 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/yocto-docs/commit/?id=91fbf02ae126bcabfeb43525db620bbd36d5f583</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>