AnsweredAssumed Answered

build fsl-image-qt5 on imx6ull developerment problem!

Question asked by lille li on Apr 18, 2018
Latest reply on Apr 23, 2018 by lille li

Hi i.MX Community,

 I build yocto image ,below erro!

bitbake core-image-minimal
Loading cache: 100% |############################################| Time: 0:00:02
Loaded 3049 entries from dependency cache.
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-poky-linux-gnueabi"
MACHINE = "imx6ull14x14evk"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.9.11-1.0.0"
TUNE_FEATURES = "arm armv7ve vfp thumb neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:78890ea22750804e3e9113e76f7ca3d7234c8342"
meta-oe
meta-multimedia = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-freescale = "HEAD:a398b50b7fc084a9e68cc3000c218d5028522a25"
meta-freescale-3rdparty = "HEAD:68314612e236cab1da82d72a0da62635a3523f84"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-bsp
meta-sdk = "HEAD:daba3340ecd8b358e0c6c415baeee0fcae95c525"
meta-browser = "HEAD:10f6e3778d823ee1be106c126216c6f941088fbf"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-qt5 = "HEAD:ff073f04109900fc07bf81e2f1df63c626caf342"

Initialising tasks: 100% |#######################################| Time: 0:00:04
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: util-linux-native-2.28.1-r0 do_compile: oe_runmake failed
ERROR: util-linux-native-2.28.1-r0 do_compile: Function failed: do_compile (log file is located at /home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/work/x86_64-linux/util-linux-native/2.28.1-r0/temp/log.do_compile.7660)
ERROR: Logfile of failure stored in: /home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/work/x86_64-linux/util-linux-native/2.28.1-r0/temp/log.do_compile.7660
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 ARCH=x86_64 CPU= CPUOPT= OPT=-isystem/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe
| ERROR: oe_runmake failed
| make all-recursive
| make[1]: Entering directory `/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/work/x86_64-linux/util-linux-native/2.28.1-r0/build'
| Making all in po
| make[2]: Entering directory `/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/work/x86_64-linux/util-linux-native/2.28.1-r0/build/po'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/work/x86_64-linux/util-linux-native/2.28.1-r0/build/po'
| make[2]: Entering directory `/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/work/x86_64-linux/util-linux-native/2.28.1-r0/build'
| gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../util-linux-2.28.1 -include config.h -I../util-linux-2.28.1/include -DLOCALEDIR=\"/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/sysroots/x86_64-linux/usr/share/locale\" -D_PATH_LOCALSTATEDIR=\"/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/sysroots/x86_64-linux/var\" -isystem/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/sysroots/x86_64-linux/usr/include -fsigned-char -fno-common -Wall -Werror=sequence-point -Wextra -Wmissing-declarations -Wmissing-parameter-type -Wmissing-prototypes -Wno-missing-field-initializers -Wredundant-decls -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wimplicit-function-declaration -isystem/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o schedutils/chrt.o ../util-linux-2.28.1/schedutils/chrt.c
| In file included from /usr/include/x86_64-linux-gnu/sys/syscall.h:31:0,
| from ../util-linux-2.28.1/schedutils/chrt.c:63:
| ../util-linux-2.28.1/schedutils/chrt.c: In function ‘sched_setattr’:
| ../util-linux-2.28.1/schedutils/chrt.c:88:17: error: ‘__NR_sched_setattr’ undeclared (first use in this function)
| return syscall(SYS_sched_setattr, pid, attr, flags);
| ^
| ../util-linux-2.28.1/schedutils/chrt.c:88:17: note: each undeclared identifier is reported only once for each function it appears in
| ../util-linux-2.28.1/schedutils/chrt.c: In function ‘sched_getattr’:
| ../util-linux-2.28.1/schedutils/chrt.c:93:17: error: ‘__NR_sched_getattr’ undeclared (first use in this function)
| return syscall(SYS_sched_getattr, pid, attr, size, flags);
| ^
| ../util-linux-2.28.1/schedutils/chrt.c: In function ‘sched_setattr’:
| ../util-linux-2.28.1/schedutils/chrt.c:89:1: warning: control reaches end of non-void function [-Wreturn-type]
| }
| ^
| ../util-linux-2.28.1/schedutils/chrt.c: In function ‘sched_getattr’:
| ../util-linux-2.28.1/schedutils/chrt.c:94:1: warning: control reaches end of non-void function [-Wreturn-type]
| }
| ^
| make[2]: *** [schedutils/chrt.o] Error 1
| make[2]: Leaving directory `/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/work/x86_64-linux/util-linux-native/2.28.1-r0/build'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/work/x86_64-linux/util-linux-native/2.28.1-r0/build'
| make: *** [all] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/fsl/fsl-release-bsp/fsl-release-bsp/build-gateway/tmp/work/x86_64-linux/util-linux-native/2.28.1-r0/temp/log.do_compile.7660)
ERROR: Task (virtual:native:/home/fsl/fsl-release-bsp/fsl-release-bsp/sources/poky/meta/recipes-core/util-linux/util-linux_2.28.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 621 tasks of which 606 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
virtual:native:/home/fsl/fsl-release-bsp/fsl-release-bsp/sources/poky/meta/recipes-core/util-linux/util-linux_2.28.1.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Outcomes