Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/onnx-runtime.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP2-aarch64-1710763965.244860/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/onnx-runtime.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/onnxruntime-1.11.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/onnx-runtime.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP2-aarch64-1710763965.244860/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/onnx-runtime.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/onnxruntime-1.11.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/onnx-runtime.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP2-aarch64-1710763965.244860/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/onnx-runtime.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GB9F92 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf onnxruntime-1.11.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/onnxruntime-1.11.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd onnxruntime-1.11.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.49xG7k + umask 022 + cd /builddir/build/BUILD + cd onnxruntime-1.11.1 + mkdir -p build + cd build + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. -DONNXRUNTIME_VERSION=1.11.1 -DCMAKE_BUILD_TYPE=Release -Donnxruntime_BUILD_SHARED_LIB=ON -S ../cmake -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Building ONNX Runtime for aarch64 -- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS -- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found Patch: /usr/bin/patch Patch found: /usr/bin/patch -- 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. Use gtest from submodule CMake Error at CMakeLists.txt:667 (add_subdirectory): add_subdirectory given source "/builddir/build/BUILD/onnxruntime-1.11.1/cmake/external/googletest" which is not an existing directory. CMake Error at CMakeLists.txt:669 (set_target_properties): set_target_properties Can not find target to add properties to: gmock CMake Error at CMakeLists.txt:672 (target_compile_options): Cannot specify compile options for target "gmock" which is not built by this project. CMake Error at CMakeLists.txt:673 (target_compile_options): Cannot specify compile options for target "gtest" which is not built by this project. CMake Error at CMakeLists.txt:675 (set_target_properties): set_target_properties Can not find target to add properties to: gmock_main CMake Error at CMakeLists.txt:676 (set_target_properties): set_target_properties Can not find target to add properties to: gtest CMake Error at CMakeLists.txt:677 (set_target_properties): set_target_properties Can not find target to add properties to: gtest_main -- Found Python: /usr/bin/python3.9 (found suitable version "3.9.9", minimum required is "3.6") found components: Interpreter CMake Error at CMakeLists.txt:720 (add_subdirectory): add_subdirectory given source "/builddir/build/BUILD/onnxruntime-1.11.1/cmake/external/nsync" which is not an existing directory. Use protobuf from submodule CMake Error at CMakeLists.txt:760 (add_subdirectory): add_subdirectory given source "/builddir/build/BUILD/onnxruntime-1.11.1/cmake/external/protobuf/cmake" which is not an existing directory. CMake Error at CMakeLists.txt:830 (add_subdirectory): add_subdirectory given source "external/date" which is not an existing directory. CMake Error at CMakeLists.txt:841 (add_subdirectory): add_subdirectory given source "external/mp11" which is not an existing directory. CMake Error at CMakeLists.txt:846 (add_subdirectory): add_subdirectory given source "external/json" which is not an existing directory. CMake Error at CMakeLists.txt:852 (add_subdirectory): add_subdirectory given source "external/re2" which is not an existing directory. CMake Error at CMakeLists.txt:853 (set_target_properties): set_target_properties Can not find target to add properties to: re2 CMake Error at CMakeLists.txt:907 (add_subdirectory): add_subdirectory given source "external/pytorch_cpuinfo" which is not an existing directory. CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2866 (message): No download info given for 'eigen-populate' and its source directory: /builddir/build/BUILD/onnxruntime-1.11.1/build/_deps/eigen-src is not an existing non-empty directory. Please specify one of: * SOURCE_DIR with an existing non-empty directory * DOWNLOAD_COMMAND * URL * GIT_REPOSITORY * SVN_REPOSITORY * HG_REPOSITORY * CVS_REPOSITORY and CVS_MODULE Call Stack (most recent call first): /usr/share/cmake/Modules/ExternalProject.cmake:3700 (_ep_add_download_command) CMakeLists.txt:15 (ExternalProject_Add) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/onnxruntime-1.11.1/build/_deps/eigen-subbuild/CMakeFiles/CMakeOutput.log". -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/onnxruntime-1.11.1/build/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/onnxruntime-1.11.1/build/CMakeFiles/CMakeError.log". CMake Error at /usr/share/cmake/Modules/FetchContent.cmake:1075 (message): CMake step for eigen failed: 1 Call Stack (most recent call first): /usr/share/cmake/Modules/FetchContent.cmake:1216:EVAL:2 (__FetchContent_directPopulate) /usr/share/cmake/Modules/FetchContent.cmake:1216 (cmake_language) external/eigen.cmake:12 (FetchContent_Populate) CMakeLists.txt:928 (include) error: Bad exit status from /var/tmp/rpm-tmp.49xG7k (%build) Bad exit status from /var/tmp/rpm-tmp.49xG7k (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/onnx-runtime.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/onnx-runtime.spec