<?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>11988</bug_id>
          
          <creation_ts>2017-08-28 10:33:13 +0000</creation_ts>
          <short_desc>devtool modify misses tools in a clean build tree</short_desc>
          <delta_ts>2017-08-28 20:19:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11198</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="Ola Nilsson">ola.x.nilsson</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>ross.burton</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>76185</commentid>
    <comment_count>0</comment_count>
    <who name="Ola Nilsson">ola.x.nilsson</who>
    <bug_when>2017-08-28 10:33:13 +0000</bug_when>
    <thetext>It seems some tools needed by devtool are not available in a fresh tree, and are not built automatically by devtool.

&quot;devtool modify mdadm&quot; fails in a clean build folder.
The problem is that xz is not on the path.

Running &apos;bitbake xz-native&apos; makes xz available and &apos;devtool modify mdadm&apos; succeeds.

I&apos;m guessing other packages have other prerequisites that may be missing depending on the fetcher and any downloaded file types. 

Should devtool auto-build the fetcher dependencies, or ask the user to do so?

Building up until the unpack task of the target recipe should work for getting any prerequisites built.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76186</commentid>
    <comment_count>1</comment_count>
    <who name="Ola Nilsson">ola.x.nilsson</who>
    <bug_when>2017-08-28 10:34:30 +0000</bug_when>
    <thetext>This was on poky master, don&apos;t know if it is a problem on pyro or earlier.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76206</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-08-28 20:19:09 +0000</bug_when>
    <thetext>This is a known bug unfortunately - I&apos;m still trying to figure out how to rework the code so that this can be fixed.

*** This bug has been marked as a duplicate of bug 11198 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>