AnsweredAssumed Answered

Azure SDK on Yocto Thud IMX8M Mini

Question asked by Dave Nugent on Sep 10, 2019
Latest reply on Sep 19, 2019 by Dave Nugent

Hi,

 

I am having a problem adding Azure iot SDK  Recipe meta-iot-cloud (OpenEmbedded Layer Index - meta-iot-cloud ) to my build (IMX8M Mini Yocto Thud). I am able to add the layer to my source directory, and add the layer to my bblayers.conf, but when I try to add azure-iot-sdk-c ( OpenEmbedded Layer Index - azure-iot-sdk-c ) to my IMAGE_INSTALL_append in local.conf and run bitbake I get the errors:

 

ERROR: azure-uamqp-c-1.2.4-r0 do_unpack: gitsm: submodule unpack failed: UnpackError Unpack failure for URL: 'gitsm://www.github.com/Azure/azure-c-shared-utility;protocol=https;name=deps/azure-c-shared-utility;subpath=deps/azure-c-shared-utility;bareclone=1;nobranch=1'. No up to date source found: clone directory not available or not up to date: /home/dnugent/workspace/thud-imx-yocto-bsp/downloads//git2/www.github.com.Azure.azure-c-shared-utility; shallow clone not enabled
ERROR: azure-uamqp-c-1.2.4-r0 do_unpack: Unpack failure for URL: 'gitsm://www.github.com/Azure/azure-c-shared-utility;protocol=https;name=deps/azure-c-shared-utility;subpath=deps/azure-c-shared-utility;bareclone=1;nobranch=1'. No up to date source found: clone directory not available or not up to date: /home/dnugent/workspace/thud-imx-yocto-bsp/downloads//git2/www.github.com.Azure.azure-c-shared-utility; shallow clone not enabled
ERROR: azure-uamqp-c-1.2.4-r0 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /home/dnugent/workspace/thud-imx-yocto-bsp/build-dir/tmp/work/aarch64-poky-linux/azure-uamqp-c/1.2.4-r0/temp/log.do_unpack.23085
ERROR: Task (/home/dnugent/workspace/thud-imx-yocto-bsp/sources/meta-iot-cloud/recipes-azure/azure-uamqp-c/azure-uamqp-c_1.2.4.bb:do_unpack) failed with exit code '1'
ERROR: azure-umqtt-c-1.1.4-r0 do_unpack: gitsm: submodule unpack failed: UnpackError Unpack failure for URL: 'gitsm://github.com/Azure/azure-ctest.git;protocol=https;name=testtools/ctest;subpath=testtools/ctest;bareclone=1;nobranch=1'. No up to date source found: clone directory not available or not up to date: /home/dnugent/workspace/thud-imx-yocto-bsp/downloads//git2/github.com.Azure.azure-ctest.git; shallow clone not enabled
ERROR: azure-umqtt-c-1.1.4-r0 do_unpack: gitsm: submodule unpack failed: UnpackError Unpack failure for URL: 'gitsm://github.com/Azure/azure-ctest.git;protocol=https;name=testtools/ctest;subpath=testtools/ctest;bareclone=1;nobranch=1'. No up to date source found: clone directory not available or not up to date: /home/dnugent/workspace/thud-imx-yocto-bsp/downloads//git2/github.com.Azure.azure-ctest.git; shallow clone not enabled
ERROR: azure-umqtt-c-1.1.4-r0 do_unpack: Unpack failure for URL: 'gitsm://github.com/Azure/azure-ctest.git;protocol=https;name=testtools/ctest;subpath=testtools/ctest;bareclone=1;nobranch=1'. No up to date source found: clone directory not available or not up to date: /home/dnugent/workspace/thud-imx-yocto-bsp/downloads//git2/github.com.Azure.azure-ctest.git; shallow clone not enabled
ERROR: azure-umqtt-c-1.1.4-r0 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /home/dnugent/workspace/thud-imx-yocto-bsp/build-dir/tmp/work/aarch64-poky-linux/azure-umqtt-c/1.1.4-r0/temp/log.do_unpack.23084
ERROR: Task (/home/dnugent/workspace/thud-imx-yocto-bsp/sources/meta-iot-cloud/recipes-azure/azure-umqtt-c/azure-umqtt-c_1.1.4.bb:do_unpack) failed with exit code '1'

 

Does anybody know what the issue could be?

 

Thanks so much!

Outcomes