AnsweredAssumed Answered

fail to set up Yocto environment in Ubuntu16.04

Question asked by haibo yang on Dec 26, 2016

Hi Sir

I tried to set up Yocto environment in Ubuntu 16.04 base on Lenovo X250 notebook, but failed. there are errors in following steps, i also uploaded log file log.do_configure.2517.

 

appreciated any comments!

 

HB

 

h@h-ThinkPad-X250:~$ cd fsl-release-bsp/
h@h-ThinkPad-X250:~/fsl-release-bsp$ ~/fsl-release-bsp/fsl-imx-fb-imx6ulevk/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx,linux-imx,imx-test
h@h-ThinkPad-X250:~/fsl-release-bsp$ DISTRO=fsl-imx-fb MACHINE=imx6ulevk source fsl-setup-release.sh -b fsl-imx-fb-imx6ulevk

Build directory is fsl-imx-fb-imx6ulevk

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
http://www.openembedded.org/

You can now run 'bitbake <target>'

Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

Your configuration files at fsl-imx-fb-imx6ulevk have not been touched.
BSPDIR=
BUILD_DIR=.
h@h-ThinkPad-X250:~/fsl-release-bsp/fsl-imx-fb-imx6ulevk$ bitbake fsl-image-machine-test
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2826 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:01
Parsing of 2259 .bb files complete (2242 cached, 17 parsed). 2825 targets, 452 skipped, 5 masked, 0 errors.
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

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ulevk"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "4.1.15-1.2.0"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "HEAD:dd0ba9ea4a11ab15348d4fe3574e4b28784db82f"
meta-oe
meta-multimedia = "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90"
meta-fsl-arm = "HEAD:35b8b9bd9863de208ab60e33b55f10ee43e2619b"
meta-fsl-arm-extra = "HEAD:e200df91b70da254461c59082ddd5db0a3c415a2"
meta-fsl-demos = "HEAD:2231e946e7a94d096394f2b2477e8184c9bbde7b"
meta-bsp
meta-sdk = "HEAD:dfbc90ee74624ce3be636c8bd2a47114fa2b71aa"
meta-browser = "HEAD:b6d46d69a261fe6bd7c1e9811dc2a9bbd0b79aeb"
meta-gnome
meta-networking
meta-python
meta-ruby
meta-filesystems
meta-xfce = "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90"
meta-qt5 = "HEAD:d5536e34ec985c82b621448ab4325e5cbba38560"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /home/h/fsl-release-bsp/fsl-imx-fb-imx6ulevk/tmp/work/x86_64-linux/qemu-native/2.4.0-r1/temp/log.do_configure.2517)
ERROR: Logfile of failure stored in: /home/h/fsl-release-bsp/fsl-imx-fb-imx6ulevk/tmp/work/x86_64-linux/qemu-native/2.4.0-r1/temp/log.do_configure.2517
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
|
| ERROR: User requested feature sdl
| configure was not able to find it.
| Install SDL devel
|
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/h/fsl-release-bsp/fsl-imx-fb-imx6ulevk/tmp/work/x86_64-linux/qemu-native/2.4.0-r1/temp/log.do_configure.2517)
ERROR: Task 3724 (virtual:native:/home/h/fsl-release-bsp/sources/poky/meta/recipes-devtools/qemu/qemu_2.4.0.bb, do_configure) failed with exit code '1'
Waiting for 1 running tasks to finish:
0: linux-imx-4.1.15-r0 do_fetch (pid 2516)

Original Attachment has been moved to: log.do_configure.2517.zip

Outcomes