Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/hcom.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-245256-83277/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/hcom.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ubs-comm-1.0.0-21.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hcom.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-245256-83277/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hcom.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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dkqhCd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ubs-comm + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubs-comm.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/mkdir -p ubs-comm + cd ubs-comm + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubs-comm.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /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.VHdpr1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ubs-comm + cd /builddir/build/BUILD/ubs-comm + export HCOM_BUILD_RPM=off + HCOM_BUILD_RPM=off + export HCOM_BUILD_UB=on + HCOM_BUILD_UB=on + export HCOM_BUILD_HTRACER=on + HCOM_BUILD_HTRACER=on + export HCOM_BUILD_MULTICAST=on + HCOM_BUILD_MULTICAST=on + bash -x build.sh + set -e + set -o pipefail +++ dirname build.sh ++ cd . ++ pwd + readonly HCOM_ROOT_DIR=/builddir/build/BUILD/ubs-comm + HCOM_ROOT_DIR=/builddir/build/BUILD/ubs-comm + readonly HCOM_BUILD_DIR=/builddir/build/BUILD/ubs-comm/tmp_build_dir + HCOM_BUILD_DIR=/builddir/build/BUILD/ubs-comm/tmp_build_dir ++ basename build.sh + readonly 'HCOM_LOG_TAG=[build.sh]' + HCOM_LOG_TAG='[build.sh]' HCOM ROOT: /builddir/build/BUILD/ubs-comm HCOM BUILD DIR: /builddir/build/BUILD/ubs-comm/tmp_build_dir HCOM INSTALL DIR: /builddir/build/BUILD/ubs-comm/dist/hcom + readonly HCOM_INSTALL_DIR=/builddir/build/BUILD/ubs-comm/dist/hcom + HCOM_INSTALL_DIR=/builddir/build/BUILD/ubs-comm/dist/hcom + echo 'HCOM ROOT: /builddir/build/BUILD/ubs-comm' + echo 'HCOM BUILD DIR: /builddir/build/BUILD/ubs-comm/tmp_build_dir' + echo 'HCOM INSTALL DIR: /builddir/build/BUILD/ubs-comm/dist/hcom' + HCOM_COMPONENT_VERSION=1.0.0 + HCOM_BUILD_TYPE= + HCOM_BUILD_TYPE=release + [[ 0 -gt 0 ]] + echo 'HCOM BUILD TYPE: release' + HCOM_BUILD_HW_CRC=off + echo '[build.sh] hcom build hw crc: off' + HCOM_BUILD_UB=on + echo '[build.sh] hcom build ub: on' + HCOM_BUILD_SERVICE=on + echo '[build.sh] hcom build service: on' + HCOM_BUILD_RDMA=on + echo '[build.sh] hcom build rdma: on' + HCOM_BUILD_SOCK=on + echo '[build.sh] hcom build sock: on' + HCOM_BUILD_SHM=on + echo '[build.sh] hcom build shm: on' + HCOM_BUILD_MULTICAST=on + echo '[build.sh] hcom build multicast: on' + HCOM_ENABLE_ARM_KP=off + echo '[build.sh] hcom enable arm kunpeng check: off' + HCOM_BUILD_JAVA_SDK=off HCOM BUILD TYPE: release [build.sh] hcom build hw crc: off [build.sh] hcom build ub: on [build.sh] hcom build service: on [build.sh] hcom build rdma: on [build.sh] hcom build sock: on [build.sh] hcom build shm: on [build.sh] hcom build multicast: on [build.sh] hcom enable arm kunpeng check: off [build.sh] hcom build java sdk: off [build.sh] hcom build tests: off [build.sh] build hcom: ON [build.sh] build rpm: off + echo '[build.sh] hcom build java sdk: off' + HCOM_BUILD_TESTS=off + echo '[build.sh] hcom build tests: off' + BUILD_HCOM=ON + echo '[build.sh] build hcom: ON' + HCOM_BUILD_RPM=off + echo '[build.sh] build rpm: off' + [[ off == \o\n ]] + [[ -n /builddir/build/BUILD/ubs-comm/tmp_build_dir ]] + rm -rf /builddir/build/BUILD/ubs-comm/tmp_build_dir + [[ -n /builddir/build/BUILD/ubs-comm/dist/hcom ]] + rm -rf /builddir/build/BUILD/ubs-comm/dist/hcom + cmake -S/builddir/build/BUILD/ubs-comm -B/builddir/build/BUILD/ubs-comm/tmp_build_dir -DBUILD_HCOM=ON -DCMAKE_INSTALL_PREFIX=/builddir/build/BUILD/ubs-comm/dist/hcom -DCMAKE_BUILD_TYPE=release -DBUILD_TESTS=off -DTEST_TOOL_INSTALL_PATH= -DBUILD_JAVA_SDK=off -DBUILD_WITH_HW_CRC=off -DBUILD_WITH_UB=on -DBUILD_WITH_RDMA=on -DBUILD_WITH_SOCK=on -DBUILD_WITH_SHM=on -DBUILD_WITH_MULTICAST=on -DENABLE_ARM_KP=off -DHCOM_COMPONENT_VERSION=1.0.0 -- The CXX compiler identification is GNU 12.3.1 -- The C compiler identification is GNU 12.3.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- CMAKE_BUILD_TYPE: release -- CPU_TYPE: arm_64 -- ld.gold is available, using it to link -- Build hcom on commit -- BUILD_WITH_HW_CRC: off -- LIBBOUNDCHECK_INSTALL_DIR: /builddir/build/BUILD/ubs-comm/dist/hcom_3rdparty/libboundscheck -- libboundscheck headers: /usr/include -- libboundscheck shared: /usr/lib64/libboundscheck.so running cd "/builddir/build/BUILD/ubs-comm/build" && mkdir -p /builddir/build/BUILD/ubs-comm/dist/hcom_3rdparty/umdk/urma/include 2>&1 -- umdk-urma not found in system. Fetching from source... -- URMA_INSTALL_DIR: /builddir/build/BUILD/ubs-comm/dist/hcom_3rdparty/umdk/urma CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2806 (message): error: could not find git for clone of umdk-populate Call Stack (most recent call first): /usr/share/cmake/Modules/ExternalProject.cmake:4208 (_ep_add_download_command) CMakeLists.txt:23 (ExternalProject_Add) -- Configuring incomplete, errors occurred! CMake Error at /usr/share/cmake/Modules/FetchContent.cmake:1610 (message): CMake step for umdk failed: 1 Call Stack (most recent call first): /usr/share/cmake/Modules/FetchContent.cmake:1762:EVAL:2 (__FetchContent_directPopulate) /usr/share/cmake/Modules/FetchContent.cmake:1762 (cmake_language) /usr/share/cmake/Modules/FetchContent.cmake:1976 (FetchContent_Populate) src/hcom/3rdparty/urma/CMakeLists.txt:39 (FetchContent_MakeAvailable) -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.VHdpr1 (%build) Bad exit status from /var/tmp/rpm-tmp.VHdpr1 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hcom.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/hcom.spec