Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ubs-comm.spec'], chrootPath='/var/lib/mock/dist-an23-build-600682-104371/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ubs-comm.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 setting SOURCE_DATE_EPOCH=1795824000 Wrote: /builddir/build/SRPMS/ubs-comm-1.0.1-10.an23.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/ubs-comm.spec'], chrootPath='/var/lib/mock/dist-an23-build-600682-104371/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ubs-comm.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 setting SOURCE_DATE_EPOCH=1795824000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qmiMQp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ubs-comm-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubs-comm-1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/mkdir -p ubs-comm-1.0.1 + cd ubs-comm-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubs-comm-1.0.1.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.BzDSc0 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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-1.0.1 + cd /builddir/build/BUILD/ubs-comm-1.0.1 + 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-1.0.1 + HCOM_ROOT_DIR=/builddir/build/BUILD/ubs-comm-1.0.1 + readonly HCOM_BUILD_DIR=/builddir/build/BUILD/ubs-comm-1.0.1/tmp_build_dir + HCOM_BUILD_DIR=/builddir/build/BUILD/ubs-comm-1.0.1/tmp_build_dir ++ basename build.sh + readonly 'HCOM_LOG_TAG=[build.sh]' + HCOM_LOG_TAG='[build.sh]' HCOM ROOT: /builddir/build/BUILD/ubs-comm-1.0.1 HCOM BUILD DIR: /builddir/build/BUILD/ubs-comm-1.0.1/tmp_build_dir HCOM INSTALL DIR: /builddir/build/BUILD/ubs-comm-1.0.1/dist/hcom + readonly HCOM_INSTALL_DIR=/builddir/build/BUILD/ubs-comm-1.0.1/dist/hcom + HCOM_INSTALL_DIR=/builddir/build/BUILD/ubs-comm-1.0.1/dist/hcom + echo 'HCOM ROOT: /builddir/build/BUILD/ubs-comm-1.0.1' + echo 'HCOM BUILD DIR: /builddir/build/BUILD/ubs-comm-1.0.1/tmp_build_dir' + echo 'HCOM INSTALL DIR: /builddir/build/BUILD/ubs-comm-1.0.1/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 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 + 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 + 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-1.0.1/tmp_build_dir ]] + rm -rf /builddir/build/BUILD/ubs-comm-1.0.1/tmp_build_dir + [[ -n /builddir/build/BUILD/ubs-comm-1.0.1/dist/hcom ]] + rm -rf /builddir/build/BUILD/ubs-comm-1.0.1/dist/hcom + cmake -S/builddir/build/BUILD/ubs-comm-1.0.1 -B/builddir/build/BUILD/ubs-comm-1.0.1/tmp_build_dir -DBUILD_HCOM=ON -DCMAKE_INSTALL_PREFIX=/builddir/build/BUILD/ubs-comm-1.0.1/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.0 -- The C compiler identification is GNU 12.3.0 -- 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 -- BUILD_HCOM = ON -- BUILD_UBSOCKET = OFF -- CPU_TYPE: arm_64 -- ld.gold is available, using it to link fatal: not a git repository (or any of the parent directories): .git -- Build hcom on commit -- BUILD_WITH_HW_CRC: off -- LIBBOUNDCHECK_INSTALL_DIR: /builddir/build/BUILD/ubs-comm-1.0.1/dist/hcom_3rdparty/libboundscheck -- libboundscheck headers: /usr/include -- libboundscheck shared: /usr/lib64/libboundscheck.so CMake Warning (dev) at src/hcom/3rdparty/urma/CMakeLists.txt:11 (EXEC_PROGRAM): Policy CMP0153 is not set: The exec_program command should not be called. Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Use execute_process() instead. This warning is for project developers. Use -Wno-dev to suppress it. running cd "/builddir/build/BUILD/ubs-comm-1.0.1/build" && mkdir -p /builddir/build/BUILD/ubs-comm-1.0.1/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-1.0.1/dist/hcom_3rdparty/umdk/urma [ 11%] Creating directories for 'umdk-populate' [ 22%] Performing download step (git clone) for 'umdk-populate' Cloning into 'umdk-src'... fatal: unable to access 'https://atomgit.com/openeuler/umdk.git/': Could not resolve host: atomgit.com Cloning into 'umdk-src'... fatal: unable to access 'https://atomgit.com/openeuler/umdk.git/': Could not resolve host: atomgit.com Cloning into 'umdk-src'... fatal: unable to access 'https://atomgit.com/openeuler/umdk.git/': Could not resolve host: atomgit.com Had to git clone more than once: 3 times. CMake Error at umdk-subbuild/umdk-populate-prefix/tmp/umdk-populate-gitclone.cmake:50 (message): Failed to clone repository: 'https://atomgit.com/openeuler/umdk.git' gmake[2]: *** [CMakeFiles/umdk-populate.dir/build.make:102: umdk-populate-prefix/src/umdk-populate-stamp/umdk-populate-download] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/umdk-populate.dir/all] Error 2 gmake: *** [Makefile:91: all] Error 2 CMake Error at /usr/share/cmake/Modules/FetchContent.cmake:1918 (message): Build step for umdk failed: 2 Call Stack (most recent call first): /usr/share/cmake/Modules/FetchContent.cmake:1609 (__FetchContent_populateSubbuild) /usr/share/cmake/Modules/FetchContent.cmake:2145:EVAL:2 (__FetchContent_doPopulation) /usr/share/cmake/Modules/FetchContent.cmake:2145 (cmake_language) /usr/share/cmake/Modules/FetchContent.cmake:2384 (__FetchContent_Populate) src/hcom/3rdparty/urma/CMakeLists.txt:39 (FetchContent_MakeAvailable) -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.BzDSc0 (%build) Bad exit status from /var/tmp/rpm-tmp.BzDSc0 (%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/ubs-comm.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 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ubs-comm.spec'