D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/snappy-1.2.2-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zwwWIz sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ke4qKL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build + rm -rf snappy-1.2.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/snappy-1.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd snappy-1.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/snappy-thirdparty.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/snappy-1.1.9-rtti.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pR66Fo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd snappy-1.2.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -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 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DSNAPPY_ENABLE_RTTI:BOOL=ON -DCMAKE_CXX_STANDARD=14 -- The C compiler identification is GNU 15.2.0 -- The CXX compiler identification is GNU 15.2.0 -- 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 SNAPPY_HAVE_NO_IMPLICIT_INT_FLOAT_CONVERSION -- Performing Test SNAPPY_HAVE_NO_IMPLICIT_INT_FLOAT_CONVERSION - 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_BUILTIN_PREFETCH -- Performing Test HAVE_BUILTIN_PREFETCH - Success -- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE -- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE - Success -- Performing Test SNAPPY_HAVE_SSSE3 -- Performing Test SNAPPY_HAVE_SSSE3 - Failed -- Performing Test SNAPPY_HAVE_X86_CRC32 -- Performing Test SNAPPY_HAVE_X86_CRC32 - Failed -- Performing Test SNAPPY_HAVE_NEON_CRC32 -- Performing Test SNAPPY_HAVE_NEON_CRC32 - Failed -- Performing Test SNAPPY_HAVE_BMI2 -- Performing Test SNAPPY_HAVE_BMI2 - Failed -- Performing Test SNAPPY_HAVE_NEON -- Performing Test SNAPPY_HAVE_NEON - Failed -- Looking for mmap -- Looking for mmap - found -- Looking for sysconf -- Looking for sysconf - found -- Configuring done (4.6s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build + /usr/bin/cmake --build build -j48 --verbose Change Dir: '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j48 /usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 -B/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' /usr/bin/gmake -f CMakeFiles/snappy.dir/build.make CMakeFiles/snappy.dir/depend gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' cd /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build/CMakeFiles/snappy.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' /usr/bin/gmake -f CMakeFiles/snappy.dir/build.make CMakeFiles/snappy.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' [ 8%] Building CXX object CMakeFiles/snappy.dir/snappy-c.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_EXPORTS -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -std=gnu++14 -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 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/snappy-c.cc [ 16%] Building CXX object CMakeFiles/snappy.dir/snappy.cc.o [ 25%] Building CXX object CMakeFiles/snappy.dir/snappy-sinksource.cc.o [ 33%] Building CXX object CMakeFiles/snappy.dir/snappy-stubs-internal.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_EXPORTS -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -std=gnu++14 -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 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/snappy.cc /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_EXPORTS -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -std=gnu++14 -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 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/snappy-sinksource.cc /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_EXPORTS -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -std=gnu++14 -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 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/snappy-stubs-internal.cc [ 41%] 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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -Wl,--dependency-file=CMakeFiles/snappy.dir/link.d -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname,libsnappy.so.1 -o libsnappy.so.1.2.2 "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.2.2 libsnappy.so.1 libsnappy.so gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' [ 41%] Built target snappy /usr/bin/gmake -f CMakeFiles/snappy_test_support.dir/build.make CMakeFiles/snappy_test_support.dir/depend gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' cd /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build/CMakeFiles/snappy_test_support.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' /usr/bin/gmake -f CMakeFiles/snappy_test_support.dir/build.make CMakeFiles/snappy_test_support.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' [ 58%] Building CXX object CMakeFiles/snappy_test_support.dir/snappy-test.cc.o [ 58%] Building CXX object CMakeFiles/snappy_test_support.dir/snappy_test_data.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_test_support_EXPORTS -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -std=gnu++14 -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 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/snappy_test_data.cc /usr/bin/g++ -DHAVE_CONFIG_H -Dsnappy_test_support_EXPORTS -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -std=gnu++14 -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 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/snappy-test.cc [ 66%] 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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -Wl,--dependency-file=CMakeFiles/snappy_test_support.dir/link.d -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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,/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build libsnappy.so.1.2.2 gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' [ 66%] Built target snappy_test_support /usr/bin/gmake -f CMakeFiles/snappy_unittest.dir/build.make CMakeFiles/snappy_unittest.dir/depend /usr/bin/gmake -f CMakeFiles/snappy_test_tool.dir/build.make CMakeFiles/snappy_test_tool.dir/depend gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' cd /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build/CMakeFiles/snappy_unittest.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' cd /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build/CMakeFiles/snappy_test_tool.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' /usr/bin/gmake -f CMakeFiles/snappy_unittest.dir/build.make CMakeFiles/snappy_unittest.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' /usr/bin/gmake -f CMakeFiles/snappy_test_tool.dir/build.make CMakeFiles/snappy_test_tool.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' [ 75%] Building CXX object CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o [ 83%] Building CXX object CMakeFiles/snappy_test_tool.dir/snappy_test_tool.cc.o /usr/bin/g++ -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -std=gnu++14 -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 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/snappy_unittest.cc /usr/bin/g++ -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2 -I/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -std=gnu++14 -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 /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/snappy_test_tool.cc 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:63, from /home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/snappy_unittest.cc:40: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported. 273 | #error C++ versions less than C++17 are not supported. | ^~~~~ [ 91%] 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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -Wno-sign-compare -fno-exceptions -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--dependency-file=CMakeFiles/snappy_test_tool.dir/link.d CMakeFiles/snappy_test_tool.dir/snappy_test_tool.cc.o -o snappy_test_tool -Wl,-rpath,/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build libsnappy_test_support.so libsnappy.so.1.2.2 gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' [ 91%] Built target snappy_test_tool In file included from /usr/include/gtest/gtest.h:67: /usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before '(' token 483 | typename StdFunction = decltype(std::function(std::declval()))> | ^ /usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before '(' token 493 | typename StdFunction = decltype(std::function(std::declval()))> | ^ gmake[2]: *** [CMakeFiles/snappy_unittest.dir/build.make:82: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o] Error 1 gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' gmake[1]: *** [CMakeFiles/Makefile2:164: CMakeFiles/snappy_unittest.dir/all] Error 2 gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snappy-1.2.2-build/snappy-1.2.2/build' gmake: *** [Makefile:149: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pR66Fo (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pR66Fo (%build) I: [iurt_root_command] ERROR: chroot