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 aarch64 --nodeps /builddir/build/SPECS/ubs-engine.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-245338-83304/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 aarch64 --nodeps /builddir/build/SPECS/ubs-engine.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ubs-engine-1.0.0-61.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubs-engine.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-245338-83304/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 aarch64 --nodeps /builddir/build/SPECS/ubs-engine.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.y8poHp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ubs-engine-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubs-engine-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/mkdir -p ubs-engine-1.0.0 + cd ubs-engine-1.0.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.L1gurS + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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-engine-1.0.0 + cd /builddir/build/BUILD/ubs-engine-1.0.0/ + bash build.sh -T RelWithDebInfo Ninja is installed. Generator set to: Ninja [2026-07-23 20:30]: build.sh -T RelWithDebInfo build.sh: line 324: [[all: command not found /builddir/build/BUILD/ubs-engine-1.0.0/scripts/build/update_version.sh: line 49: git: command not found Commit ID written to /builddir/build/BUILD/ubs-engine-1.0.0/cmake-build-relwithdebinfo/VERSION 2026-07-23 20:30:56 [INFO] ***** start build_cmake ***** 2026-07-23 20:30:56 [INFO] building target all. Not searching for unused variables given on the command line. -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.1 -- 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 -- 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 -- CMake version: 3.26.5 -- Source dir: /builddir/build/BUILD/ubs-engine-1.0.0 -- Build dir: /builddir/build/BUILD/ubs-engine-1.0.0/cmake-build-relwithdebinfo -- Build type: RelWithDebInfo -- Build generator: Ninja -- C compiler for the host machine: /usr/bin/gcc (GNU 12.3.1) -- CXX compiler for the host machine: /usr/bin/g++ (GNU 12.3.1) -- C linker for the host machine: /usr/bin/ld (GNU ld (GNU Binutils) 2.41) -- Host machine system: Linux-5.4.119-19.0009.32 -- Host machine cpu family: aarch64 -- Host machine logical cpu cores: 8 -- Host machine physical cpu cores: 1 -- Host machine total physical memory: 32328 MB -- Host machine available physical memory: 26494 MB -- Build C standard: C11 -- Build C++ standard: C++17 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Warning at scripts/cmake/iwyu.cmake:17 (message): Clang std headers not found at: /include Call Stack (most recent call first): CMakeLists.txt:73 (include) -- Found hcom: /usr/include, /usr/lib64/libhcom.so CMake Error at 3rdparty/cpp-httplib/CMakeLists.txt:14 (message): cpp-httplib not found! Please execute: sudo yum install 'cpp-httplib-devel >= 0.40.0' -- Configuring incomplete, errors occurred! ================================================================= Error occurred in script at line: /builddir/build/BUILD/ubs-engine-1.0.0/build.sh:362 Error occurred in command: cmake --no-warn-unused-cli -S . -B ${build_dir} -G "${generator}" -DCMAKE_BUILD_TYPE=${build_type} -DCMAKE_CXX_STANDARD="${std}" -DCMAKE_TOOLCHAIN_FILE="${toolchain_file}" -DCMAKE_RPM_INSTALL_PREFIX=/usr/local/softbus -DRPM_PACKAGE_VERSION="1.0.0" -DRPM_PACKAGE_RELEASE=1 -DBUILD_TESTS=${enable_test} -DENABLE_COVERAGE=${enable_coverage} -DSOURCE_COMPILING=${enable_source_compiling} -DSKIP_RUN_TESTS=${skip_run_tests} -DASAN_BUILD=${enable_asan} -DENABLE_HTTP_SERVER=${enable_http_server} -DFORCE_COLORED_OUTPUT=${force_colored_output} -DBUILD_IN_CI=${build_in_ci} -DB_VERSION="${deploy_version}" -DENABLE_UB="${enable_ub}" -DENABLE_FUZZ="${enable_fuzz}" Call stack: build_cmake at line 362 main at line 423 ================================================================= Script exited with status 0 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.L1gurS (%build) Bad exit status from /var/tmp/rpm-tmp.L1gurS (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubs-engine.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 aarch64 --nodeps /builddir/build/SPECS/ubs-engine.spec