DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/nimisht/iot-yocto/src/poky/../meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf_4.25.8.bb:do_populate_sysroot', '/home/nimisht/iot-yocto/src/poky/meta/recipes-core/glibc/glibc_2.39.bb:do_populate_sysroot', '/home/nimisht/iot-yocto/src/poky/meta/recipes-core/zlib/zlib_1.3.1.bb:do_populate_sysroot', '/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/cmake/cmake-native_3.28.3.bb:do_populate_sysroot', '/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/gcc/gcc-cross_13.4.bb:do_populate_sysroot', '/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/gcc/gcc-runtime_13.4.bb:do_populate_sysroot', '/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/python/python3-numpy_1.26.4.bb:do_populate_sysroot', '/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/python/python3_3.12.11.bb:do_populate_sysroot', '/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/nimisht/iot-yocto/src/poky/../meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf_4.25.8.bb:do_populate_sysroot', 'virtual:native:/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/ninja/ninja_1.11.1.bb:do_populate_sysroot', 'virtual:native:/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/python/python3-numpy_1.26.4.bb:do_populate_sysroot', 'virtual:native:/home/nimisht/iot-yocto/src/poky/meta/recipes-devtools/python/python3_3.12.11.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['abseil-cpp', 'protobuf', 'openssl', 'expat', 'gettext-minimal-native', 'glibc', 'libxcrypt', 'ncurses', 'util-linux-libuuid', 'zlib', 'binutils-cross-aarch64', 'cmake-native', 'gcc-cross-aarch64', 'gcc-runtime', 'libgcc', 'libedit', 'libtool-native', 'm4-native', 'opkg-utils', 'python3-numpy', 'python3', 'quilt-native', 'bzip2', 'libnsl2', 'libtirpc', 'texinfo-dummy-native', 'xz', 'linux-libc-headers', 'gdbm', 'libffi', 'sqlite3', 'abseil-cpp-native', 'protobuf-native', 'openssl-native', 'expat-native', 'ncurses-native', 'util-linux-libuuid-native', 'zlib-native', 'flex-native', 'gnu-config-native', 'libedit-native', 'make-native', 'ninja-native', 'patch-native', 'perl-native', 'pseudo-native', 'python3-build-native', 'python3-cython-native', 'python3-flit-core-native', 'python3-installer-native', 'python3-numpy-native', 'python3-packaging-native', 'python3-pyproject-hooks-native', 'python3-setuptools-native', 'python3-wheel-native', 'python3-native', 'bzip2-native', 'libnsl2-native', 'libtirpc-native', 'unzip-native', 'xz-native', 'zstd-native', 'attr-native', 'gdbm-native', 'gmp-native', 'libffi-native', 'libmpc-native', 'mpfr-native', 're2c-native', 'sqlite3-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
-- The C compiler identification is GNU 13.4.0
-- The CXX compiler identification is GNU 13.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/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: /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/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: /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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.
Building ONNX Runtime for aarch64 CPU ARCH
-- 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: /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/bin/patch
Patch found: /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/bin/patch
Doing crosscompiling
-- Found Python: /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/bin/python3-native/python3 (found suitable version "3.12.11", minimum required is "3.10") found components: Interpreter Development.Module NumPy
Numpy version: 1.26.4
CMake Warning at CMakeLists.txt:684 (message):
The build binary will not be compatible with NumPy 2.0 because the NumPy
installed on this machine is too low.
-- Loading Dependencies URLs ...
-- Loading Dependencies ...
[1/9] Creating directories for 'abseil_cpp-populate'
[1/9] Performing download step (download, verify and extract) for 'abseil_cpp-populate'
-- Downloading...
dst='/home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/build/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/20240722.0.zip'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip'
-- Retrying...
-- Using src='https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip'
CMake Error at abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/abseil_cpp-populate-stamp/download-abseil_cpp-populate.cmake:170 (message):
Each download failed!
error: downloading 'https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip' failed
status_code: 6
status_string: "Couldn't resolve host name"
log:
--- LOG BEGIN ---
timeout on name lookup is not supported
getaddrinfo(3) failed for github.com:443
Could not resolve host: github.com
Closing connection
--- LOG END ---
error: downloading 'https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip' failed
status_code: 6
status_string: "Couldn't resolve host name"
log:
--- LOG BEGIN ---
timeout on name lookup is not supported
getaddrinfo(3) failed for github.com:443
Could not resolve host: github.com
Closing connection
--- LOG END ---
error: downloading 'https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip' failed
status_code: 6
status_string: "Couldn't resolve host name"
log:
--- LOG BEGIN ---
timeout on name lookup is not supported
getaddrinfo(3) failed for github.com:443
Could not resolve host: github.com
Closing connection
--- LOG END ---
error: downloading 'https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip' failed
status_code: 6
status_string: "Couldn't resolve host name"
log:
--- LOG BEGIN ---
timeout on name lookup is not supported
getaddrinfo(3) failed for github.com:443
Could not resolve host: github.com
Closing connection
--- LOG END ---
error: downloading 'https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip' failed
status_code: 6
status_string: "Couldn't resolve host name"
log:
--- LOG BEGIN ---
timeout on name lookup is not supported
getaddrinfo(3) failed for github.com:443
Could not resolve host: github.com
Closing connection
--- LOG END ---
error: downloading 'https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip' failed
status_code: 6
status_string: "Couldn't resolve host name"
log:
--- LOG BEGIN ---
timeout on name lookup is not supported
getaddrinfo(3) failed for github.com:443
Could not resolve host: github.com
Closing connection
--- LOG END ---
FAILED: abseil_cpp-populate-prefix/src/abseil_cpp-populate-stamp/abseil_cpp-populate-download /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/build/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/abseil_cpp-populate-stamp/abseil_cpp-populate-download
cd /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/build/_deps && /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/bin/cmake -P /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/build/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/abseil_cpp-populate-stamp/download-abseil_cpp-populate.cmake && /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/bin/cmake -P /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/build/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/abseil_cpp-populate-stamp/verify-abseil_cpp-populate.cmake && /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/bin/cmake -P /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/build/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/abseil_cpp-populate-stamp/extract-abseil_cpp-populate.cmake && /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/bin/cmake -E touch /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/build/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/abseil_cpp-populate-stamp/abseil_cpp-populate-download
ninja: build stopped: subcommand failed.
CMake Error at /home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FetchContent.cmake:1679 (message):
Build step for abseil_cpp failed: 1
Call Stack (most recent call first):
/home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FetchContent.cmake:1819:EVAL:2 (__FetchContent_directPopulate)
/home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FetchContent.cmake:1819 (cmake_language)
/home/nimisht/iot-yocto/build/tmp/work/armv8a-poky-linux/onnxruntime/1.22.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FetchContent.cmake:2033 (FetchContent_Populate)
external/helper_functions.cmake:22 (FetchContent_MakeAvailable)
external/abseil-cpp.cmake:34 (onnxruntime_fetchcontent_makeavailable)
external/onnxruntime_external_deps.cmake:34 (include)
CMakeLists.txt:698 (include)
-- Configuring incomplete, errors occurred!
WARNING: exit code 1 from a shell command.
Here’s the log, easy to reproduce once I comment out do_configure[network] = “1” in onnxruntime_1.22.0.bb