Git Product home page Git Product logo

meta-iot-cloud's Introduction

meta-iot-cloud

OpenEmbedded layer to add support for multiple cloud service provider solutions.

Supported Platforms

Dependencies

This layer depends on packages provided by the following layers:

Configuration

  1. Clone the meta-iot-cloud layer to your project directory.
  2. Add the meta-iot-cloud layer to conf/bblayers.conf
	BBLAYERS += "path/to/meta-iot-cloud"
  1. Add dependency layers to conf/bblayers.conf
	BBLAYERS += "path/to/meta-openembedded/meta-oe"
	BBLAYERS += "path/to/meta-openembedded/meta-python"
	BBLAYERS += "path/to/meta-openembedded/meta-networking"

Usage

To build packages related to Microsoft Azure:

	bitbake packagegroup-cloud-azure

To build packages related to Google Cloud Platform:

	bitbake packagegroup-cloud-google

Alternatively to add support for a given platform into your image add the following to your distro config or conf/auto.conf

    CORE_IMAGE_EXTRA_INSTALL += "packagegroup-cloud-azure"
    CORE_IMAGE_EXTRA_INSTALL += "packagegroup-cloud-google"

Patches

Please submit any patches against the meta-iot-cloud layer to the maintainer:

Maintainer: Scott Ware [email protected]

meta-iot-cloud's People

Contributors

aj-bagwell avatar akiernan avatar chenqi1989 avatar derekstraka avatar farnerup avatar fbertux avatar gportay avatar hongxu-jia avatar ipuustin avatar joeyr avatar kekiefer avatar kk6ho avatar kkang-wr avatar milindur avatar nishantpoorswani avatar onkelpit avatar psact avatar rarengifoarthrex avatar robertlinux avatar sandy-lcq avatar scooter1556 avatar shr-project avatar srware avatar tprrt avatar vca05 avatar yunguowei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meta-iot-cloud's Issues

Update node-red version

Hi, I am using node-red in my yocto project image with the dunfell branch, but my problem is that the version of node-red installed with this branch is 1.0.2 and I need a more update version, for example the 2.2.2. Which files do I need to modify the version of node-red? I have tested with the json file but I am not familiar with json. Is there a command to download the last version of node-red? I have seen the master branch and in this branch the version is more recent, but this layer is not compatible with my others layers, I need the dunfell branch.

azure-iot-sdk build error

Hi,

The azure-iot-sdk recipe contains this code:

do_configure_prepend() {
	cd ${S}
	git config --global http.sslverify "false"
	git submodule update --init --recursive
}

But this breaks the build on our build server, because there is no $HOME variable set and hence the `git config' fails with this error:

DEBUG: Executing shell function do_configure
fatal: $HOME not set
WARNING: /home/bob/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/azure-iot-sdk/1.1.23-r0/temp/run.do_configure.2839:1 exit 128 from 'git config --global http.sslverify "false"'
ERROR: Function failed: do_configure (log file is located at /home/bob/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/azure-iot-sdk/1.1.23-r0/temp/log.do_configure.2839)

This can be fixed by removing the --global option. Using this option is a very bad idea anyway, because now you suddenly disable verification of SSL certificates for ALL git repositories! I wonder why the http.sslverify options needs to be disabled in the first place?

Jef

Service file for Node-RED using the wrong path

Since the YOCTO team has changed the install directory for node modules from $PREFIX/lib/node_modules to $PREFIX/lib/node, the node-red.service file from your node-red recipe is broken.

You use ExecStart=/bin/su root -c 'node /usr/lib/node_modules/node-red/red.js'. Now it is ExecStart=/bin/su root -c 'node /usr/lib/node/node-red/red.js'.

This effects the branch warrior.

You can read the reasons for the change here:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2713d9bcc39c712ef34003ce8424416441be558e&showmsg=1

If you like, I can send you a PR.

Node-RED v1.22 do_fetch takes very long/fails

Hi,

Building node-red seems to be broken. I noticed in the log that resolving each npm dependency takes several minutes and in the end the whole process fails because of some other packages that could not be resolved at all. I'm not sure whats causing this because it built previously just fine.

My log:
DEBUG: Executing python function extend_recipe_sysroot NOTE: Direct dependencies are ['virtual:native:/home/em/Dev/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_12.21.0.bb:do_populate_sysroot'] NOTE: Installed into sysroot: [] NOTE: Skipping as already exists in sysroot: ['nodejs-native', 'quilt-native', 'openssl-native', 'brotli-native', 'zlib-native', 'icu-native', 'c-ares-native', 'xz-native', 'pkgconfig-native', 'python3-native', 'ninja-native', 'cmake-native', 'libtool-native', 'unzip-native', 'automake-native', 'autoconf-native', 'gnu-config-native', 'gettext-minimal-native', 'libffi-native', 'sqlite3-native', 'libnsl2-native', 'readline-native', 'gdbm-native', 'bzip2-native', 'libtirpc-native', 'util-linux-native', 're2c-native', 'ncurses-native', 'curl-native', 'expat-native', 'texinfo-dummy-native', 'm4-native', 'libpcre2-native', 'libcap-ng-native'] DEBUG: Python function extend_recipe_sysroot finished DEBUG: Executing python function do_fetch DEBUG: Executing python function base_do_fetch DEBUG: Fetcher accessed the network with the command npm view [email protected] DEBUG: Running 'export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1386"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/em/Dev/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin/python3-native:/home/em/Dev/poky/scripts:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot/usr/bin/crossscripts:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/sbin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/sbin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/bin:/home/em/Dev/poky/bitbake/bin:/home/em/Dev/build/tmp/hosttools"; export HOME="/tmp/tmpom_xchel"; NPM_CONFIG_GLOBALCONFIG=/tmp/tmpom_xchel/npmrc NPM_CONFIG_USERCONFIG=/tmp/tmpom_xchel/npmrc npm config set json true' in /tmp/tmpom_xchel DEBUG: Running 'export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1386"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/em/Dev/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin/python3-native:/home/em/Dev/poky/scripts:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot/usr/bin/crossscripts:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/sbin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/sbin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/bin:/home/em/Dev/poky/bitbake/bin:/home/em/Dev/build/tmp/hosttools"; export HOME="/tmp/tmpom_xchel"; NPM_CONFIG_GLOBALCONFIG=/tmp/tmpom_xchel/npmrc NPM_CONFIG_USERCONFIG=/tmp/tmpom_xchel/npmrc npm config set registry http://registry.npmjs.org' in /tmp/tmpom_xchel DEBUG: Running 'export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1386"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/em/Dev/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin/python3-native:/home/em/Dev/poky/scripts:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot/usr/bin/crossscripts:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/sbin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/sbin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/bin:/home/em/Dev/poky/bitbake/bin:/home/em/Dev/build/tmp/hosttools"; export HOME="/tmp/tmpom_xchel"; NPM_CONFIG_GLOBALCONFIG=/tmp/tmpom_xchel/npmrc NPM_CONFIG_USERCONFIG=/tmp/tmpom_xchel/npmrc npm view [email protected]' in /tmp/tmpom_xchel DEBUG: Trying PREMIRRORS DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['bzr', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['cvs', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['git', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['gitsm', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['hg', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['osc', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['p4', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['svn', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: Trying Upstream DEBUG: Trying PREMIRRORS DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['bzr', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['cvs', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['git', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['gitsm', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['hg', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['osc', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['p4', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: For url ['https', 'registry.npmjs.org', '/node-red/-/node-red-1.2.2.tgz', '', '', OrderedDict([('downloadfilename', 'npm2/node-red-1.2.2.tgz'), ('sha512sum', 'fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834')])] comparing ['svn', '.*', '/.*', '', '', OrderedDict()] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()] DEBUG: Trying Upstream DEBUG: Fetching https://registry.npmjs.org/node-red/-/node-red-1.2.2.tgz;downloadfilename=npm2/node-red-1.2.2.tgz;sha512sum=fdc19a8e8523a4280fd4f96a8edbeea66f2013ed7d5739bfcf7d4cdb97f9d1722e2e9cb7c22793922f9eda820f3f2bb34c3ec6cf4e0933249b701f2dc74be834 using command '/usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -O /home/em/Dev/build/downloads/npm2/node-red-1.2.2.tgz -P /home/em/Dev/build/downloads 'https://registry.npmjs.org/node-red/-/node-red-1.2.2.tgz'' DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -O /home/em/Dev/build/downloads/npm2/node-red-1.2.2.tgz -P /home/em/Dev/build/downloads 'https://registry.npmjs.org/node-red/-/node-red-1.2.2.tgz' DEBUG: Running export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1386"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/em/Dev/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin/python3-native:/home/em/Dev/poky/scripts:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot/usr/bin/crossscripts:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/sbin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/usr/bin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/sbin:/home/em/Dev/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red/1.2.2-r0/recipe-sysroot-native/bin:/home/em/Dev/poky/bitbake/bin:/home/em/Dev/build/tmp/hosttools"; export HOME="/home/em"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -O /home/em/Dev/build/downloads/npm2/node-red-1.2.2.tgz -P /home/em/Dev/build/downloads 'https://registry.npmjs.org/node-red/-/node-red-1.2.2.tgz' --progress=dot -v --2021-12-07 15:19:03-- https://registry.npmjs.org/node-red/-/node-red-1.2.2.tgz Resolving registry.npmjs.org (registry.npmjs.org)... 2606:4700::6810:1b23, 2606:4700::6810:1423, 2606:4700::6810:1923, ... Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1b23|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1423|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1923|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1623|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1223|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1023|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1323|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1a23|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1123|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1723|:443... failed: Connection timed out. Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:1823|:443... failed: Connection timed out.

bitbake dependencies error

I am trying to build the azure-c-shared-utility and I am getting the following error:

ERROR: Required build target 'azure-c-shared-utility' has no buildable providers.
Missing or unbuildable dependency chain was: ['azure-c-shared-utility', 'glibc-dev']

dotnet_3.0.0.bb doesn't support arm32

I added the following:

elif re.match('arm$', target_arch):
        d.setVar('SRC_FETCH_ID', '8ddb8193-f88c-4c4b-82a3-39fcced27e91/b8e0b9bf4cf77dff09ff86cc1a73960b')
        d.setVarFlag('SRC_URI', 'md5sum', '7c253a28becd85b9f19880d745e130ba')
        d.setVarFlag('SRC_URI', 'sha256sum', 'e0090dc52a1fbfcf7467fe874ddc58fb27a0c34fb4ab3c1124c476c92d553693')
        d.setVar('DOTNET_ARCH', 'arm')

which got me closer but then got this error:

ERROR: dotnet-3.0.0-r1 do_package_qa: QA Issue: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.0.0/System.Net.Http.Native.so contained in package dotnet requires libcurl.so.4(CURL_OPENSSL_3), but no providers found in RDEPENDS_dotnet? [file-rdeps]
ERROR: dotnet-3.0.0-r1 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: dotnet-3.0.0-r1 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /chimera-src/build/tmp/work/armv7ahf-neon-tait-linux-gnueabi/dotnet/3.0.0-r1/temp/log.do_package_qa.5538
ERROR: Task (//chimera-src/meta-chimera/recipes-devtools/dotnet/dotnet_3.0.0.bb:do_package_qa) failed with exit code '1'

nodejs-native config issue under Krogoth

I encountered this configuration error IRT nodejs-native when building meta-iot-cloud under Krogoth.

ERROR: nodejs-native-6.10.3-r0 do_configure: Function failed: do_configure (log file is located at /home/rob/rpi/build/tmp/work/x86_64-linux/nodejs-native/6.10.3-r0/temp/log.do_configure.31856)
ERROR: Logfile of failure stored in: /home/rob/rpi/build/tmp/work/x86_64-linux/nodejs-native/6.10.3-r0/temp/log.do_configure.31856
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| Usage: configure [options]
|
| configure: error: no such option: --disable-static
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/rob/rpi/build/tmp/work/x86_64-linux/nodejs-native/6.10.3-r0/temp/log.do_configure.31856)
ERROR: Task 3084 (virtual:native:/home/rob/poky-krogoth/meta-iot-cloud/recipes-devtools/nodejs/nodejs_6.10.3.bb, do_configure) failed with exit code '1'

build azure-iot-sdk error on pulsar linux 8

I got pulsar linux 8
https://github.com/WindRiver-OpenSourceLabs/wr-core.git
Added meta-iot-cloud to pulsar linux 8 and build azure-iot-sdk error

Error message :
aaron@ubuntu:/pulsar_n/wr-core/build-intel-apollolake$ . init-intel-apollolake-env
aaron@ubuntu:
/pulsar_n/wr-core/build-intel-apollolake$ bitbake packagegroup-cloud-azure
Loading cache: 100% |#######################################################################################| ETA: 00:00:00
Loaded 6985 entries from dependency cache.
Parsing recipes: 100% |#####################################################################################| Time: 00:00:02
Parsing of 3071 .bb files complete (3068 cached, 3 parsed). 6989 targets, 587 skipped, 9 masked, 0 errors.
WARNING: No recipes available for:
/home/aaron/pulsar_n/wr-core/layers/meta-secure-env/recipes-support/ima-evm-utils/ima-evm-utils_git.bbappend
/home/aaron/pulsar_n/wr-core/layers/meta-virtualization/recipes-kernel/linux/linux-yocto_4.8.bbappend
/home/aaron/pulsar_n/wr-core/layers/meta-gateway/recipes-core-luci/busybox/busybox_1.22.1.bbappend
/home/aaron/pulsar_n/wr-core/layers/wrlabs-integration/recipes-daemons/tftp-hpa/tftp-hpd_5.2.bbappend
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'boost-python' (but /home/aaron/pulsar_n/wr-core/layers/meta-iot-cloud/recipes-azure/azure-iot-sdk/azure-iot-sdk_1.1.13.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'boost-python' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['boost-python']
NOTE: Runtime target 'azure-iot-edge' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['azure-iot-edge', 'azure-iot-sdk', 'boost-python']
ERROR: Required build target 'packagegroup-cloud-azure' has no buildable providers.
Missing or unbuildable dependency chain was: ['packagegroup-cloud-azure', 'azure-iot-edge', 'azure-iot-sdk', 'boost-python']

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Unable to find revision

WARNING: azure-iot-sdk-c-1.3.8-r0 do_fetch: Failed to fetch URL git://github.com/Azure/azure-iot-sdk-c.git;rev=a8a71c2d120c571a2d2ab6149863c2b075e7bea9, attempting MIRRORS if available
ERROR: azure-iot-sdk-c-1.3.8-r0 do_fetch: Fetcher failure: Unable to find revision a8a71c2d120c571a2d2ab6149863c2b075e7bea9 in branch master even from upstream
ERROR: azure-iot-sdk-c-1.3.8-r0 do_fetch: Fetcher failure for URL: 'git://github.com/Azure/azure-iot-sdk-c.git;rev=a8a71c2d120c571a2d2ab6149863c2b075e7bea9'. Unable to fetch URL from any source.

Is it possible to get this updated to dotnet .300?

Hello I tried to manually update it but I get a stat error on the install.

/aarch64-poky-linux/dotnet/5.0.300-r0/dotnet-5.0.300/host/fxr/gnu': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/mnt/nfs_share/edm_yocto2/build-xwayland-edm-g-imx8mp/tmp/work/aarch64-poky-linux/dotnet/5.0.300-r0/temp/run.do_install.11387' failed with exit code 1:
| cp: cannot stat '/mnt/nfs_share/edm_yocto2/build-xwayland-edm-g-imx8mp/tmp/work/aarch64-poky-linux/dotnet/5.0.300-r0/dotnet-5.0.300/host/fxr/gnu': No such file or directory
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/mnt/nfs_share/edm_yocto2/sources/meta-iot-cloud/recipes-devtools/dotnet/dotnet_5.0.300.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7264 tasks of which 7255 didn't need to be rerun and 1 failed.

question on including azure's certs to yocto build

I was doing some digging on an issue we have and came across #175

The solution for us would be to set the "TrustedCerts" option in the IoT Client connection, but that depends on us including these files into the image/sdk.

For reference here are the certs we need to add.

Any help is appreciated!
Joey

Python install path incorrect in azure-iot-sdk bitbake recipe

In the ob_libinstall lines below "${B}" should be "${B}/c".

do_install_append() {
# Python
if ${@bb.utils.contains('PACKAGECONFIG','python','true','false',d)}; then
install -d ${D}${PYTHON_SITEPACKAGES_DIR}
oe_libinstall -C ${B}/python/src -so iothub_client ${D}${PYTHON_SITEPACKAGES_DIR}
oe_libinstall -C ${B}/python_service_client/src -so iothub_service_client ${D}${PYTHON_SITEPACKAGES_DIR}
fi
}

Fetcher failure: Fetch command failed with exit code 128

I am using Krogoth branch of Yocto for my development and I need to add "pycryptodome" to my build.
layers.openembedded.org redirected me here for that recipe.
I have copied entire "meta-iot-cloud" layer and added the same to my "bblayer.conf". then added "python3-pycryptodome" to my local.conf. but there is some fetch error when I try to bitbake.
Can someone please point out what I am missing. Below is the bitbake error message outpute.

WARNING: python3-pycryptodome-3.4.5-r0 do_fetch: Failed to fetch URL git://github.com/Legrandin/pycryptodome.git, attempting MIRRORS if available ERROR: python3-pycryptodome-3.4.5-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output: Cloning into bare repository '/home/pravin/MYD-Y6ULX-devel/fsl-release-yocto/downloads//git2/github.com.Legrandin.pycryptodome.git'... fatal: unable to connect to github.com: github.com[0: 20.207.73.82]: errno=Connection timed out

Upgrade s2n to 1.3.1?

Would you take a patch to uprev s2n to 1.3.1?

We're seeing an intermittent build problem with 1.1.1 that may just be due to lack of memory in our container build but I'd just as soon upgrade before having someone debug the issue.

[136/515] TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-gcc -D_POSIX_C_SOURCE=200809L -Ds2n_EXPORTS -ITOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/git -ITOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/git/api -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0=/usr/src/debug/s2n/1.1.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0=/usr/src/debug/s2n/1.1.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -fstack-protector-strong -Og -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/recipe-sysroot -Og -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0=/usr/src/debug/s2n/1.1.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0=/usr/src/debug/s2n/1.1.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/recipe-sysroot-native= -pipe -Wno-error=array-parameter -Wno-error=discarded-qualifiers -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0=/usr/src/debug/s2n/1.1.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0=/usr/src/debug/s2n/1.1.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -fstack-protector-strong -Og -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/recipe-sysroot -fPIC -pedantic -std=gnu99 -Wall -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -Wno-deprecated-declarations -Wno-unknown-pragmas -Wformat-security -Wno-missing-braces -Wa,--noexecstack -Werror -fvisibility=hidden -DS2N_EXPORTS -DS2N_SIKE_P434_R3_ASM -DS2N_BIKE_R3_AVX2 -DS2N_BIKE_R3_AVX512 -DS2N_BIKE_R3_PCLMUL -DS2N_BIKE_R3_VPCLMUL -DS2N_KYBER512R3_AVX2_BMI2 -DS2N_ADX -DS2N_HAVE_EXECINFO -DS2N_CPUID_AVAILABLE -fPIC -DS2N_FALL_THROUGH_SUPPORTED -DS2N___RESTRICT__SUPPORTED -mavx2 -mavx -mbmi2 -MD -MT CMakeFiles/s2n.dir/pq-crypto/kyber_r3/KeccakP-1600-times4-SIMD256_avx2.c.o -MF CMakeFiles/s2n.dir/pq-crypto/kyber_r3/KeccakP-1600-times4-SIMD256_avx2.c.o.d -o CMakeFiles/s2n.dir/pq-crypto/kyber_r3/KeccakP-1600-times4-SIMD256_avx2.c.o -c TOPDIR/tmp-glibc/work/core2-64-wrs-linux/s2n/1.1.1-r0/git/pq-crypto/kyber_r3/KeccakP-1600-times4-SIMD256_avx2.c
ninja: build stopped: subcommand failed.

umock-c-dev has dependency to the non-existent umock-c package (implicit default dependency of -dev pkgs)

Symptom:
When adding umock-c-dev to TOOLCHAIN_TARGET_TASK (for SDK generation), the process fails with:

ERROR: fooimage-crosssdk-1.0-r0 do_populate_sdk: Could not invoke dnf. Command 'fooimage-crosssdk/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c fooimage-crosssdk/1.0-r0/sdk/image/opt/sdk/9.90.0+snapshot-aarch64/sysroots/aarch64-linux/etc/dnf/dnf.conf --setopt=reposdir=/tmp/work/h3ulcb-linux/fooimage-crosssdk/1.0-r0/sdk/image/opt/sdk/9.90.0+snapshot-aarch64/sysroots/aarch64-linux/etc/yum.repos.d --installroot=/tmp/work/h3ulcb-linux/fooimage-crosssdk/1.0-r0/sdk/image/opt/sdk/9.90.0+snapshot-aarch64/sysroots/aarch64-linux --setopt=logdir=/tmp/work/h3ulcb-linux/fooimage-crosssdk/1.0-r0/temp --repofrompath=oe-repo,/tmp/work/h3ulcb-linux/fooimage-crosssdk/1.0-r0/oe-sdk-repo --nogpgcheck install libiothub-client1 curl dnf gcc-sanitizers kernel-dev kernel-devicetree kernel-devsrc packagegroup-core-ssh-openssh packagegroup-core-standalone-sdk-target packagegroup-core-tools-debug packagegroup-core-tools-profile packagegroup-qt5-toolchain-target psplash rpm run-postinsts screen target-sdk-provides-dummy umock-c umock-c-staticdev' returned 1:
DNF version: 4.2.2
cachedir: /tmp/work/h3ulcb-linux/fooimage-crosssdk/1.0-r0/sdk/image/opt/sdk/9.90.0+snapshot-aarch64/sysroots/aarch64-linux/var/cache/dnf
[...]
No match for argument: umock-c
Error: Unable to find a match
ERROR: Logfile of failure stored in: 1.0-r0/temp/log.do_populate_sdk.13343

By design -dev packages in rpm have a dependency to the base package.

A quick fix is to touch a file in e.g.
/usr/share/umock-c/dummy

so the base RPM is actually present.

error while compiling samples of azure-iot-sak-c in rocko branch

i have just removed the -Dskip_samples:BOOL=OFF in azure-iot-sdk.inc file. and try to compile. then i got below error. is this yocto eroor?

t-sdk-c/1.1.32-r0/git/serializer/samples/simplesample_amqp/simplesample_amqp.c
| ../../libiothub_client_amqp_transport.so: undefined reference to messagereceiver_get_link_name' | ../../libiothub_client_amqp_transport.so: undefined reference to message_clone'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_properties' | ../../libiothub_client_amqp_transport.so: undefined reference to message_set_message_annotations'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_map_pair_count' | ../../libiothub_client_amqp_transport.so: undefined reference to messagereceiver_open'
| ../../libiothub_client_amqp_transport.so: undefined reference to connection_destroy' | ../../libiothub_client_amqp_transport.so: undefined reference to link_set_attach_properties'
| ../../libiothub_client_amqp_transport.so: undefined reference to message_get_properties' | ../../libiothub_client_amqp_transport.so: undefined reference to properties_get_correlation_id'
| ../../libiothub_client_amqp_transport.so: undefined reference to link_get_peer_max_message_size' | ../../libiothub_client_amqp_transport.so: undefined reference to session_create'
| ../../libiothub_client_amqp_transport.so: undefined reference to messaging_delivery_rejected' | ../../libiothub_client_amqp_transport.so: undefined reference to message_get_body_type'
| ../../libiothub_client_amqp_transport.so: undefined reference to cbs_open_async' | ../../libiothub_client_amqp_transport.so: undefined reference to connection_set_idle_timeout'
| ../../libiothub_client_amqp_transport.so: undefined reference to message_get_application_properties' | ../../libiothub_client_amqp_transport.so: undefined reference to saslmssbcbs_get_interface'
| ../../libiothub_client_amqp_transport.so: undefined reference to link_create' | ../../libiothub_client_amqp_transport.so: undefined reference to messagereceiver_create'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_string' | ../../libiothub_client_amqp_transport.so: undefined reference to messaging_create_source'
| ../../libiothub_client_amqp_transport.so: undefined reference to properties_get_content_type' | ../../libiothub_client_amqp_transport.so: undefined reference to messaging_delivery_accepted'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_symbol' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_type'
| ../../libiothub_client_amqp_transport.so: undefined reference to link_destroy' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_null'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_map' | ../../libiothub_client_amqp_transport.so: undefined reference to messagesender_destroy'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_ulong' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_set_map_value'
| ../../libiothub_client_amqp_transport.so: undefined reference to cbs_destroy' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_application_properties'
| ../../libiothub_client_amqp_transport.so: undefined reference to properties_get_message_id' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_uuid'
| ../../libiothub_client_amqp_transport.so: undefined reference to messagesender_send_async' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_long'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_encode' | ../../libiothub_client_amqp_transport.so: undefined reference to message_get_body_amqp_data_count'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_encoded_size' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_string'
| ../../libiothub_client_amqp_transport.so: undefined reference to properties_set_message_id' | ../../libiothub_client_amqp_transport.so: undefined reference to messagereceiver_get_received_message_id'
| ../../libiothub_client_amqp_transport.so: undefined reference to connection_set_remote_idle_timeout_empty_frame_send_ratio' | ../../libiothub_client_amqp_transport.so: undefined reference to cbs_put_token_async'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_message_annotations' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_int'
| ../../libiothub_client_amqp_transport.so: undefined reference to saslmechanism_create' | ../../libiothub_client_amqp_transport.so: undefined reference to session_set_incoming_window'
| ../../libiothub_client_amqp_transport.so: undefined reference to messagesender_create' | ../../libiothub_client_amqp_transport.so: undefined reference to messagesender_open'
| ../../libiothub_client_amqp_transport.so: undefined reference to link_set_max_message_size' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_int'
| ../../libiothub_client_amqp_transport.so: undefined reference to message_get_message_annotations' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_symbol'
| ../../libiothub_client_amqp_transport.so: undefined reference to messagereceiver_send_message_disposition' | ../../libiothub_client_amqp_transport.so: undefined reference to saslclientio_get_interface_description'
| ../../libiothub_client_amqp_transport.so: undefined reference to message_set_application_properties' | ../../libiothub_client_amqp_transport.so: undefined reference to messagereceiver_close'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_uuid' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_map_key_value_pair'
| ../../libiothub_client_amqp_transport.so: undefined reference to connection_create2' | ../../libiothub_client_amqp_transport.so: undefined reference to message_destroy'
| ../../libiothub_client_amqp_transport.so: undefined reference to session_set_outgoing_window' | ../../libiothub_client_amqp_transport.so: undefined reference to properties_destroy'
| ../../libiothub_client_amqp_transport.so: undefined reference to connection_dowork' | ../../libiothub_client_amqp_transport.so: undefined reference to message_add_body_amqp_data'
| ../../libiothub_client_amqp_transport.so: undefined reference to properties_set_content_type' | ../../libiothub_client_amqp_transport.so: undefined reference to message_set_properties'
| ../../libiothub_client_amqp_transport.so: undefined reference to connection_set_trace' | ../../libiothub_client_amqp_transport.so: undefined reference to saslmechanism_destroy'
| ../../libiothub_client_amqp_transport.so: undefined reference to session_destroy' | ../../libiothub_client_amqp_transport.so: undefined reference to messagereceiver_destroy'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_map_value' | ../../libiothub_client_amqp_transport.so: undefined reference to properties_set_correlation_id'
| ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_create_data' | ../../libiothub_client_amqp_transport.so: undefined reference to message_set_message_format'
| ../../libiothub_client_amqp_transport.so: undefined reference to messaging_delivery_released' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_destroy'
| ../../libiothub_client_amqp_transport.so: undefined reference to cbs_create' | ../../libiothub_client_amqp_transport.so: undefined reference to amqpvalue_get_inplace_described_value'
| ../../libiothub_client_amqp_transport.so: undefined reference to message_create' | ../../libiothub_client_amqp_transport.so: undefined reference to messaging_create_target'
| ../../libiothub_client_amqp_transport.so: undefined reference to properties_get_content_encoding' | ../../libiothub_client_amqp_transport.so: undefined reference to properties_set_content_encoding'
| ../../libiothub_client_amqp_transport.so: undefined reference to properties_create' | ../../libiothub_client_amqp_transport.so: undefined reference to link_set_rcv_settle_mode'
| ../../libiothub_client_amqp_transport.so: undefined reference to `message_get_body_amqp_data_in_place'
| collect2: error: ld returned 1 exit status
| iothub_client/samples/iothub_client_sample_device_twin/CMakeFiles/iothub_client_sample_device_twin.dir/build.make:107: recipe for target 'iothub_client/samples/iothub_client_sample_device_twin/iothub_client_sample_device_twin' failed
| make[2]: *** [iothub_client/samples/iothub_client_sample_device_twin/iothub_client_sample_device_twin] Error 1

I found below line in above error log
collect2: error: ld returned 1 exit status

Question: Version of azure-iot-sdk-c

Hi!
I am a complete noob when it comes to the azure-iot-sdk-c, I was just wondering, if there is any particular reason that the current version is at 1.2.10 and not 1.3.x or anywhere closer like 1.2.14? And if there are no particular reasons, would you accept a PR?

Regards,

Matthias

python-azure-storage error

I've run into another error. It looked like there might be an issue with nspkg and storage trying to install the same files. Any help is appreciated! -Ben

ERROR: The recipe python-azure-storage is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/-/-/-/tmp/sysroots/edison/usr/lib/python2.7/site-packages/azure/init.py
Matched in manifest-edison-python-azure-nspkg.populate_sysroot
/home/-/-/-/tmp/sysroots/edison/usr/lib/python2.7/site-packages/azure/init.pyc
Matched in manifest-edison-python-azure-nspkg.populate_sysroot
Please verify which recipe should provide the above files.

Not able to see Sensors in Node RED

I am developer, got the intel grove kit from one of the session attended lately. I am have started a lab at home but hitting a road blocker. I have connected everything, but not able to detect the sensors in dashboard, so can't run any program. Is there troubleshooting i can do?

Build cannot find azure iot libraries

Hi, I get the following errors when trying to build an application with azure-iot-sdk-c (using the thud branch)

| /home/bryan/aesd_project_build/build-openstlinuxweston-stm32mp1-aesd-project/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/azure-app/1.0+gitAUTOINC+340686c3b0-r0/recipe-sysroot-native/usr/bin/arm-ostl-linux-gnueabi/../../libexec/arm-ostl-linux-gnueabi/gcc/arm-ostl-linux-gnueabi/8.2.0/ld: cannot find -luhttp
| /home/bryan/aesd_project_build/build-openstlinuxweston-stm32mp1-aesd-project/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/azure-app/1.0+gitAUTOINC+340686c3b0-r0/recipe-sysroot-native/usr/bin/arm-ostl-linux-gnueabi/../../libexec/arm-ostl-linux-gnueabi/gcc/arm-ostl-linux-gnueabi/8.2.0/ld: cannot find -lprov_auth_client
| /home/bryan/aesd_project_build/build-openstlinuxweston-stm32mp1-aesd-project/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/azure-app/1.0+gitAUTOINC+340686c3b0-r0/recipe-sysroot-native/usr/bin/arm-ostl-linux-gnueabi/../../libexec/arm-ostl-linux-gnueabi/gcc/arm-ostl-linux-gnueabi/8.2.0/ld: cannot find -lhsm_security_client
| collect2: error: ld returned 1 exit status
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/bryan/aesd_project_build/build-openstlinuxweston-stm32mp1-aesd-project/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/azure-app/1.0+gitAUTOINC+340686c3b0-r0/temp/log.do_compile.18252)

The recipe I am using to try to build my application is as follows:

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=96acd7c558849eaf93c9c522f1a2f334"

SRC_URI = "git://[email protected]/atharvanan1/aesd_linux_app.git;protocol=ssh;branch=master \
		   "

# Modify these as desired
PV = "1.0+git${SRCPV}"
SRCREV = "eb9f7e087da3c60c90b5fc911476c13f54ccbf1f"

S = "${WORKDIR}/git/azure"

DEPENDS_append += " \
	azure-iot-sdk-c \
	"

RDEPENDS_${PN} += " \
	iotedge-cli \
	iotedge-daemon \
	"

inherit cmake

do_configue () {
	cmake ..
}

do_install () {
	# Specify install commands here
	install -d ${D}${bindir_native}
	install -m 0755 ${S}/azure/azure_app ${D}${bindir_native}
}

Am I doing something wrong? Or are these libraries not getting installed correctly?

Problem with node-red after enabling systemd

Hi, I'm trying to compile yocto on the "zeus" branch with meta-iot-cloud. After I added systemd to my image, the build started failing. I'll paste logs are below.

I'd appreciate your help.

DEBUG: Executing shell function do_compile
npm WARN using --force I sure hope you know what you are doing.
npm ERR! Cannot read property 'replace' of null

npm ERR! A complete log of this run can be found in:
npm ERR!     /media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/npm_cache/_logs/2020-05-10T10_13_05_397Z-debug.log
WARNING: /media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/temp/run.do_compile.4316:1 exit 1 from 'npm --arch=arm --target_arch=arm --production --no-registry install'
ERROR: Execution of '/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/temp/run.do_compile.4316' failed with exit code 1:
npm WARN using --force I sure hope you know what you are doing.
npm ERR! Cannot read property 'replace' of null

npm ERR! A complete log of this run can be found in:
npm ERR!     /media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/npm_cache/_logs/2020-05-10T10_13_05_397Z-debug.log
WARNING: /media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/temp/run.do_compile.4316:1 exit 1 from 'npm --arch=arm --target_arch=arm --production --no-registry install'
0 info it worked if it ends with ok
1 verbose cli [ '/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/bin/node',
1 verbose cli   '/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/bin/npm',
1 verbose cli   '--arch=arm',
1 verbose cli   '--target_arch=arm',
1 verbose cli   '--production',
1 verbose cli   '--no-registry',
1 verbose cli   'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session ff84b6f41f74941e
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall [email protected]
7 info lifecycle [email protected]~preinstall: [email protected]
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 timing stage:loadCurrentTree Completed in 4279ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 2ms
14 silly install loadShrinkwrap
15 timing stage:rollbackFailedOptional Completed in 1ms
16 timing stage:runTopLevelLifecycles Completed in 4699ms
17 silly saveTree [email protected]
18 verbose stack TypeError: Cannot read property 'replace' of null
18 verbose stack     at quotemeta (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/lib/install/inflate-shrinkwrap.js:73:14)
18 verbose stack     at tarballToVersion (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/lib/install/inflate-shrinkwrap.js:77:20)
18 verbose stack     at inflatableChild (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/lib/install/inflate-shrinkwrap.js:99:22)
18 verbose stack     at BB.each (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/lib/install/inflate-shrinkwrap.js:55:12)
18 verbose stack     at tryCatcher (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
18 verbose stack     at Object.gotValue (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/reduce.js:155:18)
18 verbose stack     at Object.gotAccum (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/reduce.js:144:25)
18 verbose stack     at Object.tryCatcher (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
18 verbose stack     at Promise._settlePromiseFromHandler (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
18 verbose stack     at Promise._settlePromise (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
18 verbose stack     at Promise._settlePromiseCtx (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:606:10)
18 verbose stack     at _drainQueueStep (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:142:12)
18 verbose stack     at _drainQueue (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9)
18 verbose stack     at Async._drainQueues (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5)
18 verbose stack     at Immediate.Async.drainQueues [as _onImmediate] (/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
18 verbose stack     at runCallback (timers.js:705:18)
19 verbose cwd /media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/npmpkg
20 verbose Linux 5.0.0-31-generic
21 verbose argv "/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/bin/node" "/media/bogdan/Disk3/poky/build3/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/node-red/1.0.2-r0/recipe-sysroot-native/usr/bin/npm" "--arch=arm" "--target_arch=arm" "--production" "--no-registry" "install"
22 verbose node v10.16.3
23 verbose npm  v6.9.0
24 error Cannot read property 'replace' of null
25 verbose exit [ 1, true ]

gRPC recipe does not work for C++

This gRPC recipe can only build grpc library for C support but not C++.

It would be great if recipe for C++ (aka grpc++) can be added.

Use protobuf recipe from meta-oe

A recipe for protobuf is already provided in meta-oe. This is the version against which other layers have been tested. Once we add in meta-iot-cloud to our build, we see a failure to build the armnn package as it is no longer building against the expected protobuf version.

Is it possible to scrap the protobuf recipe in this layer and instead use the one from meta-oe? If not then the recipe in this layer should be renamed to something like protobuf3.3 so that it doesnt' clash with the protobuf recipe used by other layers.

Provide package.json to node-red recipe

Is it possible to add the original package.json used to generate the npm-shrinkwrap.json file to the node-red recipe? Currently, it is very cumbersome to install npm packages to node-red because there is no clean way to do so for a shrinkwrap file.

ibm-iotf-java and aws-iot-device-sdk-java compilation fails on morty branch

Hi,

I am using meta-iot-cloud on the "morty" branch. Compilation of "ibm-iotf-java-0.2.6-r1" and "aws-iot-device-sdk-java_1.1.1" getting failed. It is trying to fetch the "nexus-staging-maven-plugin-1.6.3.pom" from "http://repo.maven.apache.org/maven2" but it is not longer accesible and suggesting to use "http://repo.maven.apache.org/maven2" instead.

Below is the log for the same

ERROR: ibm-iotf-java-0.2.6-r1 do_compile: Function failed: do_compile (log file is located at /home/tejas/mgw/fsl-release-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/ibm-iotf-java/0.2.6-r1/temp/log.do_compile.8456)
ERROR: Logfile of failure stored in: /home/tejas/mgw/fsl-release-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/ibm-iotf-java/0.2.6-r1/temp/log.do_compile.8456
Log data follows:
| DEBUG: Executing shell function do_compile
| [INFO] Scanning for projects...
| Downloading: http://repo.maven.apache.org/maven2/org/sonatype/plugins/nexus-staging-maven-plugin/1.6.3/nexus-staging-maven-plugin-1.6.3.pom
|
| [ERROR] [ERROR] Some problems were encountered while processing the POMs:
| [ERROR] Unresolveable build extension: Plugin org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.sonatype.plugins:nexus-staging-maven-plugin:jar:1.6.3 @
| @
| [ERROR] The build could not read 1 project -> [Help 1]
| [ERROR]
| [ERROR] The project com.ibm.messaging:watson-iot:0.2.6 (/home/tejas/mgw/fsl-release-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/ibm-iotf-java/0.2.6-r1/git/pom.xml) has 1 error
| [ERROR] Unresolveable build extension: Plugin org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.sonatype.plugins:nexus-staging-maven-plugin:jar:1.6.3: Could not transfer artifact org.sonatype.plugins:nexus-staging-maven-plugin:pom:1.6.3 from/to US (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/sonatype/plugins/nexus-staging-maven-plugin/1.6.3/nexus-staging-maven-plugin-1.6.3.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 2]
| [ERROR]
| [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
| [ERROR] Re-run Maven using the -X switch to enable full debug logging.
| [ERROR]
| [ERROR] For more information about the errors and possible solutions, please read the following articles:
| [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
| [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/tejas/mgw/fsl-release-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/ibm-iotf-java/0.2.6-r1/temp/log.do_compile.8456)
ERROR: Task (/home/tejas/mgw/fsl-release-bsp/sources/meta-iot-cloud/recipes-ibm/ibm-iotf-java/ibm-iotf-java_0.2.6.bb:do_compile) failed with exit code '1'
ERROR: aws-iot-device-sdk-java-1.1.1-r1 do_compile: Function failed: do_compile (log file is located at /home/tejas/mgw/fsl-release-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/aws-iot-device-sdk-java/1.1.1-r1/temp/log.do_compile.8455)
ERROR: Logfile of failure stored in: /home/tejas/mgw/fsl-release-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/aws-iot-device-sdk-java/1.1.1-r1/temp/log.do_compile.8455
Log data follows:
| DEBUG: Executing shell function do_compile
| [INFO] Scanning for projects...
| Downloading: http://repo.maven.apache.org/maven2/org/sonatype/plugins/nexus-staging-maven-plugin/1.6.3/nexus-staging-maven-plugin-1.6.3.pom
|
| [ERROR] [ERROR] Some problems were encountered while processing the POMs:
| [ERROR] Unresolveable build extension: Plugin org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.sonatype.plugins:nexus-staging-maven-plugin:jar:1.6.3 @
| @
| [ERROR] The build could not read 1 project -> [Help 1]
| [ERROR]
| [ERROR] The project com.amazonaws:aws-iot-device-sdk-java-pom:1.1.1 (/home/tejas/mgw/fsl-release-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/aws-iot-device-sdk-java/1.1.1-r1/git/pom.xml) has 1 error
| [ERROR] Unresolveable build extension: Plugin org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.sonatype.plugins:nexus-staging-maven-plugin:jar:1.6.3: Could not transfer artifact org.sonatype.plugins:nexus-staging-maven-plugin:pom:1.6.3 from/to US (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/sonatype/plugins/nexus-staging-maven-plugin/1.6.3/nexus-staging-maven-plugin-1.6.3.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 2]
| [ERROR]
| [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
| [ERROR] Re-run Maven using the -X switch to enable full debug logging.
| [ERROR]
| [ERROR] For more information about the errors and possible solutions, please read the following articles:
| [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
| [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/tejas/mgw/fsl-release-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/aws-iot-device-sdk-java/1.1.1-r1/temp/log.do_compile.8455)
ERROR: Task (/home/tejas/mgw/fsl-release-bsp/sources/meta-iot-cloud/recipes-aws/aws-iot-device-sdk-java/aws-iot-device-sdk-java_1.1.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4114 tasks of which 4107 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
/home/tejas/mgw/fsl-release-bsp/sources/meta-iot-cloud/recipes-ibm/ibm-iotf-java/ibm-iotf-java_0.2.6.bb:do_compile
/home/tejas/mgw/fsl-release-bsp/sources/meta-iot-cloud/recipes-aws/aws-iot-device-sdk-java/aws-iot-device-sdk-java_1.1.1.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

iotedgectl for azure

Hello,

I am new to Azure. I built the packagegroup-cloud-azure using your layer, but the command line tool iotedgeclt for Azure IoT edge does not seem to be installed. Maybe there is something I've done wrong and it is supposed to be there?

If the layer does not include that command line tool, is there a way of using the Azure Edge without it?

Thank you,
Mihaela

python-knack: License checksum is invalid

ERROR: python-knack-0.4.1-r0 do_fetch: Checksum failure fetching https://github.com/Microsoft/knack/raw/0.4.1/LICENSE;name=license
ERROR: python-knack-0.4.1-r0 do_fetch: Fetcher failure for URL: 'https://github.com/Microsoft/knack/raw/0.4.1/LICENSE;name=license'. Checksum mismatch!
File: '/var/build/build/downloads/LICENSE' has md5 checksum 650b869bd8ff2aed59c62bad2a22a821 when bbfbc44677c93751d972e8b36751a695 was expected
File: '/var/build/build/downloads/LICENSE' has sha256 checksum 7c34d28e784b202aa4998f477fd0aa9773146952d7f6fa5971369fcdda59cf48 when b9e1c9b3b348a58186dd4fc69c994cf26c0ded0d91ebe4bd201e6f7d05ead8ec was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[license.md5sum] = "650b869bd8ff2aed59c62bad2a22a821"
SRC_URI[license.sha256sum] = "7c34d28e784b202aa4998f477fd0aa9773146952d7f6fa5971369fcdda59cf48"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: python-knack-0.4.1-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /var/build/build/tmp/work/core2-64-poky-linux/python-knack/0.4.1-r0/temp/log.do_fetch.141
ERROR: Task (/var/build/poky/meta-iot-cloud/recipes-devtools/python/python-knack_0.4.1.bb:do_fetch) failed with exit code '1'

I can update the checksum, but it seems odd that the checksum differs

recipes-aws deleted with no corresponding recipes in meta-aws

The recipes-aws is deleted by 3fc517e.
Yet I found that the following recipes lack corresponding recipes in meta-aws.

packagegroup-cloud-aws_0.17.bb
python3-awsiotsdk_1.5.12.bb
python3-awscrt_0.11.20.bb
python3-awscli_1.18.157.bb
aws-iot-device-sdk-cpp-v2-samples_1.12.6.bb
python3-gg-group-setup_0.5.3.bb

What's the plan for these recipes? Is the removal work done? Or is it still in progress?
Thanks in advance.

Update aws-iot-device-sdk-cpp-v2

Is it possible to update the sdk to newer version? Currently is 1.12.6 at least 1.14.x would be preferred, because of the easier MqttClient handling and static ClientBootstrap instance.

I wanted to do it myself but I don't understand the full scope of the Build-static-and-shared-libs.patch.

aws-iot-device-sdk-cpp: do_package_qa errors

Hello,

Thank you for adding the new recipe! I'm able to compile, but am getting several errors during the package qa step of this nature:

QA Issue: non debug package contains .debug directory

Any help would be appreciated.

Thanks,
Ben

meta-aws duplication

@hongxu-jia @kekiefer @robertlinux @kkang-wr

You may be aware there is an AWS maintained meta-layer which contains pretty much all of the same AWS related recipes as this layer: https://github.com/aws/meta-aws

As recent contributors to these recipes I would like your insights and thoughts on whether to keep maintaining the recipes in this layer alongside the "official" AWS layer or remove them from here and direct people to meta-aws.

Personally I have put a lot of effort into fixing packaging problems with the AWS libraries such as building both static and shared libs and also making packages which provide wrappers to C libraries actually depend and compile against them rather than pulling everything down in submodules and creating a mess on the target. All of this would need contributing or discussing with the meta-aws maintainers.

If anyone has tried integrating meta-aws into their builds or has any other thoughts on this I am happy to hear them.

Thanks in advance.

Provisioning client with Azure IoT C SDK

I'm trying to build the provisioning client included in the Azure IoT C SDK. I added

EXTRA_OECMAKE += " \
    -Duse_prov_client:BOOL=ON \
"

however the build fails since the repository is not clone with submodules and the utpm and RIoT dependencies are missing. I added a recipe for utpm but I'm not sure about how to handle RIoT since it's only used for the sources, and there isn't a cmake file. Is there a reason why the repository is not cloned with submodules?

awscli is missing getpass python dependency

When installing python3-awscli and trying to run it with the command aws s3 cp ... it fails with the following stacktrace:

Traceback (most recent call last):
  File "/usr/bin/aws", line 19, in <module>
    import awscli.clidriver
  File "/usr/lib/python3.9/site-packages/awscli/clidriver.py", line 17, in <module>
    import botocore.session
  File "/usr/lib/python3.9/site-packages/botocore/session.py", line 30, in <module>
    import botocore.credentials
  File "/usr/lib/python3.9/site-packages/botocore/credentials.py", line 18, in <module>
    import getpass
No module named 'getpass'

This is because the python3-unixadmin package is not installed.

packagegroup-cloud-azure is not installable

When using the following image, the package group packagegroup-cloud-azure is not installable

SUMMARY = "A small image just capable of allowing a device to boot with azure support"
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-cloud-azure"
IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_LINGUAS = " "
LICENSE = "MIT"
inherit core-image
IMAGE_ROOTFS_SIZE ?= "8192"
IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}"

Results in

ERROR: core-image-minimal-azure-1.0-r0 do_rootfs: Could not invoke dnf. Command '/var/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal-azure/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=debug -y -c /var/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal-azure/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/var/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal-azure/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,/var/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal-azure/1.0-r0/oe-rootfs-repo --installroot=/var/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal-azure/1.0-r0/rootfs --setopt=logdir=/var/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal-azure/1.0-r0/temp --nogpgcheck install packagegroup-core-boot packagegroup-cloud-azure run-postinsts' returned 1:
DNF version: 2.7.5
cachedir: /var/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal-azure/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /var/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal-azure/1.0-r0/oe-rootfs-repo
repo: using cache for: oe-repo
not found deltainfo for: oe-repo
not found updateinfo for: oe-repo
oe-repo: using metadata from Wed 25 Jul 2018 10:54:09 AM UTC.
Last metadata expiration check: 0:00:01 ago on Wed 25 Jul 2018 10:54:10 AM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error: 
 Problem: package python-azure-iothub-service-client-1.2.2-r0.core2_64 conflicts with python-azure-iot-sdk provided by python-azure-iothub-device-client-1.2.2-r0.core2_64
  - package packagegroup-cloud-azure-0.16-r0.noarch requires python-azure-iothub-service-client, but none of the providers can be installed
  - package packagegroup-cloud-azure-0.16-r0.noarch requires python-azure-iothub-device-client, but none of the providers can be installed
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

ERROR: core-image-minimal-azure-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /var/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal-azure/1.0-r0/temp/log.do_rootfs.7421
ERROR: Task (/var/build/poky/meta-iot-cloud-test/recipes-core/images/core-image-minimal-azure.bb:do_rootfs) failed with exit code '1'

Update azure-iot-sdk-c to last version (1.3.8)?

Hello,
I'm working on the design of a new IoT device based on Linux (Yockto).
I want use the last Azure SDK but I'm a newbie on receipe world.
Where can I start? someone can help me?
Thanks in advace

Best regards

Issues with dev and dbg packages of aws-iot-device-sdk-cpp

Hello,

The standard package seems build correctly for me. However, I get the error below when building an image with the -dev package:

satisfy_dependencies_for: Cannot satisfy the following dependencies for aws-iot-device-sdk-cpp-dev:
rapidjson (= 1.1.0-r0)
opkg_install_cmd: Cannot install package aws-iot-device-sdk-cpp-dev.

Additionally, the -dbg package built without errors but did not seem to include the header files in the image. Should those be included with the -dbg package?

Thanks again for your help.

-Ben

python-azure-multiapi-storage: recipe does not contain a valid LICENSE file

The file pointed to in LIC_FILES_CHKSUM does not exist in the release called out based on a clean fetch.

This causes the following build issue

WARNING: python-azure-multiapi-storage-0.2.0-r0 do_populate_lic: Could not copy license file /var/build/build/tmp/work/core2-64-poky-linux/python-azure-multiapi-storage/0.2.0-r0/azure-multiapi-storage-0.2.0/LICENSE to /var/build/build/tmp/work/core2-64-poky-linux/python-azure-multiapi-storage/0.2.0-r0/license-destdir/python-azure-multiapi-storage/LICENSE: [Errno 2] No such file or directory: '/var/build/build/tmp/work/core2-64-poky-linux/python-azure-multiapi-storage/0.2.0-r0/azure-multiapi-storage-0.2.0/LICENSE'
ERROR: python-azure-multiapi-storage-0.2.0-r0 do_populate_lic: QA Issue: python-azure-multiapi-storage: LIC_FILES_CHKSUM points to an invalid file: /var/build/build/tmp/work/core2-64-poky-linux/python-azure-multiapi-storage/0.2.0-r0/azure-multiapi-storage-0.2.0/LICENSE [license-checksum]
ERROR: python-azure-multiapi-storage-0.2.0-r0 do_populate_lic: Fatal QA errors found, failing task.
ERROR: python-azure-multiapi-storage-0.2.0-r0 do_populate_lic: Function failed: populate_lic_qa_checksum
ERROR: Logfile of failure stored in: /var/build/build/tmp/work/core2-64-poky-linux/python-azure-multiapi-storage/0.2.0-r0/temp/log.do_populate_lic.5912
ERROR: Task (/var/build/poky/meta-iot-cloud/recipes-azure/python/python-azure-multiapi-storage_0.2.0.bb:do_populate_lic) failed with exit code '1'

I can either use PKG-INFO or setup.py or use the git tag which contains the license file. Any preference?

Please create honister branch

Yocto project has created its honister branch. This code at current master builds against honister, so now is a good time to create that branch.

Makefile question

It looks like the TLS directories are hardcoded in the Makefile here:
meta-iot-cloud/recipes-aws/aws-iot-device-sdk-embedded-c/files/Makefile


#TLS - openSSL
TLS_LIB_DIR = /usr/lib/
TLS_INCLUDE_DIR = -I /usr/include/openssl

I'm getting multiple errors like this when trying to build:

cc1: warning: include location "/usr/include/openssl" is unsafe for cross-compilation [-Wpoison-system-directories]

Is it incorrectly trying to use the host's library? Any help would be appreciated.

Thanks,
Ben

azure-c-shared-utility build error

Commit 23b2acb seems to break the build, with this error:

ERROR: azure-c-shared-utility-1.0.52-r0 do_patch: Command Error: 'quilt --quiltrc /home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/azure-c-shared-utility/1.0.52-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
Applying patch Use-pkg-config-to-find-libs.patch
patching file CMakeLists.txt
Hunk #1 succeeded at 125 with fuzz 1 (offset -2 lines).
Hunk #2 FAILED at 420.
Hunk #3 succeeded at 427 (offset -29 lines).
1 out of 3 hunks FAILED -- rejects in file CMakeLists.txt
Patch Use-pkg-config-to-find-libs.patch does not apply (enforce with -f)
ERROR: azure-c-shared-utility-1.0.52-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/jdi/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/azure-c-shared-utility/1.0.52-r0/temp/log.do_patch.24388
ERROR: Task (/home/jdi/develop/yocto/meta-iot-cloud/recipes-azure/azure-c-shared-utility/azure-c-shared-utility_1.0.52.bb:do_patch) failed with exit code '1'

So it looks like the patch doesn't apply correctly. The strange thing is that if I apply the patch manually using git apply or patch -p1, then there is no error:

$ git apply Use-pkg-config-to-find-libs.patch
../Use-pkg-config-to-find-libs.patch:26: trailing whitespace.
    
../Use-pkg-config-to-find-libs.patch:60: trailing whitespace.
        
warning: 2 lines applied after fixing whitespace errors.

$ patch -p1 < ../Use-pkg-config-to-find-libs.patch 
patching file CMakeLists.txt

Errors when building the azure package group

Hi, I'm trying to build the azure package group in branch 'thud' and the build fails while trying to fetch the git repositories.
I'm using Petalinux which is a based on yocto (thud) and is provided by xilinx.
The build machine is a (virtual) Ubuntu 18.04.1. Git version is 2.17.1

Here is a log of the build.

bogdan@bogdan-ubuntu18:/media/bogdan/Disk3/xilinx/build2$ bitbake packagegroup-cloud-azure
Parsing recipes: 100% |###########################################################################################################################| Time: 0:00:34
Parsing of 3258 .bb files complete (0 cached, 3258 parsed). 4383 targets, 170 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-xilinx-linux-gnueabi"
MACHINE              = "zc702-zynq7"
DISTRO               = "petalinux"
DISTRO_VERSION       = "2019.2"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU           = "hard"
meta
meta-poky            = "HEAD:c7569a0469666b2886e57b22b912f83a6f610e79"
meta-perl
meta-python
meta-filesystems
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-xfce
meta-initramfs
meta-oe              = "HEAD:638a176b1bf043bc71021233f37926b1a10aca12"
meta-browser         = "HEAD:d7e5fab5ec331edede71da7829d4b0d9bfc80ba4"
meta-qt5             = "HEAD:fb4ef4dd7bccfb53a5186c031105ea29320420ce"
meta-xilinx-bsp
meta-xilinx-pynq
meta-xilinx-contrib  = "HEAD:586e4001cdd90e3db67692b14bbe5daabc565478"
meta-xilinx-tools    = "HEAD:1f0161a321aac36b0dfe6d742f2019abd146d998"
meta-petalinux       = "HEAD:6f3c49f124d2ce1bfcea006091fd72063a63ed95"
meta-virtualization  = "HEAD:6743df6e68c8fa145a6472bac81a87b57f19f84d"
meta-openamp         = "HEAD:a1f9048de857908d94b2c48618decfe206176521"
meta-jupyter         = "HEAD:de267ef366fa9278e065506c4c4bd287803d0445"
meta-iot-cloud       = "thud:6efd11ba89523d2368dc6f85841cd3eba6bdb26a"

Initialising tasks: 100% |########################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 625 Found 0 Missed 625 Current 375 (0% match, 37% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: azure-umqtt-c-1.1.4-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-uninative/x86_64-linux/usr/bin:/media/bogdan/Disk3/xilinx/sources/core/scripts:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-umqtt-c/1.1.4-r0/recipe-sysroot-native/usr/bin/arm-xilinx-linux-gnueabi:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-umqtt-c/1.1.4-r0/recipe-sysroot/usr/bin/crossscripts:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-umqtt-c/1.1.4-r0/recipe-sysroot-native/usr/sbin:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-umqtt-c/1.1.4-r0/recipe-sysroot-native/usr/bin:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-umqtt-c/1.1.4-r0/recipe-sysroot-native/sbin:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-umqtt-c/1.1.4-r0/recipe-sysroot-native/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/gnu/microblaze/lin/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/gnu/armr5/lin/gcc-arm-none-eabi/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/gnu/aarch64/lin/aarch64-none/bin:/media/bogdan/Disk3/xilinx/sources/core/bitbake/bin:/media/bogdan/Disk3/xilinx/build2/tmp/hosttools"; export HOME="/home/bogdan"; git -c core.fsyncobjectfiles=0 submodule update --recursive --no-fetch failed with exit code 1, output:
Submodule path 'deps/c-utility': checked out '8290634e5c2d005643d5a7dd5f8e65ad7a4353c2'
Submodule path 'deps/c-utility/testtools/ctest': checked out 'a500106bb2339a988cf7f6445f2686333746efc4'
Submodule path 'deps/c-utility/testtools/testrunner': checked out '7ff63752ad696f8b641af96f8cb168db4a38b179'

warning: core.bare and core.worktree do not make sense
fatal: unable to set up work tree using invalid config
Unable to checkout 'a9be4df165633c0ac6fcff2bf94b1ae384856d39' in submodule path 'deps/c-utility/testtools/umock-c'
Failed to recurse into submodule path 'deps/c-utility'

ERROR: azure-umqtt-c-1.1.4-r0 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-umqtt-c/1.1.4-r0/temp/log.do_unpack.19193
ERROR: Task (/media/bogdan/Disk3/xilinx/sources/meta-iot-cloud/recipes-azure/azure-umqtt-c/azure-umqtt-c_1.1.4.bb:do_unpack) failed with exit code '1'
ERROR: azure-uamqp-c-1.2.4-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-uninative/x86_64-linux/usr/bin:/media/bogdan/Disk3/xilinx/sources/core/scripts:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-uamqp-c/1.2.4-r0/recipe-sysroot-native/usr/bin/arm-xilinx-linux-gnueabi:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-uamqp-c/1.2.4-r0/recipe-sysroot/usr/bin/crossscripts:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-uamqp-c/1.2.4-r0/recipe-sysroot-native/usr/sbin:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-uamqp-c/1.2.4-r0/recipe-sysroot-native/usr/bin:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-uamqp-c/1.2.4-r0/recipe-sysroot-native/sbin:/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-uamqp-c/1.2.4-r0/recipe-sysroot-native/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/gnu/microblaze/lin/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/gnu/armr5/lin/gcc-arm-none-eabi/bin:/media/bogdan/Disk3/xilinx/build2/tmp/sysroots-xsct/Vitis/2019.2/gnu/aarch64/lin/aarch64-none/bin:/media/bogdan/Disk3/xilinx/sources/core/bitbake/bin:/media/bogdan/Disk3/xilinx/build2/tmp/hosttools"; export HOME="/home/bogdan"; git -c core.fsyncobjectfiles=0 submodule update --recursive --no-fetch failed with exit code 1, output:
Submodule path 'deps/azure-c-shared-utility': checked out '8290634e5c2d005643d5a7dd5f8e65ad7a4353c2'
Submodule path 'deps/azure-c-shared-utility/testtools/ctest': checked out 'a500106bb2339a988cf7f6445f2686333746efc4'
Submodule path 'deps/azure-c-shared-utility/testtools/testrunner': checked out '7ff63752ad696f8b641af96f8cb168db4a38b179'
Submodule path 'deps/azure-c-testrunnerswitcher': checked out '7ff63752ad696f8b641af96f8cb168db4a38b179'
Submodule path 'deps/azure-ctest': checked out 'a500106bb2339a988cf7f6445f2686333746efc4'
Submodule path 'deps/umock-c': checked out 'a9be4df165633c0ac6fcff2bf94b1ae384856d39'
Submodule path 'deps/umock-c/deps/ctest': checked out 'a500106bb2339a988cf7f6445f2686333746efc4'
Submodule path 'deps/umock-c/deps/testrunner': checked out '7ff63752ad696f8b641af96f8cb168db4a38b179'

warning: core.bare and core.worktree do not make sense
fatal: unable to set up work tree using invalid config
Unable to checkout 'a9be4df165633c0ac6fcff2bf94b1ae384856d39' in submodule path 'deps/azure-c-shared-utility/testtools/umock-c'
Cloning into '/media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-uamqp-c/1.2.4-r0/git/deps/umock-c/deps/ctest'...
done.
Failed to recurse into submodule path 'deps/azure-c-shared-utility'

ERROR: azure-uamqp-c-1.2.4-r0 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /media/bogdan/Disk3/xilinx/build2/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/azure-uamqp-c/1.2.4-r0/temp/log.do_unpack.19166
ERROR: Task (/media/bogdan/Disk3/xilinx/sources/meta-iot-cloud/recipes-azure/azure-uamqp-c/azure-uamqp-c_1.2.4.bb:do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1343 tasks of which 1251 didn't need to be rerun and 2 failed.
NOTE: Writing buildhistory

Summary: 2 tasks failed:
  /media/bogdan/Disk3/xilinx/sources/meta-iot-cloud/recipes-azure/azure-umqtt-c/azure-umqtt-c_1.1.4.bb:do_unpack
  /media/bogdan/Disk3/xilinx/sources/meta-iot-cloud/recipes-azure/azure-uamqp-c/azure-uamqp-c_1.2.4.bb:do_unpack
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

I'd appreciate your help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.