Facing build error while building b2qt ( QT 5.9.6 very) for i.mx6 platform

We are trying to compile boot2Qt for Toradex Colibri iMX6 Target
When we follow the steps defined here : https://doc.qt.io/QtForDeviceCreation/qtee-custom-embedded-linux-image.html
Host : Ubuntu 16.04

repo init -u git://code.qt.io/yocto/boot2qt-manifest -m v5.9.6.xml
repo sync
export MACHINE=colibri-imx6
source ./setup-environment.sh
bitbake b2qt-embedded-qt5-image

Got following error:

WARNING: firmware-imx-1_5.4-r0 do_fetch: Failed to fetch URL git://git.freescale.com/imx/imx-firmware.git;branch=master;destsuffix=/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/work/all-poky-linux/firmware-imx/1_5.4-r0/firmware-imx-5.4/git, attempting MIRRORS if available
ERROR: firmware-imx-1_5.4-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS=“unix:abstract=/tmp/dbus-6e0VKSRZme”; export SSH_AUTH_SOCK=“/run/user/1000/keyring/ssh”; export PATH=“/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/nischay/Toradex/Boot2Qt_5.9.6/sources/poky/scripts:/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/sysroots/x86_64-linux/usr/bin/allarch-poky-linux:/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/sysroots/colibri-imx6/usr/bin/crossscripts:/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/sysroots/x86_64-linux/usr/sbin:/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/sysroots/x86_64-linux/usr/bin:/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/sysroots/x86_64-linux/sbin:/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/sysroots/x86_64-linux/bin:/home/nischay/Toradex/Boot2Qt_5.9.6/sources/poky/scripts:/home/nischay/Toradex/Boot2Qt_5.9.6/sources/poky/bitbake/bin:/home/nischay/bin:/home/nischay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin”; export HOME=“/home/nischay”; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.freescale.com/imx/imx-firmware.git /home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/…/downloads/git2/git.freescale.com.imx.imx-firmware.git --progress failed with exit code 128, output:
Cloning into bare repository ‘/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/…/downloads/git2/git.freescale.com.imx.imx-firmware.git’…
fatal: unable to connect to git.freescale.com:
git.freescale.com: No address associated with hostname

ERROR: firmware-imx-1_5.4-r0 do_fetch: Fetcher failure for URL: ‘git://git.freescale.com/imx/imx-firmware.git;branch=master;destsuffix=/home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/work/all-poky-linux/firmware-imx/1_5.4-r0/firmware-imx-5.4/git’. Unable to fetch URL from any source.
ERROR: firmware-imx-1_5.4-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/nischay/Toradex/Boot2Qt_5.9.6/build-colibri-imx6/tmp/work/all-poky-linux/firmware-imx/1_5.4-r0/temp/log.do_fetch.12093
ERROR: Task (/home/nischay/Toradex/Boot2Qt_5.9.6/sources/meta-freescale/recipes-bsp/firmware-imx/firmware-imx_5.4.bb:do_fetch) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 2803 tasks of which 2800 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/home/nischay/Toradex/Boot2Qt_5.9.6/sources/meta-freescale/recipes-bsp/firmware-imx/firmware-imx_5.4.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

Hi @yatish.m

Greetings from Toradex Community.

Please try to manually download the package link and put to the downloads/git2, then “bitbake firmware-imx” again.finally bitbake b2qt-embedded-qt5-image to build full image.

Did you checked our qt article??if not please have a look link

Hi @ashok.tx ,

Thank you for suggestion and workaround, after following the steps that you suggested fixed the issue and build was successful.

Regards,
Yatish

Hi yatish

you are welcome. Thanks for the update.