DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['TOPDIR/sources/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-devtools/bcc/bcc_0.35.0.bb:do_populate_sysroot', 'TOPDIR/sources/meta-openembedded/meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb:do_populate_sysroot', 'TOPDIR/sources/meta-openembedded/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb:do_populate_sysroot', 'TOPDIR/sources/meta-openembedded/meta-oe/recipes-test/googletest/googletest_1.16.0.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-core/glibc/glibc_2.42.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-core/systemd/systemd_257.8.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/cmake/cmake-native_4.1.0.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/elfutils/elfutils_0.193.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_15.2.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-kernel/systemtap/systemtap_5.3.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-support/bash-completion/bash-completion_2.16.0.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.29.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/bison/bison_3.8.2.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/clang/clang_git.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/ninja/ninja_1.13.1.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-extended/pigz/pigz_2.8.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-support/vim/vim_9.1.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['bcc', 'brotli', 'libbpf', 'libcereal', 'googletest', 'openssl', 'base-files', 'base-passwd', 'expat', 'gettext-minimal-native', 'glib-2.0', 'glibc', 'libxcrypt', 'libxml2', 'ncurses', 'systemd', 'util-linux-libuuid', 'util-linux', 'zlib', 'binutils-cross-riscv64', 'binutils', 'clang-cross-riscv64', 'clang', 'compiler-rt', 'libcxx', 'llvm-tblgen-native', 'cmake-native', 'elfutils', 'file', 'flex', 'gcc-runtime', 'libgcc', 'json-c', 'libedit', 'libtool-native', 'm4-native', 'opkg-utils', 'python3-setuptools', 'python3', 'quilt-native', 'bzip2', 'libarchive', 'libidn2', 'lzlib', 'libpam', 'shadow-sysroot', 'shadow', 'texinfo-dummy-native', 'xz', 'zstd', 'gobject-introspection', 'wayland-protocols', 'wayland', 'libpthread-stubs', 'libxau', 'libxcb', 'libxdmcp', 'libxkbcommon', 'xkeyboard-config', 'xcb-proto', 'xorgproto', 'util-macros', 'kmod', 'linux-libc-headers', 'systemtap', 'acl', 'attr', 'bash-completion', 'boost', 'curl', 'gdbm', 'gmp', 'gnutls', 'libtasn1', 'icu', 'libcap-ng', 'libcap', 'libffi', 'libgcrypt', 'libgpg-error', 'libmicrohttpd', 'libpcre2', 'libseccomp', 'libunistring', 'nettle', 'shared-mime-info', 'sqlite3', 'pahole-native', 'libbpf-native', 'openssl-native', 'expat-native', 'gettext-native', 'glib-2.0-native', 'libxml2-native', 'ncurses-native', 'util-linux-libuuid-native', 'zlib-native', 'binutils-native', 'bison-native', 'clang-native', 'lld-native', 'desktop-file-utils-native', 'elfutils-native', 'flex-native', 'gnu-config-native', 'json-c-native', 'libedit-native', 'make-native', 'ninja-native', 'patch-native', 'perl-native', 'pkgconfig-native', 'pseudo-native', 'python3-flit-core-native', 'python3-installer-native', 'python3-packaging-native', 'python3-native', 'bzip2-native', 'libarchive-native', 'libidn2-native', 'pigz-native', 'shadow-native', 'unzip-native', 'xz-native', 'zstd-native', 'acl-native', 'attr-native', 'curl-native', 'gdbm-native', 'gmp-native', 'gnutls-native', 'libtasn1-native', 'libbsd-native', 'libcap-native', 'libffi-native', 'libgcrypt-native', 'libgpg-error-native', 'libmd-native', 'libmicrohttpd-native', 'libpcre2-native', 'libunistring-native', 'nettle-native', 're2c-native', 'sqlite3-native', 'vim-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
-- The C compiler identification is Clang 21.1.0
-- The CXX compiler identification is Clang 21.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libz.so (found version "1.3.1")
-- Found LibBcc: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libbcc.so
-- Looking for bcc_usdt_foreach
-- Looking for bcc_usdt_foreach - found
-- Found LibBpf: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libbpf.so
-- Performing Test HAVE_LIBBPF_UPROBE_MULTI
-- Performing Test HAVE_LIBBPF_UPROBE_MULTI - Success
-- Found LibElf: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libelf.so
-- Found LibCereal: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/include
-- Found BISON: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot-native/usr/bin/bison (found version "3.8.2")
-- Found FLEX: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot-native/usr/bin/flex (found version "2.6.4")
-- Looking for name_to_handle_at
-- Looking for name_to_handle_at - found
-- Found LibBfd: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libbfd.so
-- Found LibOpcodes: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libopcodes.so
-- Performing Test LIBBFD_DISASM_FOUR_ARGS_SIGNATURE
-- Performing Test LIBBFD_DISASM_FOUR_ARGS_SIGNATURE - Success
-- Performing Test LIBBFD_INIT_DISASM_INFO_FOUR_ARGS_SIGNATURE
-- Performing Test LIBBFD_INIT_DISASM_INFO_FOUR_ARGS_SIGNATURE - Success
-- Please install the libpcap development package (missing: LIBPCAP_LIBRARIES LIBPCAP_INCLUDE_DIRS) 
-- Found PkgConfig: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot-native/usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libsystemd'
--   Found libsystemd, version 257
-- Please install the libblazesym development package (missing: LIBBLAZESYM_LIBRARIES LIBBLAZESYM_INCLUDE_DIRS) 
-- Looking for sys/sdt.h
-- Looking for sys/sdt.h - found
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libffi.so
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Found LibEdit: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/include (found version "2.11")
-- Found zstd: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libzstd.so
-- Found LibXml2: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libxml2.so (found version "2.14.5")
CMake Error at CMakeLists.txt:172 (message):
  Unsupported LLVM version found via
  TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/include:
  21


CMake Error at CMakeLists.txt:173 (message):
  Only versions between 16 and 20 are supported


-- Found LLVM 21.1.0: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/cmake/llvm
CMake Error at CMakeLists.txt:174 (message):
  Specify an LLVM major version using LLVM_REQUESTED_VERSION=<major version>


-- Please install the lldb development package (missing: LLDB_LIBRARIES LLDB_INCLUDE_DIRS) 
-- Using SYSTEM_INCLUDE_PATHS=auto
-- Disabled codegen tests. Requires GNU/GCC and LLVM 18 (found Clang, LLVM 21)
-- Found GTest: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/cmake/GTest/GTestConfig.cmake (found version "1.16.0")
-- Found GMock: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/recipe-sysroot/usr/lib/libgmock.a
-- Found Threads: TRUE
-- Not building with LLVM 18, skipping codegen-validator test
-- Configuring incomplete, errors occurred!
WARNING: TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/temp/run.do_configure.3226066:162 exit 1 from 'cmake -G 'Ninja' -DCMAKE_MAKE_PROGRAM=ninja $oecmake_sitefile TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/sources/bpftrace-0.23.0+git -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DLIB_SUFFIX= -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/toolchain.cmake -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON -DCMAKE_ENABLE_EXPORTS=1 -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_BPF_BCC=ON -DENABLE_MAN=OFF -DBISON_FLAGS='--file-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git=' -DENABLE_SYSTEMD=ON -DBUILD_TESTING=ON -Wno-dev'
WARNING: Backtrace (BB generated script): 
	#1: cmake_do_configure, TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/temp/run.do_configure.3226066, line 162
	#2: do_configure, TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/temp/run.do_configure.3226066, line 141
	#3: main, TMPDIR/work/riscv64imafdc-yoe-linux/bpftrace/0.23.0+git/temp/run.do_configure.3226066, line 180

Error details

Submitted on:
30/08/25 21:43
Error type:
Recipe
Task:
do_configure
Recipe:
bpftrace
Recipe version:
0.23.0+git-r0
Machine:
qemuriscv64
Distro:
yoe
Build system:
x86_64-linux
Target system:
riscv64-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
ab109a0856b7a37b5a9c9cc4d627f29e1476abe0
Build:
#215569
Submitter:
ab@rdk
Similar errors:
4
Open a bug