Home/Support/Support Forum/Yocto Connect Core 6 build error
New and improved user forum site going live on 12/6 (All users will need to reset their password when the new forum is active)
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Yocto Connect Core 6 build error

0 votes
Hello,

I'm following the instructions from the DIGI wiki.

https://www.digi.com/resources/documentation/digidocs/90001546/#task/yocto/t_program_firmware_yocto.htm%3FTocPath%3DDigi%2520Embedded%2520Yocto%7CGet%2520started%7C_____3

I used the "stable" repo.
$ repo init -u https://github.com/digi-embedded/dey-manifest.git -b refs/tags/2.2-r2
$ repo sync -j4 --no-repo-verify


I tried to build the "dey-image-tiny" image for the ConnectCore 6. (bitbake dey-image-tiny)

I'm using Ubuntu 16.04.3.

However, I have the following error:

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:06
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: byacc-native-20160606-r0 do_fetch: Failed to fetch URL ftp://invisible-island.net/byacc/byacc-20160606.tgz, attempting MIRRORS if available
WARNING: libpng-native-1.6.24-r0 do_fetch: Failed to fetch URL http://distfiles.gentoo.org/distfiles/libpng-1.6.24.tar.xz, attempting MIRRORS if available
WARNING: linux-dey-4.1-r0 do_fetch: Failed to fetch URL git://github.com/digi-embedded/linux.git;nobranch=1, attempting MIRRORS if available
ERROR: linux-dey-4.1-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-5BL0spVY5J"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/cpf/workspace/ccimx6sbc/tmp/sysroots-uninative/x86_64-linux/usr/bin:/usr/local/dey-2.2/sources/poky/scripts:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/usr/bin/arm-dey-linux-gnueabi:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/ccimx6sbc/usr/bin/crossscripts:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/usr/sbin:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/usr/bin:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/sbin:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/bin:/usr/local/dey-2.2/sources/meta-digi/scripts:/usr/local/dey-2.2/sources/poky/scripts:/usr/local/dey-2.2/sources/poky/bitbake/bin:/usr/local/dey-2.2/sources/meta-digi/scripts:/home/cpf/bin:/home/cpf/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/cpf"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/digi-embedded/linux.git /home/cpf/workspace/ccimx6sbc/downloads/git2/github.com.digi-embedded.linux.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/cpf/workspace/ccimx6sbc/downloads/git2/github.com.digi-embedded.linux.git'...
remote: Counting objects: 4279504, done.
remote: Compressing objects: 100% (2/2), done.
fatal: read error: Connection timed out), 158.29 MiB | 93.00 KiB/s
fatal: early EOF
fatal: index-pack failed

ERROR: linux-dey-4.1-r0 do_fetch: Fetcher failure for URL: 'git://github.com/digi-embedded/linux.git;nobranch=1'. Unable to fetch URL from any source.
ERROR: linux-dey-4.1-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/cpf/workspace/ccimx6sbc/tmp/work/ccimx6sbc-dey-linux-gnueabi/linux-dey/4.1-r0/temp/log.do_fetch.25900
ERROR: Task (/usr/local/dey-2.2/sources/meta-digi/meta-digi-arm/recipes-kernel/linux/linux-dey_4.1.bb:do_fetch) failed with exit code '1'
WARNING: u-boot-dey-2015.04-r0 do_fetch: Failed to fetch URL git://github.com/digi-embedded/u-boot.git;nobranch=1, attempting MIRRORS if available
ERROR: u-boot-dey-2015.04-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-5BL0spVY5J"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/cpf/workspace/ccimx6sbc/tmp/sysroots-uninative/x86_64-linux/usr/bin:/usr/local/dey-2.2/sources/poky/scripts:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/usr/bin/arm-dey-linux-gnueabi:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/ccimx6sbc/usr/bin/crossscripts:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/usr/sbin:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/usr/bin:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/sbin:/home/cpf/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/bin:/usr/local/dey-2.2/sources/meta-digi/scripts:/usr/local/dey-2.2/sources/poky/scripts:/usr/local/dey-2.2/sources/poky/bitbake/bin:/usr/local/dey-2.2/sources/meta-digi/scripts:/home/cpf/bin:/home/cpf/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/cpf"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/digi-embedded/u-boot.git /home/cpf/workspace/ccimx6sbc/downloads/git2/github.com.digi-embedded.u-boot.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/cpf/workspace/ccimx6sbc/downloads/git2/github.com.digi-embedded.u-boot.git'...
remote: Counting objects: 320618, done.
fatal: read error: Connection timed out, 49.21 MiB | 139.00 KiB/s
fatal: early EOF
fatal: index-pack failed

ERROR: u-boot-dey-2015.04-r0 do_fetch: Fetcher failure for URL: 'git://github.com/digi-embedded/u-boot.git;nobranch=1'. Unable to fetch URL from any source.
ERROR: u-boot-dey-2015.04-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/cpf/workspace/ccimx6sbc/tmp/work/ccimx6sbc-dey-linux-gnueabi/u-boot-dey/2015.04-r0/temp/log.do_fetch.16822
ERROR: Task (/usr/local/dey-2.2/sources/meta-digi/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2015.04.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1755 tasks of which 14 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
/usr/local/dey-2.2/sources/meta-digi/meta-digi-arm/recipes-kernel/linux/linux-dey_4.1.bb:do_fetch
/usr/local/dey-2.2/sources/meta-digi/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2015.04.bb:do_fetch
Summary: There were 6 WARNING messages shown.
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.


Where is the right place to ask question about this kind of issue?

Any idea what is wrong and how to fix the problem ?
Thanks
asked Sep 28, 2017 in Linux by ssinfod New to the Community (6 points)

Please log in or register to answer this question.

1 Answer

+2 votes
 
Best answer
This is probably a temporary connectivity loss.

Please clean the working folders of those packages and try again building the image:

# bitbake -c cleanall linux-dey
# bitbake -c cleanall u-boot-dey
# bitbake dey-image-tiny
answered Sep 29, 2017 by jviguera Community Contributor (138 points)
selected Sep 29, 2017 by LeonidM
I restarted the build and it was OK.
Indeed, it seems to be related to a connection lost.

Thanks.
Hi, I have the same problem. I tried to clean the working directories of those packages and tried building the image. But it's not solved

ERROR: gstreamer1.0-1.16.2.imx-r0 do_fetch: Fetcher failure for URL: 'gitsm://gitlab.freedesktop.org/gstreamer/common.git;protocol=https;name=common;subpath=common;bareclone=1;nobranch=1'. Unable to fetch URL from any source.
ERROR: gstreamer1.0-1.16.2.imx-r0 do_fetch: Fetcher failure for URL: 'gitsm://source.codeaurora.org/external/imx/gstreamer.git;protocol=https;branch=MM_04.05.07_2011_L5.4.70'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/nhatdn1/workspace/ccimx6ulsbc/tmp/work/cortexa7t2hf-neon-dey-linux-gnueabi/gstreamer1.0/1.16.2.imx-r0/temp/log.do_fetch.23462
ERROR: Task (/usr/local/dey-3.0/sources/meta-digi/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0_1.16.2.imx.bb:do_fetch) failed with exit code '1
...