<?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>11198</bug_id>
          
          <creation_ts>2017-03-21 13:17:52 +0000</creation_ts>
          <short_desc>devtool doesn&apos;t handle do_unpack dependencies</short_desc>
          <delta_ts>2017-09-18 23:59:36 +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>2.2</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>ola.x.nilsson</cc>
    
    <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>71516</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-03-21 13:17:52 +0000</bug_when>
    <thetext>To reproduce, with an empty tmp directory:

$ oe-selftest -r devtool.DevtoolTests.test_devtool_buildclean

NOTE: Patching...
NOTE: Executing do_unpack...
ERROR: Unpack failure for URL: &apos;http://cdn.kernel.org/pub/linux/utils/raid/mdadm/mdadm-4.0.tar.xz&apos;. Unpack command PATH=&quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/core2-64-poky-linux/mdadm/4.0-r0/devtooltmp-tq3misrq/workdir/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/core2-64-poky-linux/mdadm/4.0-r0/devtooltmp-tq3misrq/workdir/recipe-sysroot/usr/bin/crossscripts:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/core2-64-poky-linux/mdadm/4.0-r0/devtooltmp-tq3misrq/workdir/recipe-sysroot-native/usr/sbin:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/core2-64-poky-linux/mdadm/4.0-r0/devtooltmp-tq3misrq/workdir/recipe-sysroot-native/usr/bin:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/core2-64-poky-linux/mdadm/4.0-r0/devtooltmp-tq3misrq/workdir/recipe-sysroot-native/sbin:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/core2-64-poky-linux/mdadm/4.0-r0/devtooltmp-tq3misrq/workdir/recipe-sysroot-native/bin:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/bitbake/bin:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/hosttools&quot; xz -dc /srv/autobuilder/autobuilder.yoctoproject.org/current_sources/mdadm-4.0.tar.xz | tar x --no-same-owner -f - failed with return value 2

which is due to xz-native not having been unpacked.

$ bitbake xz-native
$ oe-selftest -r devtool.DevtoolTests.test_devtool_buildclean

works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75274</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-07-25 09:54:47 +0000</bug_when>
    <thetext>The underlying issue has now been fixed for devtool add / recipetool create, but this bug is actually about devtool modify, which will require quite a bit of reworking in order to fix (basically because there we are executing a task, doing some processing, executing the next task...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76207</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-08-28 20:19:09 +0000</bug_when>
    <thetext>*** Bug 11988 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76954</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-09-18 23:59:36 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=10af6d86b3effc523cfa0ec49741c5b02ee2cf86</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>