Hello Guys,
I tried to follow the document attached to build yocto BSP for my maxxboard-osm93, all the step successfully but when bitbake avnet-image-full, it keep get same error (attached log.txt)
dobby@dobby-Server:/mnt/data/imx-yocto-bsp/maaxboard-osm93/build$ bitbake avnet-image-full Loading cache: 100% |###################################################################################################| Time: 0:00:01 Loaded 5460 entries from dependency cache. Parsing recipes: 100% |#################################################################################################| Time: 0:00:01 Parsing of 3549 .bb files complete (3543 cached, 6 parsed). 5466 targets, 372 skipped, 19 masked, 0 errors. NOTE: Resolving any missing task queue dependencies WARNING: preferred version 17.0.6 of llvm-native not available (for item llvm-native) WARNING: versions of llvm-native available: 17.0.3 Build Configuration: BB_VERSION = "2.6.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-poky-linux" MACHINE = "maaxboard-osm93" DISTRO = "fsl-imx-xwayland" DISTRO_VERSION = "6.6-nanbield" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-poky = "HEAD:046b70083f3bc9e25f547e8026400032f5c563d9" meta-oe meta-multimedia meta-python = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d" meta-freescale = "HEAD:0a73d1bdd7713a6189482e463c98043c9939a2a2" meta-freescale-3rdparty = "HEAD:7725256e3859b62f1ff201db7f2cf7026c17656d" meta-freescale-distro = "HEAD:4f1f101ebab5eb054bfbed10b247fc0547b30793" meta-maaxboard = "nanbield:19f048fcb4f63ec4341f98b23b69e3b9159978a9" meta-imx-bsp meta-imx-sdk meta-imx-ml meta-imx-v2x = "HEAD:773c0049c3b35af8f5b5bdf8da78a6236a4fc184" meta-nxp-demo-experience = "HEAD:db34fa86ad5f3c0d9c0a6c68f5f20240c04f2bfb" meta-arm meta-arm-toolchain = "HEAD:4d22f982bce8dff6f8c4d11845c47a4d39f961c6" meta-chromium = "HEAD:dc31889c0899971def535dc1c040edf18bc16691" meta-clang = "HEAD:9b08495e6bcef524789aefb6a7cc80fdfd2ff409" meta-gnome meta-networking meta-filesystems = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d" meta-qt6 = "HEAD:fd054cf5fc1b50d50cd606384ab338c6d9206437" meta-parsec meta-tpm = "HEAD:070a1e82cc59424d230a23c0b2a104b01fbaa2ad" meta-virtualization = "HEAD:9e92984ff47b3ca2106b1d27a93af061b28d1e8a" WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration Initialising tasks: 100% |##############################################################################################| Time: 0:00:06 Sstate summary: Wanted 2477 Local 0 Mirrors 0 Missed 2477 Current 4409 (0% match, 64% complete) NOTE: Executing Tasks ERROR: onnxruntime-1.16.1-r0 do_configure: ExecutionError('/mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/temp/run.do_configure.3819939', 1, None, None) ERROR: Logfile of failure stored in: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/temp/log.do_configure.3819939 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['/mnt/data/imx-yocto-bsp/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb:do_populate_sysroot', '/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.38.bb:do_populate_sysroot', '/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-core/zlib/zlib_1.3.bb:do_populate_sysroot', '/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/cmake/cmake-native_3.27.5.bb:do_populate_sysroot', '/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-cross_13.2.bb:do_populate_sysroot', '/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb:do_populate_sysroot', '/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python3_3.11.5.bb:do_populate_sysroot', '/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-multimedia/libpng/libpng_1.6.40.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python3-build_1.0.3.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python3-installer_0.7.0.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python3-numpy_1.26.0.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python3-packaging_23.1.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python3-pip_23.2.1.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python3-setuptools_68.2.2.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python3-wheel_0.41.2.bb:do_populate_sysroot', 'virtual:native:/mnt/data/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python3_3.11.5.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['python3-pybind11', 'glibc', 'zlib', 'cmake-native', 'gcc-cross-aarch64', 'gcc-runtime', 'python3', 'quilt-native', 'libpng', 'python3-pybind11-native', 'patch-native', 'pseudo-native', 'python3-build-native', 'python3-installer-native', 'python3-numpy-native', 'python3-packaging-native', 'python3-pip-native', 'python3-setuptools-native', 'python3-wheel-native', 'python3-native', 'linux-libc-headers', 'libgcc', 'bzip2-native', 'libtool-native', 'xz-native', 'openssl-native', 'sqlite3-native', 'gdbm-native', 'libtirpc-native', 'libffi-native', 'libnsl2-native', 'libedit-native', 'ncurses-native', 'zlib-native', 'util-linux-libuuid-native', 'expat-native', 'xz', 'libffi', 'libxcrypt', 'gdbm', 'libedit', 'sqlite3', 'libtirpc', 'bzip2', 'opkg-utils', 'ncurses', 'util-linux-libuuid', 'libnsl2', 'openssl', 'expat', 'python3-flit-core-native', 'python3-cython-native', 'attr-native', 'python3-pyproject-hooks-native', 'boost', 'zstd-native', 'gnu-config-native', 'flex-native', 'libmpc-native', 'texinfo-dummy-native', 'gmp-native', 'mpfr-native', 'binutils-cross-aarch64', 'boost-native', 'gettext-minimal-native', 'perl-native', 'cryptodev-linux', 'unzip-native', 'icu', 'm4-native', 'icu-native', 'boost-build-native', 'make-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_configure | -- The C compiler identification is GNU 13.2.0 | -- The CXX compiler identification is GNU 13.2.0 | -- The ASM compiler identification is GNU | -- Found assembler: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc | -- Detecting C compiler ABI info | -- Detecting C compiler ABI info - done | -- Check for working C compiler: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc - 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: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ - skipped | -- Detecting CXX compile features | -- Detecting CXX compile features - done | Building ONNX Runtime for aarch64 | -- Performing Test HAS_NOERROR | -- Performing Test HAS_NOERROR - Success | -- Performing Test COMPILER_SUPPORT_MF16C | -- Performing Test COMPILER_SUPPORT_MF16C - Failed | F16C instruction set is not supported. | -- Performing Test COMPILER_SUPPORT_FMA | -- Performing Test COMPILER_SUPPORT_FMA - Failed | FMA instruction set is not supported. | -- Performing Test COMPILER_SUPPORT_AVX | -- Performing Test COMPILER_SUPPORT_AVX - Failed | AVX instruction set is not supported. | One or more AVX/F16C instruction flags are not supported. | -- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS | -- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS - Success | -- Performing Test CMAKE_HAVE_LIBC_PTHREAD | -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success | -- Found Threads: TRUE | -- Performing Test Iconv_IS_BUILT_IN | -- Performing Test Iconv_IS_BUILT_IN - Success | -- Found Iconv: built in to C library | -- Found Patch: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/bin/patch | Patch found: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/bin/patch | Doing crosscompiling | -- Found Python: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/bin/python3-native/python3 (found suitable version "3.11.5", minimum required is "3.8") found components: Interpreter Development.Module NumPy | Loading Dependencies URLs ... | Loading Dependencies ... | -- Abseil source dir:/mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/abseil_cpp-src | CMAKE_HOST_SYSTEM_NAME: Linux | Use prebuilt protoc | # date: USE_SYSTEM_TZ_DB ON | # date: USE_TZ_DB_IN_DOT OFF | # date: BUILD_SHARED_LIBS OFF | # date: ENABLE_DATE_TESTING OFF | -- | -- 3.21.12.0 | -- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT | -- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Success | -- Found ZLIB: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot/usr/lib/libz.so (found version "1.3") | -- Performing Test protobuf_HAVE_BUILTIN_ATOMICS | -- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success | -- Using the single-header code from /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/nlohmann_json-src/single_include/ | -- Looking for strtof_l | -- Looking for strtof_l - found | -- Looking for strtoull_l | -- Looking for strtoull_l - found | -- Using toolchain file: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/toolchain.cmake. | fatal: not a git repository (or any of the parent directories): .git | -- Found Python: /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/bin/python3-native/python3 (found version "3.11.5") found components: Interpreter | [ 11%] Creating directories for 'eigen-populate' | [ 22%] Performing download step (download, verify and extract) for 'eigen-populate' | -- Downloading... | dst='/mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip' | timeout='none' | inactivity timeout='none' | -- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip' | -- verifying file... | file='/mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip' | -- SHA1 hash of | /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip | does not match expected value | expected: 'ef24286b7ece8737c99fa831b02941843546c081' | actual: '0dfd3849e0776b54c1559344aa53389b79be1eed' | -- Hash mismatch, removing... | -- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip' | -- verifying file... | file='/mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip' | -- SHA1 hash of | /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip | does not match expected value | expected: 'ef24286b7ece8737c99fa831b02941843546c081' | actual: '0dfd3849e0776b54c1559344aa53389b79be1eed' | -- Hash mismatch, removing... | -- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip' | -- verifying file... | file='/mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip' | -- SHA1 hash of | /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip | does not match expected value | expected: 'ef24286b7ece8737c99fa831b02941843546c081' | actual: '0dfd3849e0776b54c1559344aa53389b79be1eed' | -- Hash mismatch, removing... | -- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip' | -- verifying file... | file='/mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip' | -- SHA1 hash of | /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip | does not match expected value | expected: 'ef24286b7ece8737c99fa831b02941843546c081' | actual: '0dfd3849e0776b54c1559344aa53389b79be1eed' | -- Hash mismatch, removing... | -- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip' | -- verifying file... | file='/mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip' | -- SHA1 hash of | /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip | does not match expected value | expected: 'ef24286b7ece8737c99fa831b02941843546c081' | actual: '0dfd3849e0776b54c1559344aa53389b79be1eed' | -- Hash mismatch, removing... | -- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip' | -- verifying file... | file='/mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip' | -- SHA1 hash of | /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip | does not match expected value | expected: 'ef24286b7ece8737c99fa831b02941843546c081' | actual: '0dfd3849e0776b54c1559344aa53389b79be1eed' | -- Hash mismatch, removing... | CMake Error at eigen-subbuild/eigen-populate-prefix/src/eigen-populate-stamp/download-eigen-populate.cmake:170 (message): | Each download failed! | | | | | | make[2]: *** [CMakeFiles/eigen-populate.dir/build.make:100: eigen-populate-prefix/src/eigen-populate-stamp/eigen-populate-download] Error 1 | make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/eigen-populate.dir/all] Error 2 | make: *** [Makefile:91: all] Error 2 | | CMake Error at /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/share/cmake-3.27/Modules/FetchContent.cmake:1662 (message): | Build step for eigen failed: 2 | Call Stack (most recent call first): | /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/share/cmake-3.27/Modules/FetchContent.cmake:1802:EVAL:2 (__FetchContent_directPopulate) | /mnt/data/imx-yocto-bsp/maaxboard-osm93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1/recipe-sysroot-native/usr/share/cmake-3.27/Modules/FetchContent.cmake:1802 (cmake_language) | external/eigen.cmake:21 (FetchContent_Populate) | external/onnxruntime_external_deps.cmake:428 (include) | CMakeLists.txt:550 (include) | | | -- Configuring incomplete, errors occurred! | WARNING: exit code 1 from a shell command. ERROR: Task (/mnt/data/imx-yocto-bsp/sources/meta-imx/meta-imx-ml/recipes-libraries/onnxruntime/onnxruntime_1.16.1.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 9283 tasks of which 9238 didn't need to be rerun and 1 failed. Summary: 1 task failed: /mnt/data/imx-yocto-bsp/sources/meta-imx/meta-imx-ml/recipes-libraries/onnxruntime/onnxruntime_1.16.1.bb:do_configure Summary: There were 2 WARNING messages. Summary: There was 1 ERROR message, returning a non-zero exit code.