Bug 11271 - RefKit: 'devtool modify mraa' fails when using eSDK
Summary: RefKit: 'devtool modify mraa' fails when using eSDK
Status: RESOLVED FIXED
Alias: None
Product: IoT Reference OS Kit
Classification: Yocto Project Subprojects
Component: intel-iot-refkit-tools (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3 M4
Assignee: Mikko Ylinen
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-30 19:42 UTC by Henry Bruce
Modified: 2017-04-18 18:21 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Bruce 2017-03-30 19:42:58 UTC
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'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
Comment 1 Mikko Ylinen 2017-04-04 06:30:38 UTC
The problem seems to come from:

$ bitbake-diffsigs -t mraa fetch
basehash changed from 6b6b4ef1fd4a195478020d63beae33ef to 46ef46a80edc9379bd5b946b32826e04
Variable SRC_URI value changed from 'git://github.com/intel-iot-devkit/mraa.git;protocol=http;tag=v${PV}' to 'git://github.com/intel-iot-devkit/mraa.git;protocol=http;tag=v${PV}            file://0001-mraa.c-Fix-strsep-crash.patch'
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}