Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/glog.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1792400721.431864/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/glog.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/glog-0.7.1-3.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/glog.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1792400721.431864/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/glog.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/glog-0.7.1-3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/glog.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1792400721.431864/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/glog.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.YAizkm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf glog-0.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/glog-0.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd glog-0.7.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.pwn1s4 + umask 022 + cd /builddir/build/BUILD + cd glog-0.7.1 + mkdir -p aarch64-openEuler-linux-gnu + cd aarch64-openEuler-linux-gnu + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DWITH_GFLAGS=ON -DWITH_GTEST=ON -DWITH_PKGCONFIG=ON -DWITH_SYMBOLIZE=ON -DWITH_TLS=ON -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -- The CXX 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for gflags namespace -- Looking for gflags namespace - gflags -- Found Unwind: /usr/include (found version "1.7.2") -- Looking for _Unwind_Backtrace -- Looking for _Unwind_Backtrace - found -- Looking for _Unwind_GetIP -- Looking for _Unwind_GetIP - found -- Looking for unw_get_reg -- Looking for unw_get_reg - found -- Looking for unw_getcontext -- Looking for unw_getcontext - found -- Looking for unw_init_local -- Looking for unw_init_local - found -- Looking for unw_step -- Looking for unw_step - found -- Looking for C++ include dlfcn.h -- Looking for C++ include dlfcn.h - found -- Looking for C++ include elf.h -- Looking for C++ include elf.h - found -- Looking for C++ include glob.h -- Looking for C++ include glob.h - found -- Looking for C++ include link.h -- Looking for C++ include link.h - found -- Looking for C++ include pwd.h -- Looking for C++ include pwd.h - found -- Looking for C++ include sys/exec_elf.h -- Looking for C++ include sys/exec_elf.h - not found -- Looking for C++ include sys/syscall.h -- Looking for C++ include sys/syscall.h - found -- Looking for C++ include sys/time.h -- Looking for C++ include sys/time.h - found -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include sys/utsname.h -- Looking for C++ include sys/utsname.h - found -- Looking for C++ include sys/wait.h -- Looking for C++ include sys/wait.h - found -- Looking for C++ include syscall.h -- Looking for C++ include syscall.h - found -- Looking for C++ include syslog.h -- Looking for C++ include syslog.h - found -- Looking for C++ include ucontext.h -- Looking for C++ include ucontext.h - found -- Looking for C++ include unistd.h -- Looking for C++ include unistd.h - found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include stddef.h -- Looking for C++ include stddef.h - found -- Check size of mode_t -- Check size of mode_t - done -- Check size of ssize_t -- Check size of ssize_t - done -- Looking for dladdr -- Looking for dladdr - found -- Looking for fcntl -- Looking for fcntl - found -- Looking for posix_fadvise -- Looking for posix_fadvise - found -- Looking for pread -- Looking for pread - found -- Looking for pwrite -- Looking for pwrite - found -- Looking for sigaction -- Looking for sigaction - found -- Looking for sigaltstack -- Looking for sigaltstack - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for backtrace_symbols -- Looking for backtrace_symbols - found -- Looking for _chsize_s -- Looking for _chsize_s - not found -- Looking for UnDecorateSymbolName -- Looking for UnDecorateSymbolName - not found -- Looking for abi::__cxa_demangle -- Looking for abi::__cxa_demangle - found -- Looking for __argv -- Looking for __argv - not found -- Looking for getprogname -- Looking for getprogname - not found -- Looking for program_invocation_short_name -- Looking for program_invocation_short_name - found -- Performing Test HAVE___PROGNAME -- Performing Test HAVE___PROGNAME - Success -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_gregs_REG_PC -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_gregs_REG_PC - Failed -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_gregs_REG_EIP -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_gregs_REG_EIP - Failed -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_gregs_REG_RIP -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_gregs_REG_RIP - Failed -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_sc_ip -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_sc_ip - Failed -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_pc -- Performing Test HAVE_PC_FROM_UCONTEXT_uc_mcontext_pc - Success -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for localtime_r -- Looking for localtime_r - found -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Configuring done (8.2s) -- Generating done (0.0s) -- Build files have been written to: /builddir/build/BUILD/glog-0.7.1/aarch64-openEuler-linux-gnu + make -j4 [ 2%] Copying find modules... [ 4%] Building CXX object CMakeFiles/glog_internal.dir/src/demangle.cc.o [ 9%] Building CXX object CMakeFiles/glog_internal.dir/src/logging.cc.o [ 12%] Building CXX object CMakeFiles/glog_internal.dir/src/raw_logging.cc.o [ 9%] Building CXX object CMakeFiles/glog_internal.dir/src/flags.cc.o [ 14%] Building CXX object CMakeFiles/glog_internal.dir/src/signalhandler.cc.o [ 17%] Building CXX object CMakeFiles/glog_internal.dir/src/stacktrace.cc.o [ 19%] Building CXX object CMakeFiles/glog_internal.dir/src/symbolize.cc.o [ 21%] Building CXX object CMakeFiles/glog_internal.dir/src/utilities.cc.o [ 24%] Building CXX object CMakeFiles/glog_internal.dir/src/vlog_is_on.cc.o [ 24%] Built target glog_internal [ 26%] Generating CMakeFiles/glog.cc [ 29%] Building CXX object CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o [ 31%] Building CXX object CMakeFiles/stl_logging_unittest.dir/src/stl_logging_unittest.cc.o [ 34%] Building CXX object CMakeFiles/symbolize_unittest.dir/src/symbolize_unittest.cc.o [ 36%] Building CXX object CMakeFiles/glog.dir/CMakeFiles/glog.cc.o [ 39%] Linking CXX shared library libglog.so /builddir/build/BUILD/glog-0.7.1/src/logging_unittest.cc:74:12: fatal error: gmock/gmock.h: No such file or directory 74 | # include | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/logging_unittest.dir/build.make:76: CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:921: CMakeFiles/logging_unittest.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 39%] Built target glog [ 41%] Linking CXX executable symbolize_unittest [ 41%] Built target symbolize_unittest [ 43%] Linking CXX executable stl_logging_unittest [ 43%] Built target stl_logging_unittest make: *** [Makefile:166: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.pwn1s4 (%build) Bad exit status from /var/tmp/rpm-tmp.pwn1s4 (%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/glog.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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/glog.spec