AnsweredAssumed Answered

Yocto: bitbake error while building kernel

Question asked by Kenny Ditsch on Mar 27, 2015
Latest reply on Apr 7, 2015 by gusarambula

Hey, I tried first to build fsl-image-multimedia-full. It didn't worked cause qemu wasn't able to fetch. Then I used bitbake -c clean and to bitbake just the kernel. I get this error:

 

 

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

Cloning into bare repository '/home/kenny/fsl-community-bsp/build/downloads/git2/github.com.boundarydevices.linux-imx6.git'...

fatal: The remote end hung up unexpectedly

 

ERROR: Function failed: Fetcher failure for URL: 'git://github.com/boundarydevices/linux-imx6.git;branch=boundary-imx_3.10.17_1.0.2_ga'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/kenny/fsl-community-bsp/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-boundary/3.10.17-r0/temp/log.do_fetch.28568

ERROR: Task 4 (/home/kenny/fsl-community-bsp/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-boundary_3.10.17.bb, do_fetch) failed with exit code '1'

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

No currently running tasks (212 of 414)

 

Summary: 1 task failed:

  /home/kenny/fsl-community-bsp/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-boundary_3.10.17.bb, do_fetch

Summary: There was 1 WARNING message shown.

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



My local.conf looks like this:


MACHINE ??= 'nitrogen6x'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"

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_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"

EXTRA_IMAGE_FEATURES += " ssh-server-openssh"
IMAGE_INSTALL_append += " rpm packagegroup-fsl-gstreamer-full packagegroup-fsl-tools-gpu"

IMAGE_INSTALL_append += " i2c-tools"
IMAGE_ROOTFS_EXTRA_SPACE = "1024000"

IMAGE_FEATURES += "tools-sdk dev-pkgs tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"

IMAGE_INSTALL_append += " opencv"
LICENSE_FLAGS_WHITELIST = "commercial"

EXTRA_IMAGE_FEATURES += " package-management"

BB_NUMBER_THREADS = '8'
PARALLEL_MAKE = '-j 8'

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

Outcomes