Setting up Qt Creator to cross compile for apalis tk1

Hi all,

I tried to set up Qt Creator to cross compile for embedded Linux with following link

http://developer.toradex.com/knowledge-base/how-to-set-up-qt-creator-to-cross-compile-for-embedded-linux#Build_and_Deploy_the_Target_Image_for_Qt.

But I encountered the following errors.

ERROR: qtbase-native-5.7.1+gitAUTOINC+a55f36211e-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-OekIvqp2kY"; export SSH_AGENT_PID="2452"; export SSH_AUTH_SOCK="/run/user/1000/keyring-KN2uYG/ssh"; export PATH="/home/fikret/oe-core/layers/openembedded-core/scripts/native-intercept:/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/bin:/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/layers/openembedded-core/bitbake/bin:/usr/local/cuda-6.5/bin:/home/fikret/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/fikret"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/qtproject/qtbase.git /home/fikret/oe-core/build/downloads/git2/github.com.qtproject.qtbase.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/fikret/oe-core/build/downloads/git2/github.com.qtproject.qtbase.git'...
fatal: unable to connect to github.com:
github.com[0: 192.30.253.113]: errno=Connection timed out
github.com[1: 192.30.253.112]: errno=Connection timed out


ERROR: qtbase-native-5.7.1+gitAUTOINC+a55f36211e-r0 do_fetch: Fetcher failure for URL: 'git://github.com/qtproject/qtbase.git;name=qtbase;branch=5.7;protocol=git'. Unable to fetch URL from any source.
ERROR: qtbase-native-5.7.1+gitAUTOINC+a55f36211e-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/fikret/oe-core/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.7.1+gitAUTOINC+a55f36211e-r0/temp/log.do_fetch.1646
ERROR: Task (/home/fikret/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch) failed with exit code '1'
WARNING: Duplicate inclusion for /home/fikret/oe-core/build/../layers/meta-toradex-bsp-common/conf/tdx_version.conf in /home/fikret/oe-core/build/../layers/meta-toradex-tegra/recipes-kernel/linux/linux-toradex_3.10.40.bb
WARNING: qtbase-5.7.1+gitAUTOINC+a55f36211e-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qtbase.git;name=qtbase;branch=5.7;protocol=git, attempting MIRRORS if available
WARNING: qtxmlpatterns-5.7.1+gitAUTOINC+89dbcc4f80-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qtxmlpatterns.git;name=qtxmlpatterns;branch=5.7;protocol=git, attempting MIRRORS if available
WARNING: qtdeclarative-5.7.1+gitAUTOINC+2a992040e2-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qtdeclarative.git;name=qtdeclarative;branch=5.7;protocol=git, attempting MIRRORS if available
ERROR: qtxmlpatterns-5.7.1+gitAUTOINC+89dbcc4f80-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-OekIvqp2kY"; export SSH_AGENT_PID="2452"; export SSH_AUTH_SOCK="/run/user/1000/keyring-KN2uYG/ssh"; export PATH="/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/qt5:/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi:/home/fikret/oe-core/build/tmp-glibc/sysroots/apalis-tk1/usr/bin/crossscripts:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/bin:/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/layers/openembedded-core/bitbake/bin:/usr/local/cuda-6.5/bin:/home/fikret/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/fikret"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/qtproject/qtxmlpatterns.git /home/fikret/oe-core/build/downloads/git2/github.com.qtproject.qtxmlpatterns.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/fikret/oe-core/build/downloads/git2/github.com.qtproject.qtxmlpatterns.git'...
fatal: unable to connect to github.com:
github.com[0: 192.30.253.113]: errno=Connection timed out
github.com[1: 192.30.253.112]: errno=Connection timed out


ERROR: qtxmlpatterns-5.7.1+gitAUTOINC+89dbcc4f80-r0 do_fetch: Fetcher failure for URL: 'git://github.com/qtproject/qtxmlpatterns.git;name=qtxmlpatterns;branch=5.7;protocol=git'. Unable to fetch URL from any source.
ERROR: qtxmlpatterns-5.7.1+gitAUTOINC+89dbcc4f80-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/fikret/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtxmlpatterns/5.7.1+gitAUTOINC+89dbcc4f80-r0/temp/log.do_fetch.3243
ERROR: Task (/home/fikret/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_fetch) failed with exit code '1'
ERROR: qtbase-5.7.1+gitAUTOINC+a55f36211e-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-OekIvqp2kY"; export SSH_AGENT_PID="2452"; export SSH_AUTH_SOCK="/run/user/1000/keyring-KN2uYG/ssh"; export PATH="/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/qt5:/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi:/home/fikret/oe-core/build/tmp-glibc/sysroots/apalis-tk1/usr/bin/crossscripts:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/bin:/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/layers/openembedded-core/bitbake/bin:/usr/local/cuda-6.5/bin:/home/fikret/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/fikret"; LANG=C git -c core.fsyncobjectfiles=0 fetch -f --prune --progress git://github.com/qtproject/qtbase.git refs/*:refs/* failed with exit code 128, output:
fatal: unable to connect to github.com:
github.com[0: 192.30.253.112]: errno=Connection timed out
github.com[1: 192.30.253.113]: errno=Connection timed out


ERROR: qtbase-5.7.1+gitAUTOINC+a55f36211e-r0 do_fetch: Fetcher failure for URL: 'git://github.com/qtproject/qtbase.git;name=qtbase;branch=5.7;protocol=git'. Unable to fetch URL from any source.
ERROR: qtbase-5.7.1+gitAUTOINC+a55f36211e-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/fikret/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.7.1+gitAUTOINC+a55f36211e-r0/temp/log.do_fetch.24885
ERROR: Task (/home/fikret/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_fetch) failed with exit code '1'
ERROR: qtdeclarative-5.7.1+gitAUTOINC+2a992040e2-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-OekIvqp2kY"; export SSH_AGENT_PID="2452"; export SSH_AUTH_SOCK="/run/user/1000/keyring-KN2uYG/ssh"; export PATH="/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/qt5:/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi:/home/fikret/oe-core/build/tmp-glibc/sysroots/apalis-tk1/usr/bin/crossscripts:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/bin:/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/layers/openembedded-core/bitbake/bin:/usr/local/cuda-6.5/bin:/home/fikret/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/fikret"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/qtproject/qtdeclarative.git /home/fikret/oe-core/build/downloads/git2/github.com.qtproject.qtdeclarative.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/fikret/oe-core/build/downloads/git2/github.com.qtproject.qtdeclarative.git'...
fatal: unable to connect to github.com:
github.com[0: 192.30.253.113]: errno=Connection timed out
github.com[1: 192.30.253.112]: errno=Connection timed out


ERROR: qtdeclarative-5.7.1+gitAUTOINC+2a992040e2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/qtproject/qtdeclarative.git;name=qtdeclarative;branch=5.7;protocol=git'. Unable to fetch URL from any source.
ERROR: qtdeclarative-5.7.1+gitAUTOINC+2a992040e2-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/fikret/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtdeclarative/5.7.1+gitAUTOINC+2a992040e2-r0/temp/log.do_fetch.19431
ERROR: Task (/home/fikret/oe-core/build/../layers/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch) failed with exit code '1'
WARNING: linux-toradex-3.10.40+gitrf328e55a793497870c533eac0ac21cb735a82e6d-2.7.3 do_fetch: Failed to fetch URL git://git.toradex.com/linux-toradex.git;protocol=git;branch=toradex_tk1_l4t_r21.5, attempting MIRRORS if available
ERROR: linux-toradex-3.10.40+gitrf328e55a793497870c533eac0ac21cb735a82e6d-2.7.3 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-OekIvqp2kY"; export SSH_AGENT_PID="2452"; export SSH_AUTH_SOCK="/run/user/1000/keyring-KN2uYG/ssh"; export PATH="/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi:/home/fikret/oe-core/build/tmp-glibc/sysroots/apalis-tk1/usr/bin/crossscripts:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/sbin:/home/fikret/oe-core/build/tmp-glibc/sysroots/x86_64-linux/bin:/home/fikret/oe-core/layers/openembedded-core/scripts:/home/fikret/oe-core/layers/openembedded-core/bitbake/bin:/usr/local/cuda-6.5/bin:/home/fikret/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/fikret"; LANG=C git -c core.fsyncobjectfiles=0 fetch -f --prune --progress git://git.toradex.com/linux-toradex.git refs/*:refs/* failed with exit code 128, output:
fatal: unable to connect to git.toradex.com:
git.toradex.com[0: 94.23.161.152]: errno=Connection timed out


ERROR: linux-toradex-3.10.40+gitrf328e55a793497870c533eac0ac21cb735a82e6d-2.7.3 do_fetch: Fetcher failure for URL: 'git://git.toradex.com/linux-toradex.git;protocol=git;branch=toradex_tk1_l4t_r21.5'. Unable to fetch URL from any source.
ERROR: linux-toradex-3.10.40+gitrf328e55a793497870c533eac0ac21cb735a82e6d-2.7.3 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/fikret/oe-core/build/tmp-glibc/work/apalis_tk1-angstrom-linux-gnueabi/linux-toradex/3.10.40+gitrf328e55a793497870c533eac0ac21cb735a82e6d-2.7.3/temp/log.do_fetch.12413

ERROR: Task (/home/fikret/oe-core/build/../layers/meta-toradex-tegra/recipes-kernel/linux/linux-toradex_3.10.40.bb:do_fetch) failed with exit code '1'

Thanks for your help

fatal: unable to connect to github.com:
 github.com[0: 192.30.253.113]: errno=Connection timed out

fatal: unable to connect to git.toradex.com:
 git.toradex.com[0: 94.23.161.152]: errno=Connection timed out

I think, you should check the Internet connection of your build system.