Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/snappy.spec'], chrootPath='/var/lib/mock/dist-an23-build-231220-62520/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/snappy.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=1676246400 Wrote: /builddir/build/SRPMS/snappy-1.1.9-3.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/snappy.spec'], chrootPath='/var/lib/mock/dist-an23-build-231220-62520/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/snappy.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=1676246400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oL7Weo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf snappy-1.1.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/1.1.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd snappy-1.1.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/snappy-thirdparty.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/snappy-inline.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/snappy-do-not-disable-rtti.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3SjcNY + 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 -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 -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/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 snappy-1.1.9 + 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 -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 -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/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 + /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_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -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 . -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.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 -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/uio.h -- Looking for sys/uio.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for zlibVersion in z -- Looking for zlibVersion in z - not found -- Looking for lzo1x_1_15_compress in lzo2 -- Looking for lzo1x_1_15_compress in lzo2 - not found -- Looking for LZ4_compress_default in lz4 -- Looking for LZ4_compress_default in lz4 - not found -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX - Failed -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX2 -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX2 - Failed -- Performing Test HAVE_CLANG_MAVX -- Performing Test HAVE_CLANG_MAVX - Success -- Performing Test HAVE_CLANG_MBMI2 -- Performing Test HAVE_CLANG_MBMI2 - Success -- Performing Test SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS -- Performing Test SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS - Success -- Performing Test HAVE_BUILTIN_EXPECT -- Performing Test HAVE_BUILTIN_EXPECT - Success -- Performing Test HAVE_BUILTIN_CTZ -- Performing Test HAVE_BUILTIN_CTZ - Success -- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE -- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE - Success -- Performing Test SNAPPY_HAVE_SSSE3 -- Performing Test SNAPPY_HAVE_SSSE3 - Success -- Performing Test SNAPPY_HAVE_BMI2 -- Performing Test SNAPPY_HAVE_BMI2 - Failed -- Looking for mmap -- Looking for mmap - found -- Looking for sysconf -- Looking for sysconf - found -- Configuring done (2.3s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/snappy-1.1.9 + /usr/bin/make -O -j80 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/snappy-1.1.9 -B/builddir/build/BUILD/snappy-1.1.9 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/snappy-1.1.9/CMakeFiles /builddir/build/BUILD/snappy-1.1.9//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/snappy.dir/build.make CMakeFiles/snappy.dir/depend make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' cd /builddir/build/BUILD/snappy-1.1.9 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9/CMakeFiles/snappy.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' /usr/bin/make -f CMakeFiles/snappy.dir/build.make CMakeFiles/snappy.dir/build make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 14%] Building CXX object CMakeFiles/snappy.dir/snappy-sinksource.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_EXPORTS -I/builddir/build/BUILD/snappy-1.1.9 -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -std=c++11 -fPIC -MD -MT CMakeFiles/snappy.dir/snappy-sinksource.cc.o -MF CMakeFiles/snappy.dir/snappy-sinksource.cc.o.d -o CMakeFiles/snappy.dir/snappy-sinksource.cc.o -c /builddir/build/BUILD/snappy-1.1.9/snappy-sinksource.cc make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 7%] Building CXX object CMakeFiles/snappy.dir/snappy-c.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_EXPORTS -I/builddir/build/BUILD/snappy-1.1.9 -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -std=c++11 -fPIC -MD -MT CMakeFiles/snappy.dir/snappy-c.cc.o -MF CMakeFiles/snappy.dir/snappy-c.cc.o.d -o CMakeFiles/snappy.dir/snappy-c.cc.o -c /builddir/build/BUILD/snappy-1.1.9/snappy-c.cc make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 21%] Building CXX object CMakeFiles/snappy.dir/snappy-stubs-internal.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_EXPORTS -I/builddir/build/BUILD/snappy-1.1.9 -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -std=c++11 -fPIC -MD -MT CMakeFiles/snappy.dir/snappy-stubs-internal.cc.o -MF CMakeFiles/snappy.dir/snappy-stubs-internal.cc.o.d -o CMakeFiles/snappy.dir/snappy-stubs-internal.cc.o -c /builddir/build/BUILD/snappy-1.1.9/snappy-stubs-internal.cc make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 28%] Building CXX object CMakeFiles/snappy.dir/snappy.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_EXPORTS -I/builddir/build/BUILD/snappy-1.1.9 -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -std=c++11 -fPIC -MD -MT CMakeFiles/snappy.dir/snappy.cc.o -MF CMakeFiles/snappy.dir/snappy.cc.o.d -o CMakeFiles/snappy.dir/snappy.cc.o -c /builddir/build/BUILD/snappy-1.1.9/snappy.cc make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' /builddir/build/BUILD/snappy-1.1.9/snappy.cc:292:76: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes] 292 | static inline std::pair<__m128i /* pattern */, __m128i /* reshuffle_mask */> | ^ /builddir/build/BUILD/snappy-1.1.9/snappy.cc:292:76: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes] make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 35%] Linking CXX shared library libsnappy.so /usr/bin/cmake -E cmake_link_script CMakeFiles/snappy.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -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 -shared -Wl,-soname,libsnappy.so.1 -o libsnappy.so.1.1.9 "CMakeFiles/snappy.dir/snappy-c.cc.o" "CMakeFiles/snappy.dir/snappy-sinksource.cc.o" "CMakeFiles/snappy.dir/snappy-stubs-internal.cc.o" CMakeFiles/snappy.dir/snappy.cc.o /usr/bin/cmake -E cmake_symlink_library libsnappy.so.1.1.9 libsnappy.so.1 libsnappy.so make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[1]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 35%] Built target snappy make[1]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' /usr/bin/make -f CMakeFiles/snappy_test_support.dir/build.make CMakeFiles/snappy_test_support.dir/depend make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' cd /builddir/build/BUILD/snappy-1.1.9 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9/CMakeFiles/snappy_test_support.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' /usr/bin/make -f CMakeFiles/snappy_test_support.dir/build.make CMakeFiles/snappy_test_support.dir/build make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 50%] Building CXX object CMakeFiles/snappy_test_support.dir/snappy_test_data.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_test_support_EXPORTS -I/builddir/build/BUILD/snappy-1.1.9 -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -std=c++11 -fPIC -MD -MT CMakeFiles/snappy_test_support.dir/snappy_test_data.cc.o -MF CMakeFiles/snappy_test_support.dir/snappy_test_data.cc.o.d -o CMakeFiles/snappy_test_support.dir/snappy_test_data.cc.o -c /builddir/build/BUILD/snappy-1.1.9/snappy_test_data.cc make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 42%] Building CXX object CMakeFiles/snappy_test_support.dir/snappy-test.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_test_support_EXPORTS -I/builddir/build/BUILD/snappy-1.1.9 -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -std=c++11 -fPIC -MD -MT CMakeFiles/snappy_test_support.dir/snappy-test.cc.o -MF CMakeFiles/snappy_test_support.dir/snappy-test.cc.o.d -o CMakeFiles/snappy_test_support.dir/snappy-test.cc.o -c /builddir/build/BUILD/snappy-1.1.9/snappy-test.cc make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 57%] Linking CXX shared library libsnappy_test_support.so /usr/bin/cmake -E cmake_link_script CMakeFiles/snappy_test_support.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -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 -shared -Wl,-soname,libsnappy_test_support.so -o libsnappy_test_support.so "CMakeFiles/snappy_test_support.dir/snappy-test.cc.o" CMakeFiles/snappy_test_support.dir/snappy_test_data.cc.o -Wl,-rpath,/builddir/build/BUILD/snappy-1.1.9 libsnappy.so.1.1.9 make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[1]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 57%] Built target snappy_test_support make[1]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' /usr/bin/make -f CMakeFiles/snappy_unittest.dir/build.make CMakeFiles/snappy_unittest.dir/depend /usr/bin/make -f CMakeFiles/snappy_test_tool.dir/build.make CMakeFiles/snappy_test_tool.dir/depend /usr/bin/make -f CMakeFiles/snappy_benchmark.dir/build.make CMakeFiles/snappy_benchmark.dir/depend make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' cd /builddir/build/BUILD/snappy-1.1.9 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9/CMakeFiles/snappy_unittest.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' cd /builddir/build/BUILD/snappy-1.1.9 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9/CMakeFiles/snappy_test_tool.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' cd /builddir/build/BUILD/snappy-1.1.9 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9 /builddir/build/BUILD/snappy-1.1.9/CMakeFiles/snappy_benchmark.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' /usr/bin/make -f CMakeFiles/snappy_unittest.dir/build.make CMakeFiles/snappy_unittest.dir/build /usr/bin/make -f CMakeFiles/snappy_test_tool.dir/build.make CMakeFiles/snappy_test_tool.dir/build /usr/bin/make -f CMakeFiles/snappy_benchmark.dir/build.make CMakeFiles/snappy_benchmark.dir/build make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 71%] Building CXX object CMakeFiles/snappy_test_tool.dir/snappy_test_tool.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -I/builddir/build/BUILD/snappy-1.1.9 -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -std=c++11 -MD -MT CMakeFiles/snappy_test_tool.dir/snappy_test_tool.cc.o -MF CMakeFiles/snappy_test_tool.dir/snappy_test_tool.cc.o.d -o CMakeFiles/snappy_test_tool.dir/snappy_test_tool.cc.o -c /builddir/build/BUILD/snappy-1.1.9/snappy_test_tool.cc make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 64%] Building CXX object CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -I/builddir/build/BUILD/snappy-1.1.9 -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -std=c++11 -MD -MT CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o -MF CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o.d -o CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o -c /builddir/build/BUILD/snappy-1.1.9/snappy_unittest.cc make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:64, from /builddir/build/BUILD/snappy-1.1.9/snappy_unittest.cc:39: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/random:40, from /builddir/build/BUILD/snappy-1.1.9/snappy_unittest.cc:32: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for 'template struct std::less' 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function 'bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)': /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member 'insert' in '((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_', which is of non-class type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' {aka 'int'} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function 'bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const': /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member 'count' in '((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_', which is of non-class type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' {aka 'const int'} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function 'const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const': /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before 'it' 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: 'it' was not declared in this scope; did you mean 'int'? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member 'end' in '((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_', which is of non-class type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' {aka 'const int'} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: 'it' was not declared in this scope; did you mean 'int'? 625 | return it->second; | ^~ | int make[2]: *** [CMakeFiles/snappy_unittest.dir/build.make:79: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:147: CMakeFiles/snappy_unittest.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 78%] Building CXX object CMakeFiles/snappy_benchmark.dir/snappy_benchmark.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -I/builddir/build/BUILD/snappy-1.1.9 -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -std=c++11 -MD -MT CMakeFiles/snappy_benchmark.dir/snappy_benchmark.cc.o -MF CMakeFiles/snappy_benchmark.dir/snappy_benchmark.cc.o.d -o CMakeFiles/snappy_benchmark.dir/snappy_benchmark.cc.o -c /builddir/build/BUILD/snappy-1.1.9/snappy_benchmark.cc make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 85%] Linking CXX executable snappy_test_tool /usr/bin/cmake -E cmake_link_script CMakeFiles/snappy_test_tool.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -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 -rdynamic CMakeFiles/snappy_test_tool.dir/snappy_test_tool.cc.o -o snappy_test_tool -Wl,-rpath,/builddir/build/BUILD/snappy-1.1.9 libsnappy_test_support.so libsnappy.so.1.1.9 make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[1]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 92%] Built target snappy_test_tool make[1]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[2]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 92%] Linking CXX executable snappy_benchmark /usr/bin/cmake -E cmake_link_script CMakeFiles/snappy_benchmark.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -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 -Wextra -fno-exceptions -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 -rdynamic CMakeFiles/snappy_benchmark.dir/snappy_benchmark.cc.o -o snappy_benchmark -Wl,-rpath,/builddir/build/BUILD/snappy-1.1.9 libsnappy_test_support.so -lbenchmark_main -lbenchmark libsnappy.so.1.1.9 make[2]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make[1]: Entering directory '/builddir/build/BUILD/snappy-1.1.9' [ 92%] Built target snappy_benchmark make[1]: Leaving directory '/builddir/build/BUILD/snappy-1.1.9' make: *** [Makefile:149: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.3SjcNY (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.3SjcNY (%build) 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/snappy.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 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/snappy.spec