Error on compiling toradex-demo angstrom-qt-x11-image

Hi,

I am trying to compile the toradex-demo image angstrom-qt-x11-image but i’m getting the following error:

joao@joao-Inspiron-7520:~/projetos/toradex/poky_imx6ull/build$ bitbake -k angstrom-qt-x11-image
Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:02
Loaded 3407 entries from dependency cache.
WARNING: No recipes available for:
  /home/joao/projetos/toradex/poky_imx6ull/build/../layers/meta-angstrom/recipes-tweaks/ecj/ecj-initial-native.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-angstrom-linux-gnueabi"
MACHINE           = "colibri-imx6ull"
DISTRO            = "angstrom"
DISTRO_VERSION    = "v2016.12"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
TARGET_FPU        = "hard"
meta-angstrom     = "HEAD:24b75bcfbcdc05e6db95e90ba11ca7ee2236934a"
meta-toradex-nxp  = "HEAD:9b6d7fa5ad66e522e9ae1481c0e04fd7e98cd279"
meta-freescale    = "HEAD:05681fdf8298bb441c15135eae424c7601b07e98"
meta-freescale-3rdparty = "HEAD:e55167c3c2770c07a475342f99cc2a3a23fbfa0c"
meta-toradex-tegra = "HEAD:8deaad62384fbe4f4079f62bb7fdfa70ef199236"
meta-toradex-bsp-common = "HEAD:f054506d2d5a0a6009870b9260de50fda66818b6"
meta-snappy       = "HEAD:f6df6a63756d9976bcccb5fefdbc64e5cc794c99"
meta-linaro-toolchain = "HEAD:5d2cb685217794293ea2bab18d7e62019c329d06"
meta-oe           
meta-efl          
meta-gpe          
meta-gnome        
meta-xfce         
meta-initramfs    
meta-systemd      
meta-networking   
meta-multimedia   
meta-python       = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-lxde         = "HEAD:1bd36a4d0f7e1e9fdea9c4c991188bc1dc9da421"
meta-browser      = "HEAD:1569eeb9cc1b87632abbf35fbb05f4ac4eeb3987"
meta-qt4          = "HEAD:f389368dc86e745df14cab9eeb9a94bc02bd273e"
meta-qt5          = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-toradex-demos = "HEAD:fc4e4940435a5f07d49ce99195c67618ef7a00b6"
meta              = "HEAD:1718f0a6c1de9c23660a9bebfd4420e3c4ed37e6"

Initialising tasks: 100% |####################################################################################################################################################################| Time: 0:00:22
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: mtd-utils-native-1.5.2-r0 do_compile: oe_runmake failed
ERROR: mtd-utils-native-1.5.2-r0 do_compile: Function failed: do_compile (log file is located at /home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/work/x86_64-linux/mtd-utils-native/1.5.2-r0/temp/log.do_compile.31249)
ERROR: Logfile of failure stored in: /home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/work/x86_64-linux/mtd-utils-native/1.5.2-r0/temp/log.do_compile.31249
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make CC=gcc  RANLIB=ranlib AR=ar CFLAGS=-isystem/home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -I/home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/work/x86_64-linux/mtd-utils-native/1.5.2-r0/git//include -DWITHOUT_XATTR -m32 BUILDDIR=/home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/work/x86_64-linux/mtd-utils-native/1.5.2-r0/git/
| ERROR: oe_runmake failed
|   CHK     include/version.h
|   LD      mkfs.ubifs/mkfs.ubifs
| /usr/bin/ld: skipping incompatible /home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/libz.so when searching for -lz
| /usr/bin/ld: skipping incompatible /home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/libz.a when searching for -lz
| /usr/bin/ld: skipping incompatible /home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/liblzo2.so when searching for -llzo2
| /usr/bin/ld: skipping incompatible /home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/liblzo2.a when searching for -llzo2
| /usr/bin/ld: skipping incompatible /home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/libuuid.so when searching for -luuid
| /usr/bin/ld: skipping incompatible /home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/libuuid.a when searching for -luuid
| /usr/bin/ld: cannot find -luuid
| collect2: error: ld returned 1 exit status
| make: *** [/home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/work/x86_64-linux/mtd-utils-native/1.5.2-r0/git/mkfs.ubifs/mkfs.ubifs] Error 1
| ERROR: Function failed: do_compile (log file is located at /home/joao/projetos/toradex/poky_imx6ull/build/tmp-glibc/work/x86_64-linux/mtd-utils-native/1.5.2-r0/temp/log.do_compile.31249)
ERROR: Task (virtual:native:/home/joao/projetos/toradex/poky_imx6ull/build/../layers/openembedded-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5960 tasks of which 5957 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  virtual:native:/home/joao/projetos/toradex/poky_imx6ull/build/../layers/openembedded-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

I’m using the repo LinuxImageV2.7
Any ideia? I successfully compile images as core-image-sato and core-image-x11.

Best regards

I have also tried the LinuxImageV2.8 but the same error.

Have you installed all of the prerequisites mentioned here https://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core) ?

Hi,

It was missing some package.

Best regards