Home/Support/Support Forum/dey 2.6 can't bitbake dey-image-aws
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

dey 2.6 can't bitbake dey-image-aws

0 votes
Hi,

I'm using dey 2.6 to bitbake the default dey-image-aws, I got an error like this:


WARNING: greengrass-1.8.0-r0 do_fetch: Failed to fetch URL http:///not/exist/greengrass-linux-aarch64-1.8.0.tar.gz;name=aarch64, attempting MIRRORS if available
ERROR: greengrass-1.8.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-2e6YQSIXFw"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/int/workspace/ccimx8x/tmp/sysroots-uninative/x86_64-linux/usr/bin:/usr/local/dey-2.6/sources/poky/scripts:/home/int/workspace/ccimx8x/tmp/work/aarch64-dey-linux/greengrass/1.8.0-r0/recipe-sysroot-native/usr/bin/aarch64-dey-linux:/home/int/workspace/ccimx8x/tmp/work/aarch64-dey-linux/greengrass/1.8.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/int/workspace/ccimx8x/tmp/work/aarch64-dey-linux/greengrass/1.8.0-r0/recipe-sysroot-native/usr/sbin:/home/int/workspace/ccimx8x/tmp/work/aarch64-dey-linux/greengrass/1.8.0-r0/recipe-sysroot-native/usr/bin:/home/int/workspace/ccimx8x/tmp/work/aarch64-dey-linux/greengrass/1.8.0-r0/recipe-sysroot-native/sbin:/home/int/workspace/ccimx8x/tmp/work/aarch64-dey-linux/greengrass/1.8.0-r0/recipe-sysroot-native/bin:/usr/local/dey-2.6/sources/poky/bitbake/bin:/home/int/workspace/ccimx8x/tmp/hosttools"; export HOME="/home/int"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/int/workspace/ccimx8x/../downloads 'http:///not/exist/greengrass-linux-aarch64-1.8.0.tar.gz' --progress=dot -v failed with exit code 1, output:
http:///not/exist/greengrass-linux-aarch64-1.8.0.tar.gz: Invalid host name.

ERROR: greengrass-1.8.0-r0 do_fetch: Fetcher failure for URL: 'http:///not/exist/greengrass-linux-aarch64-1.8.0.tar.gz;name=aarch64'. Unable to fetch URL from any source.
ERROR: greengrass-1.8.0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/int/workspace/ccimx8x/tmp/work/aarch64-dey-linux/greengrass/1.8.0-r0/temp/log.do_fetch.2504
ERROR: Task (/usr/local/dey-2.6/sources/meta-digi/meta-digi-dey/recipes-aws/greengrass/greengrass_1.8.0.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4359 tasks of which 4358 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/usr/local/dey-2.6/sources/meta-digi/meta-digi-dey/recipes-aws/greengrass/greengrass_1.8.0.bb:do_fetch


I'm not sure why it's downloading from http:///not/exist/greengrass-linux-aarch64-1.8.0.tar.gz.

The HW is connect core 8x.
asked Aug 1 in Linux by fei4xu New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

+1 vote
 
Best answer
1.9.2 is out, however, I can still download 1.8.0 from
https://d1onfpft10uf5o.cloudfront.net/greengrass-core/downloads/1.8.0/greengrass-linux-aarch64-1.8.0.tar.gz
Try getting it and putting in your downloads folder

Actually here is a description of how to do this properly:
https://www.digi.com/resources/documentation/digidocs/embedded/dey/2.6/cc6ul/yocto_t_aws-create-iot-image#prepare-greengrass-core-requirements
answered Aug 2 by LeonidM Veteran of the Digi Community (3,131 points)
selected Aug 4 by fei4xu
...