openembedded/meta-openembedded

awsiot install error

Opened this issue · 6 comments

I am trying to install awsiot on yocto build for Rpi4b

I added below line to local.conf -
IMAGE_INSTALL_append = "aws-iot-device-sdk-python-v2 python3-pip"

I am facing below error -
ERROR: Nothing RPROVIDES 'aws-iot-device-sdk-python-v2' (but /home/...../poky/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'aws-iot-device-sdk-python-v2' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['aws-iot-device-sdk-python-v2']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'aws-iot-device-sdk-python-v2']

I have a recipe under meta-openembedded/meta-python/receipes-devtools/python named "aws-iot-device-python_1.4.8.bb"

I am new to yocto. Any help will be much appreciated. Thank you

kraj commented

so find out who provides aws-iot-device-sdk-python-v2 see https://layers.openembedded.org/layerindex/recipe/120360/

python3-aws-iot-device-sdk-python_1.4.8.bb file is under meta-openembedded/meta-python/recipes-devtool/python

not sure how to find who provides this layer ?

kraj commented

next is to figure out why bitbake drops it from dep tree. Can you just do bitbake python3-aws-iot-device-sdk-python and try to find out what it complains about, also check the recipe as it might have some compatibility conditions encoded

tried bitbake python3-aws-iot-device-sdk-python task Success with no errors,

kraj commented

OK then where is aws-iot-device-sdk-python-v2 coming from ? notice -v2 change that to aws-iot-device-sdk-python

No errors now!! .. Thanks :D