Yocto: bitbake error while building kernel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto: bitbake error while building kernel

5,002 Views
jmiller
Contributor I

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 = ""

Labels (1)
Tags (2)
0 Kudos
Reply
3 Replies

1,350 Views
gusarambula
NXP TechSupport
NXP TechSupport

If you haven’t been able to fetch anything I would recommend making sure that you have internet connection.

Please also edit your local.conf file to mark the EULA as accepted.

ACCEPT_FSL_EULA = "1"

Please let us know if this helped. You already made a clean, perhaps you may want to do a clean all just in case.

$ bitbake -c clean all

0 Kudos
Reply

1,350 Views
jmiller
Contributor I

Error still remains. It seems like it can't fetch from github. When I use bitbake -c clean all, I get "Nothing provides all".

0 Kudos
Reply

1,350 Views
gusarambula
NXP TechSupport
NXP TechSupport

My mistake. The command is:

$ bitbake -c cleanall


Otherwise it's looking for a recipe for "all".

0 Kudos
Reply