AnsweredAssumed Answered

bitbake meta-toolchain-qt5 fails for imx-3.10.53_1.1.0_ga

Question asked by Dragan Ostojic on Apr 16, 2015
Latest reply on Apr 16, 2015 by Dragan Ostojic

Hello, I'm trying to build qt5 toolchain for sabresd board but it fails. I was able to build cross-compile toolchain (bitbake meta-toolchain) and rootfs image (bitbake fsl-image-qt5).

It appears that the main reason is:

 

ERROR: Function failed: Fetcher failure for URL: 'git://qt.gitorious.org/qt/qtsystems.git;branch=dev'. Unable to fetch URL from any source.

 

If somebody could comment or recommend a solution that would be great.

 

Below are details:

 

$ cat conf/local.conf

BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"

PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"

MACHINE ??= 'imx6qsabresd'

DISTRO ?= 'poky'

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

    STOPTASKS,${TMPDIR},1G,100K \

    STOPTASKS,${DL_DIR},1G,100K \

    STOPTASKS,${SSTATE_DIR},1G,100K \

    ABORT,${TMPDIR},100M,1K \

    ABORT,${DL_DIR},100M,1K \

    ABORT,${SSTATE_DIR},100M,1K"

PACKAGECONFIG_pn-qemu-native = "sdl"

PACKAGECONFIG_pn-nativesdk-qemu = "sdl"

ASSUME_PROVIDED += "libsdl-native"

CONF_VERSION = "1"

 

BB_NUMBER_THREADS = '4'

PARALLEL_MAKE = '-j 4'

 

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = ""

PREFERRED_PROVIDER_virtual/mesa = ""

 

DISTRO_FEATURES_remove = "x11 wayland directfb "

 

IMAGE_INSTALL_append = " \

qtquickcontrols-qmlplugins \

"

PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility"

PACKAGECONFIG_append_pn-qtbase = " accessibility"

 

$ bitbake meta-toolchain-qt5

Loading cache: 100% |###########################################################################################################| ETA:  00:00:00

Loaded 2185 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies

NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)

NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg

NOTE: multiple providers are available for runtime libgl-mesa-dev (mesa, mesa-gl)

NOTE: consider defining a PREFERRED_PROVIDER entry to match libgl-mesa-dev

NOTE: multiple providers are available for runtime libglapi (mesa, mesa-gl)

NOTE: consider defining a PREFERRED_PROVIDER entry to match libglapi

 

Build Configuration:

BB_VERSION        = "1.22.0"

BUILD_SYS         = "x86_64-linux"

NATIVELSBSTRING   = "Ubuntu-12.04"

TARGET_SYS        = "arm-poky-linux-gnueabi"

MACHINE           = "imx6qsabresd"

DISTRO            = "poky"

DISTRO_VERSION    = "1.6.2"

TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"

TARGET_FPU        = "vfp-neon"

meta         

meta-yocto        = "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"

meta-oe           = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"

meta-fsl-arm      = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"

meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"

meta-fsl-demos    = "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"

meta-fsl-arm 

meta-fsl-demos    = "(nobranch):e6f24ebca19440924b7bf485974710ee0338ea57"

meta-browser      = "(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883"

meta-gnome   

meta-networking

meta-ruby         = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"

meta-qt5          = "(nobranch):c29c317e0f22202bfaa85329a580564bbc179089"

meta-fsl-qt5 

meta-fsl-bluez    = "(nobranch):e6f24ebca19440924b7bf485974710ee0338ea57"

 

NOTE: Preparing runqueue

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

WARNING: Failed to fetch URL git://qt.gitorious.org/qt/qtsystems.git;branch=dev, attempting MIRRORS if available

ERROR: Fetcher failure: Fetch command failed with exit code 128, output:

Cloning into bare repository '/home/dostojic/sabresd_yocto/downloads//git2/qt.gitorious.org.qt.qtsystems.git'...

 

fatal: The remote end hung up unexpectedly

 

ERROR: Function failed: Fetcher failure for URL: 'git://qt.gitorious.org/qt/qtsystems.git;branch=dev'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/dostojic/sabresd_yocto/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtsystems/5.2.1+gitAUTOINC+aa651c73bf-r0/temp/log.do_fetch.21821

ERROR: Task 814 (/home/dostojic/sabresd_yocto/sources/meta-qt5/recipes-qt/qt5/qtsystems_git.bb, do_fetch) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1927 tasks of which 1917 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

 

Summary: 1 task failed:

  /home/dostojic/sabresd_yocto/sources/meta-qt5/recipes-qt/qt5/qtsystems_git.bb, do_fetch

Summary: There was 1 WARNING message shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Outcomes