<?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>11271</bug_id>
          
          <creation_ts>2017-03-30 19:42:58 +0000</creation_ts>
          <short_desc>RefKit: &apos;devtool modify mraa&apos; fails when using eSDK</short_desc>
          <delta_ts>2017-04-18 18:21:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>IoT Reference OS Kit</product>
          <component>intel-iot-refkit-tools</component>
          <version>2.3</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.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Bruce">henry.bruce</reporter>
          <assigned_to name="Mikko Ylinen">mikko.ylinen</assigned_to>
          <cc>bluelightning</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71926</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2017-03-30 19:42:58 +0000</bug_when>
    <thetext>Steps to recreate
-----------------
Build mimimal eSDK for refkit-image-common (using workaround in bug 11270) 
Then is a new shell 
$ refkit-x86_64-corei7-64-toolchain-ext-refkit.0.sh -d /path/to/esdk
$ cd /path/to/esdk
$ source environment-setup-corei7-64-refkit-linux
$ devtool modify mraa
Parsing recipes: 100% |##########################################| Time: 0:00:11
Parsing of 2044 .bb files complete (0 cached, 2044 parsed). 2821 targets, 447 skipped, 0 masked, 0 errors.
NOTE: Executing RunQueue Tasks
NOTE: Executing do_fetch...
NOTE: Executing do_unpack...
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn&apos;t need to be rerun and all succeeded.
NOTE: Patching...
NOTE: Executing RunQueue Tasks
NOTE: Executing do_patch...
ERROR: Taskhash mismatch 600f778125a2745b6b1151894e7be5e8 versus db421fa785f029c76ef76c03df5f621d for /path/to/esdk/layers/meta-refkit/recipes-sensors/mraa/mraa_1.5.1.bb.do_patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72055</commentid>
    <comment_count>1</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-04-04 06:30:38 +0000</bug_when>
    <thetext>The problem seems to come from:

$ bitbake-diffsigs -t mraa fetch
basehash changed from 6b6b4ef1fd4a195478020d63beae33ef to 46ef46a80edc9379bd5b946b32826e04
Variable SRC_URI value changed from &apos;git://github.com/intel-iot-devkit/mraa.git;protocol=http;tag=v${PV}&apos; to &apos;git://github.com/intel-iot-devkit/mraa.git;protocol=http;tag=v${PV}            file://0001-mraa.c-Fix-strsep-crash.patch&apos;
Dependency on checksum of file 0001-mraa.c-Fix-strsep-crash.patch was added


Variable SRC_URI value is git://github.com/intel-iot-devkit/mraa.git;protocol=http;tag=v${PV}            file://0001-mraa.c-Fix-strsep-crash.patch

and 

Variable SRC_URI value is git://github.com/intel-iot-devkit/mraa.git;protocol=http;tag=v${PV}</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>