AnsweredAssumed Answered

Build image error in imx.6ull

Question asked by Peter Ma on Jun 11, 2019
Latest reply on Jun 13, 2019 by jimmychan

There is an error when I ran command 'bitbake fsl-image-qt5-vaildation-imx', here is the details.

OS is ubuntu 18.04.

 

ERROR: lzo-2.10-r0 do_install: oe_runmake failed

ERROR: lzo-2.10-r0 do_install: Function failed: do_install (log file is located at /home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/temp/log.do_install.2367)

ERROR: Logfile of failure stored in: /home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/temp/log.do_install.2367

Log data follows:

| DEBUG: Executing python function extend_recipe_sysroot

| NOTE: Direct dependencies are ['virtual:native:/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_populate_sysroot', '/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot', 'virtual:native:/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-devtools/automake/automake_1.15.1.bb:do_populate_sysroot', '/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', '/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot', '/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_7.3.bb:do_populate_sysroot', 'virtual:native:/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot', '/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb:do_populate_sysroot', '/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.27.bb:do_populate_sysroot']

| NOTE: Installed into sysroot: []

| NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'autoconf-native', 'gcc-cross-arm', 'automake-native', 'quilt-native', 'libtool-native', 'gcc-runtime', 'gnu-config-native', 'libtool-cross', 'glibc', 'm4-native', 'texinfo-dummy-native', 'binutils-cross-arm', 'libmpc-native', 'gmp-native', 'flex-native', 'linux-libc-headers', 'mpfr-native', 'xz-native', 'zlib-native', 'libgcc', 'bison-native', 'gettext-minimal-native']

| DEBUG: Python function extend_recipe_sysroot finished

| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']

| DEBUG: Executing shell function do_install

| NOTE: make -j 2 DESTDIR=/home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/image install

| make[1]: Entering directory '/home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/build'

|  /home/hope/imx-yocto-bsp/build-x11/tmp/hosttools/mkdir -p '/home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/image/usr/lib'

|  /home/hope/imx-yocto-bsp/build-x11/tmp/hosttools/mkdir -p '/home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/image/usr/share/doc/lzo'

|  ./arm-poky-linux-gnueabi-libtool   --mode=install /home/hope/imx-yocto-bsp/build-x11/tmp/hosttools/install -c   src/liblzo2.la '/home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/image/usr/lib'

|  /home/hope/imx-yocto-bsp/build-x11/tmp/hosttools/install -c -m 644 ../lzo-2.10/AUTHORS ../lzo-2.10/COPYING ../lzo-2.10/NEWS ../lzo-2.10/THANKS ../lzo-2.10/doc/LZO.FAQ ../lzo-2.10/doc/LZO.TXT ../lzo-2.10/doc/LZOAPI.TXT '/home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/image/usr/share/doc/lzo'

| Usage: /home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/build/arm-poky-linux-gnueabi-libtool [OPTION]... [MODE-ARG]...

| Try 'arm-poky-linux-gnueabi-libtool --help' for more information.

| arm-poky-linux-gnueabi-libtool:   error: 'src/liblzo2.la' is not a valid libtool archive

| Makefile:623: recipe for target 'install-libLTLIBRARIES' failed

| make[1]: *** [install-libLTLIBRARIES] Error 1

| make[1]: *** Waiting for unfinished jobs....

| make[1]: Leaving directory '/home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/build'

| Makefile:1353: recipe for target 'install-am' failed

| make: *** [install-am] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_install (log file is located at /home/hope/imx-yocto-bsp/build-x11/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/lzo/2.10-r0/temp/log.do_install.2367)

ERROR: Task (/home/hope/imx-yocto-bsp/sources/poky/meta/recipes-support/lzo/lzo_2.10.bb:do_install) failed with exit code '1'

Outcomes