[bitbake-devel] bitbake error

Iñigo Vicente Waliño inigovicentewalino at gmail.com
Fri Feb 21 11:23:55 UTC 2020


Hi,

I'm trying to build yocto project ZEUS for imx8m mini.

I have this configuration EXTRA_IMAGE_FEATURES= “ ssh-server-openssh
tools-sdk tools-debug dbg-pkgs dev-pkgs doc-pkgs package-management
tools-profile” in my build/conf/local.con file.

But it reports error when executing *bitbake core-image-base*.
Host environment: Ubuntu 18.04.3 LTS

Can any one explain how to resolve this?

The error log is below.


Thanks, best regards

Iñigo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20200221/33cd53c8/attachment-0001.html>
-------------- next part --------------
bitbake core-image-base
Loading cache: 100% |######################################################################| Time: 0:00:02
Loaded 3447 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-fslc-linux"
MACHINE              = "imx8mmevk"
DISTRO               = "fslc-xwayland"
DISTRO_VERSION       = "3.0"
TUNE_FEATURES        = "aarch64 cortexa53 crc crypto"
TARGET_FPU           = ""
meta                 
meta-poky            = "HEAD:c204cc47d0a319d0435c4a9ba06e241c2e75ff1e"
meta-oe              
meta-multimedia      
meta-python          = "HEAD:bb65c27a772723dfe2c15b5e1b27bcc1a1ed884c"
meta-freescale       = "HEAD:3a3b13bef12c3a46da976fbf3b666310f8b694a7"
meta-freescale-3rdparty = "HEAD:aea3771baa77e74762358ceb673d407e36637e5f"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"

Initialising tasks: 100% |#################################################################| Time: 0:00:06
Sstate summary: Wanted 1034 Found 0 Missed 1034 Current 764 (0% match, 42% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: perf-1.0-r9 do_compile: oe_runmake failed
ERROR: perf-1.0-r9 do_compile: Execution of '/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/temp/run.do_compile.13076' failed with exit code 1:
make: Entering directory '/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/perf-1.0/tools/perf'
  BUILD:   Doing 'make -j1' parallel build
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/disabled-features.h' differs from latest version at 'arch/x86/include/asm/disabled-features.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/required-features.h' differs from latest version at 'arch/x86/include/asm/required-features.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
Warning: Kernel ABI header at 'tools/arch/arm/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/arm/include/uapi/asm/perf_regs.h'
Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/arm64/include/uapi/asm/perf_regs.h'
Warning: Kernel ABI header at 'tools/arch/powerpc/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/powerpc/include/uapi/asm/perf_regs.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/x86/include/uapi/asm/perf_regs.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm_perf.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm_perf.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/svm.h' differs from latest version at 'arch/x86/include/uapi/asm/svm.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' differs from latest version at 'arch/x86/include/uapi/asm/unistd.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/vmx.h' differs from latest version at 'arch/x86/include/uapi/asm/vmx.h'
Warning: Kernel ABI header at 'tools/arch/powerpc/include/uapi/asm/kvm.h' differs from latest version at 'arch/powerpc/include/uapi/asm/kvm.h'
Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/kvm.h' differs from latest version at 'arch/s390/include/uapi/asm/kvm.h'
Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/kvm_perf.h' differs from latest version at 'arch/s390/include/uapi/asm/kvm_perf.h'
Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/sie.h' differs from latest version at 'arch/s390/include/uapi/asm/sie.h'
Warning: Kernel ABI header at 'tools/arch/arm/include/uapi/asm/kvm.h' differs from latest version at 'arch/arm/include/uapi/asm/kvm.h'
Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/kvm.h' differs from latest version at 'arch/arm64/include/uapi/asm/kvm.h'
Warning: Kernel ABI header at 'tools/arch/x86/lib/memcpy_64.S' differs from latest version at 'arch/x86/lib/memcpy_64.S'
Warning: Kernel ABI header at 'tools/arch/x86/lib/memset_64.S' differs from latest version at 'arch/x86/lib/memset_64.S'

Auto-detecting system features:
...                         dwarf: [ on  ]
...            dwarf_getlocations: [ on  ]
...                         glibc: [ on  ]
...                          gtk2: [ OFF ]
...                      libaudit: [ OFF ]
...                        libbfd: [ on  ]
...                        libelf: [ on  ]
...                       libnuma: [ OFF ]
...        numa_num_possible_cpus: [ OFF ]
...                       libperl: [ OFF ]
...                     libpython: [ on  ]
...                      libslang: [ on  ]
...                     libcrypto: [ on  ]
...                     libunwind: [ on  ]
...            libdw-dwarf-unwind: [ on  ]
...                          zlib: [ on  ]
...                          lzma: [ on  ]
...                     get_cpuid: [ OFF ]
...                           bpf: [ on  ]

Makefile.config:391: DWARF support is off, BPF prologue is disabled
Makefile.config:588: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
Makefile.config:626: Python 3 is not yet supported; please set
Makefile.config:627: PYTHON and/or PYTHON_CONFIG appropriately.
Makefile.config:628: If you also have Python 2 installed, then
Makefile.config:629: try something like:
Makefile.config:630: 
Makefile.config:631:   make PYTHON=python2
Makefile.config:632: 
Makefile.config:633: Otherwise, disable Python support entirely:
Makefile.config:634: 
Makefile.config:635:   make NO_LIBPYTHON=1
Makefile.config:636: 
Makefile.config:637: *** .  Stop.
Makefile.perf:203: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:69: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/perf-1.0/tools/perf'
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/temp/log.do_compile.13076
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 -C /home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/perf-1.0/tools/perf O=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/perf-1.0 CROSS_COMPILE=aarch64-fslc-linux- ARCH=arm64 CC=aarch64-fslc-linux-gcc  -mcpu=cortex-a53+crc+crypto -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9=/usr/src/debug/perf/1.0-r9                      -fdebug-prefix-map=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9=/usr/src/debug/perf/1.0-r9                      -fdebug-prefix-map=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/recipe-sysroot=                      -fdebug-prefix-map=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/recipe-sysroot-native=  --sysroot=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/recipe-sysroot AR=aarch64-fslc-linux-gcc-ar LD=aarch64-fslc-linux-ld --sysroot=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/recipe-sysroot  EXTRA_CFLAGS=-ldw EXTRA_LDFLAGS= perfexecdir=/usr/libexec NO_GTK2=1 NO_LIBAUDIT=1 NO_DWARF=1 NO_JVMTI=1 NO_LIBNUMA=1 NO_SDT=1 TMPDIR=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/perf-1.0 LIBUNWIND_DIR=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/recipe-sysroot/usr DESTDIR=/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/image prefix=/usr bindir=/usr/bin sharedir=/usr/share sysconfdir=/etc perfexecdir=/usr/libexec/perf-core ETC_PERFCONFIG=../etc sharedir=share mandir=share/man infodir=share/info PYTHON=python3 PYTHON_CONFIG=python3-config all
| make: Entering directory '/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/perf-1.0/tools/perf'
|   BUILD:   Doing 'make -j1' parallel build
| Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h'
| Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/asm/disabled-features.h' differs from latest version at 'arch/x86/include/asm/disabled-features.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/asm/required-features.h' differs from latest version at 'arch/x86/include/asm/required-features.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
| Warning: Kernel ABI header at 'tools/arch/arm/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/arm/include/uapi/asm/perf_regs.h'
| Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/arm64/include/uapi/asm/perf_regs.h'
| Warning: Kernel ABI header at 'tools/arch/powerpc/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/powerpc/include/uapi/asm/perf_regs.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/x86/include/uapi/asm/perf_regs.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm_perf.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm_perf.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/svm.h' differs from latest version at 'arch/x86/include/uapi/asm/svm.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' differs from latest version at 'arch/x86/include/uapi/asm/unistd.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/vmx.h' differs from latest version at 'arch/x86/include/uapi/asm/vmx.h'
| Warning: Kernel ABI header at 'tools/arch/powerpc/include/uapi/asm/kvm.h' differs from latest version at 'arch/powerpc/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/kvm.h' differs from latest version at 'arch/s390/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/kvm_perf.h' differs from latest version at 'arch/s390/include/uapi/asm/kvm_perf.h'
| Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/sie.h' differs from latest version at 'arch/s390/include/uapi/asm/sie.h'
| Warning: Kernel ABI header at 'tools/arch/arm/include/uapi/asm/kvm.h' differs from latest version at 'arch/arm/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/kvm.h' differs from latest version at 'arch/arm64/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/x86/lib/memcpy_64.S' differs from latest version at 'arch/x86/lib/memcpy_64.S'
| Warning: Kernel ABI header at 'tools/arch/x86/lib/memset_64.S' differs from latest version at 'arch/x86/lib/memset_64.S'
| 
| Auto-detecting system features:
| ...                         dwarf: [ on  ]
| ...            dwarf_getlocations: [ on  ]
| ...                         glibc: [ on  ]
| ...                          gtk2: [ OFF ]
| ...                      libaudit: [ OFF ]
| ...                        libbfd: [ on  ]
| ...                        libelf: [ on  ]
| ...                       libnuma: [ OFF ]
| ...        numa_num_possible_cpus: [ OFF ]
| ...                       libperl: [ OFF ]
| ...                     libpython: [ on  ]
| ...                      libslang: [ on  ]
| ...                     libcrypto: [ on  ]
| ...                     libunwind: [ on  ]
| ...            libdw-dwarf-unwind: [ on  ]
| ...                          zlib: [ on  ]
| ...                          lzma: [ on  ]
| ...                     get_cpuid: [ OFF ]
| ...                           bpf: [ on  ]
| 
| Makefile.config:391: DWARF support is off, BPF prologue is disabled
| Makefile.config:588: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
| Makefile.config:626: Python 3 is not yet supported; please set
| Makefile.config:627: PYTHON and/or PYTHON_CONFIG appropriately.
| Makefile.config:628: If you also have Python 2 installed, then
| Makefile.config:629: try something like:
| Makefile.config:630:
| Makefile.config:631:   make PYTHON=python2
| Makefile.config:632:
| Makefile.config:633: Otherwise, disable Python support entirely:
| Makefile.config:634:
| Makefile.config:635:   make NO_LIBPYTHON=1
| Makefile.config:636:
| Makefile.config:637: *** .  Stop.
| Makefile.perf:203: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| ERROR: oe_runmake failed
| Makefile:69: recipe for target 'all' failed
| make: *** [all] Error 2
| make: Leaving directory '/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/perf-1.0/tools/perf'
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/temp/run.do_compile.13076' failed with exit code 1:
| make: Entering directory '/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/perf-1.0/tools/perf'
|   BUILD:   Doing 'make -j1' parallel build
| Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h'
| Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/asm/disabled-features.h' differs from latest version at 'arch/x86/include/asm/disabled-features.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/asm/required-features.h' differs from latest version at 'arch/x86/include/asm/required-features.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
| Warning: Kernel ABI header at 'tools/arch/arm/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/arm/include/uapi/asm/perf_regs.h'
| Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/arm64/include/uapi/asm/perf_regs.h'
| Warning: Kernel ABI header at 'tools/arch/powerpc/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/powerpc/include/uapi/asm/perf_regs.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/x86/include/uapi/asm/perf_regs.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm_perf.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm_perf.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/svm.h' differs from latest version at 'arch/x86/include/uapi/asm/svm.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' differs from latest version at 'arch/x86/include/uapi/asm/unistd.h'
| Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/vmx.h' differs from latest version at 'arch/x86/include/uapi/asm/vmx.h'
| Warning: Kernel ABI header at 'tools/arch/powerpc/include/uapi/asm/kvm.h' differs from latest version at 'arch/powerpc/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/kvm.h' differs from latest version at 'arch/s390/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/kvm_perf.h' differs from latest version at 'arch/s390/include/uapi/asm/kvm_perf.h'
| Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/sie.h' differs from latest version at 'arch/s390/include/uapi/asm/sie.h'
| Warning: Kernel ABI header at 'tools/arch/arm/include/uapi/asm/kvm.h' differs from latest version at 'arch/arm/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/kvm.h' differs from latest version at 'arch/arm64/include/uapi/asm/kvm.h'
| Warning: Kernel ABI header at 'tools/arch/x86/lib/memcpy_64.S' differs from latest version at 'arch/x86/lib/memcpy_64.S'
| Warning: Kernel ABI header at 'tools/arch/x86/lib/memset_64.S' differs from latest version at 'arch/x86/lib/memset_64.S'
| 
| Auto-detecting system features:
| ...                         dwarf: [ on  ]
| ...            dwarf_getlocations: [ on  ]
| ...                         glibc: [ on  ]
| ...                          gtk2: [ OFF ]
| ...                      libaudit: [ OFF ]
| ...                        libbfd: [ on  ]
| ...                        libelf: [ on  ]
| ...                       libnuma: [ OFF ]
| ...        numa_num_possible_cpus: [ OFF ]
| ...                       libperl: [ OFF ]
| ...                     libpython: [ on  ]
| ...                      libslang: [ on  ]
| ...                     libcrypto: [ on  ]
| ...                     libunwind: [ on  ]
| ...            libdw-dwarf-unwind: [ on  ]
| ...                          zlib: [ on  ]
| ...                          lzma: [ on  ]
| ...                     get_cpuid: [ OFF ]
| ...                           bpf: [ on  ]
| 
| Makefile.config:391: DWARF support is off, BPF prologue is disabled
| Makefile.config:588: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
| Makefile.config:626: Python 3 is not yet supported; please set
| Makefile.config:627: PYTHON and/or PYTHON_CONFIG appropriately.
| Makefile.config:628: If you also have Python 2 installed, then
| Makefile.config:629: try something like:
| Makefile.config:630:
| Makefile.config:631:   make PYTHON=python2
| Makefile.config:632:
| Makefile.config:633: Otherwise, disable Python support entirely:
| Makefile.config:634:
| Makefile.config:635:   make NO_LIBPYTHON=1
| Makefile.config:636:
| Makefile.config:637: *** .  Stop.
| Makefile.perf:203: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:69: recipe for target 'all' failed
| make: *** [all] Error 2
| make: Leaving directory '/home/iv/imx/fsl-community-bsp/build/tmp/work/imx8mmevk-fslc-linux/perf/1.0-r9/perf-1.0/tools/perf'
| WARNING: exit code 1 from a shell command.
| 
ERROR: Task (/home/iv/imx/fsl-community-bsp/sources/poky/meta/recipes-kernel/perf/perf.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3274 tasks of which 3271 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds

Summary: 1 task failed:
  /home/iv/imx/fsl-community-bsp/sources/poky/meta/recipes-kernel/perf/perf.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


More information about the bitbake-devel mailing list