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 x86_64 --nodeps /builddir/build/SPECS/msgpack.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-26513-1191/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/msgpack.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 Wrote: /builddir/build/SRPMS/msgpack-3.1.0-3.ocs23.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/msgpack.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-26513-1191/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/msgpack.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MkcDyZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf msgpack-3.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/msgpack-3.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd msgpack-3.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fixed-724.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|-std=c++98|-std=gnu++11|g' CMakeLists.txt + mkdir obj + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Z2y1Kr + 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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS ~/build/BUILD/msgpack-3.1.0/obj ~/build/BUILD/msgpack-3.1.0 + 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 -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/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 msgpack-3.1.0 + pushd obj + 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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/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 + /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 -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 .. -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -Dlibdir=/usr/lib64 -DBUILD_SHARED_LIBS=ON -- The C compiler identification is GNU 12.3.0 -- The CXX compiler identification is GNU 12.3.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 -- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.14.0") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found Threads: TRUE -- Performing Test MSGPACK_ENABLE_GCC_CXX_ATOMIC -- Performing Test MSGPACK_ENABLE_GCC_CXX_ATOMIC - Failed -- Found Doxygen: /usr/bin/doxygen (found version "1.9.7") found components: doxygen dot -- Configuring done (0.6s) -- Generating done (0.1s) 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/msgpack-3.1.0/obj + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/msgpack-3.1.0 -B/builddir/build/BUILD/msgpack-3.1.0/obj --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/msgpack-3.1.0/obj/CMakeFiles /builddir/build/BUILD/msgpack-3.1.0/obj//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/msgpackc.dir/build.make CMakeFiles/msgpackc.dir/depend /usr/bin/make -f test/CMakeFiles/multi_file.dir/build.make test/CMakeFiles/multi_file.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/class_intrusive.dir/build.make example/cpp03/CMakeFiles/class_intrusive.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/class_intrusive_map.dir/build.make example/cpp03/CMakeFiles/class_intrusive_map.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/class_non_intrusive.dir/build.make example/cpp03/CMakeFiles/class_non_intrusive.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/custom.dir/build.make example/cpp03/CMakeFiles/custom.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/enum.dir/build.make example/cpp03/CMakeFiles/enum.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/map_based_versionup.dir/build.make example/cpp03/CMakeFiles/map_based_versionup.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/protocol_new.dir/build.make example/cpp03/CMakeFiles/protocol_new.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/reuse_zone.dir/build.make example/cpp03/CMakeFiles/reuse_zone.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/simple.dir/build.make example/cpp03/CMakeFiles/simple.dir/depend /usr/bin/make -f example/cpp03/CMakeFiles/stream.dir/build.make example/cpp03/CMakeFiles/stream.dir/depend make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/CMakeFiles/msgpackc.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f CMakeFiles/msgpackc.dir/build.make CMakeFiles/msgpackc.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/map_based_versionup.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f example/cpp03/CMakeFiles/map_based_versionup.dir/build.make example/cpp03/CMakeFiles/map_based_versionup.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/test /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/test /builddir/build/BUILD/msgpack-3.1.0/obj/test/CMakeFiles/multi_file.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f test/CMakeFiles/multi_file.dir/build.make test/CMakeFiles/multi_file.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/enum.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f example/cpp03/CMakeFiles/enum.dir/build.make example/cpp03/CMakeFiles/enum.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/custom.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f example/cpp03/CMakeFiles/custom.dir/build.make example/cpp03/CMakeFiles/custom.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/class_intrusive_map.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f example/cpp03/CMakeFiles/class_intrusive_map.dir/build.make example/cpp03/CMakeFiles/class_intrusive_map.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/class_non_intrusive.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/class_intrusive.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f example/cpp03/CMakeFiles/class_intrusive.dir/build.make example/cpp03/CMakeFiles/class_intrusive.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/reuse_zone.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/protocol_new.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f example/cpp03/CMakeFiles/class_non_intrusive.dir/build.make example/cpp03/CMakeFiles/class_non_intrusive.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/simple.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f example/cpp03/CMakeFiles/protocol_new.dir/build.make example/cpp03/CMakeFiles/protocol_new.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03/CMakeFiles/stream.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f example/cpp03/CMakeFiles/reuse_zone.dir/build.make example/cpp03/CMakeFiles/reuse_zone.dir/build /usr/bin/make -f example/cpp03/CMakeFiles/simple.dir/build.make example/cpp03/CMakeFiles/simple.dir/build /usr/bin/make -f example/cpp03/CMakeFiles/stream.dir/build.make example/cpp03/CMakeFiles/stream.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 4%] Building C object CMakeFiles/msgpackc.dir/src/version.c.o /usr/bin/gcc -Dmsgpackc_EXPORTS -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -I/builddir/build/BUILD/msgpack-3.1.0 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/version.c.o -MF CMakeFiles/msgpackc.dir/src/version.c.o.d -o CMakeFiles/msgpackc.dir/src/version.c.o -c /builddir/build/BUILD/msgpack-3.1.0/src/version.c make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 8%] Building C object CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o /usr/bin/gcc -Dmsgpackc_EXPORTS -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -I/builddir/build/BUILD/msgpack-3.1.0 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o -MF CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o.d -o CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o -c /builddir/build/BUILD/msgpack-3.1.0/src/vrefbuffer.c make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 17%] Building C object CMakeFiles/msgpackc.dir/src/zone.c.o /usr/bin/gcc -Dmsgpackc_EXPORTS -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -I/builddir/build/BUILD/msgpack-3.1.0 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/zone.c.o -MF CMakeFiles/msgpackc.dir/src/zone.c.o.d -o CMakeFiles/msgpackc.dir/src/zone.c.o -c /builddir/build/BUILD/msgpack-3.1.0/src/zone.c make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 3%] Building C object CMakeFiles/msgpackc.dir/src/objectc.c.o /usr/bin/gcc -Dmsgpackc_EXPORTS -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -I/builddir/build/BUILD/msgpack-3.1.0 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/objectc.c.o -MF CMakeFiles/msgpackc.dir/src/objectc.c.o.d -o CMakeFiles/msgpackc.dir/src/objectc.c.o -c /builddir/build/BUILD/msgpack-3.1.0/src/objectc.c make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 2%] Building C object CMakeFiles/msgpackc.dir/src/unpack.c.o /usr/bin/gcc -Dmsgpackc_EXPORTS -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -I/builddir/build/BUILD/msgpack-3.1.0 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/unpack.c.o -MF CMakeFiles/msgpackc.dir/src/unpack.c.o.d -o CMakeFiles/msgpackc.dir/src/unpack.c.o -c /builddir/build/BUILD/msgpack-3.1.0/src/unpack.c make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 18%] Linking C shared library libmsgpackc.so /usr/bin/cmake -E cmake_link_script CMakeFiles/msgpackc.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libmsgpackc.so.2 -o libmsgpackc.so.2.0.0 CMakeFiles/msgpackc.dir/src/objectc.c.o CMakeFiles/msgpackc.dir/src/unpack.c.o CMakeFiles/msgpackc.dir/src/version.c.o CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o CMakeFiles/msgpackc.dir/src/zone.c.o /usr/bin/cmake -E cmake_symlink_library libmsgpackc.so.2.0.0 libmsgpackc.so.2 libmsgpackc.so make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 18%] Built target msgpackc make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f test/CMakeFiles/array_ref.dir/build.make test/CMakeFiles/array_ref.dir/depend /usr/bin/make -f test/CMakeFiles/buffer.dir/build.make test/CMakeFiles/buffer.dir/depend /usr/bin/make -f test/CMakeFiles/carray.dir/build.make test/CMakeFiles/carray.dir/depend /usr/bin/make -f test/CMakeFiles/cases.dir/build.make test/CMakeFiles/cases.dir/depend make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/test /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/test /builddir/build/BUILD/msgpack-3.1.0/obj/test/CMakeFiles/buffer.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/test /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/test /builddir/build/BUILD/msgpack-3.1.0/obj/test/CMakeFiles/array_ref.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f test/CMakeFiles/array_ref.dir/build.make test/CMakeFiles/array_ref.dir/build /usr/bin/make -f test/CMakeFiles/buffer.dir/build.make test/CMakeFiles/buffer.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/test /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/test /builddir/build/BUILD/msgpack-3.1.0/obj/test/CMakeFiles/carray.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f test/CMakeFiles/carray.dir/build.make test/CMakeFiles/carray.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/test /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/test /builddir/build/BUILD/msgpack-3.1.0/obj/test/CMakeFiles/cases.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f test/CMakeFiles/cases.dir/build.make test/CMakeFiles/cases.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 2%] Building CXX object test/CMakeFiles/multi_file.dir/multi_file1.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/test && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MT test/CMakeFiles/multi_file.dir/multi_file1.cpp.o -MF CMakeFiles/multi_file.dir/multi_file1.cpp.o.d -o CMakeFiles/multi_file.dir/multi_file1.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/test/multi_file1.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f test/CMakeFiles/convert.dir/build.make test/CMakeFiles/convert.dir/depend make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/test /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/test /builddir/build/BUILD/msgpack-3.1.0/obj/test/CMakeFiles/convert.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f test/CMakeFiles/convert.dir/build.make test/CMakeFiles/convert.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 8%] Building CXX object test/CMakeFiles/multi_file.dir/multi_file2.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/test && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MT test/CMakeFiles/multi_file.dir/multi_file2.cpp.o -MF CMakeFiles/multi_file.dir/multi_file2.cpp.o.d -o CMakeFiles/multi_file.dir/multi_file2.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/test/multi_file2.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 24%] Linking CXX executable multi_file cd /builddir/build/BUILD/msgpack-3.1.0/obj/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/multi_file.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/multi_file.dir/multi_file1.cpp.o CMakeFiles/multi_file.dir/multi_file2.cpp.o -o multi_file make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 24%] Built target multi_file make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f test/CMakeFiles/fixint.dir/build.make test/CMakeFiles/fixint.dir/depend make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' cd /builddir/build/BUILD/msgpack-3.1.0/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/msgpack-3.1.0 /builddir/build/BUILD/msgpack-3.1.0/test /builddir/build/BUILD/msgpack-3.1.0/obj /builddir/build/BUILD/msgpack-3.1.0/obj/test /builddir/build/BUILD/msgpack-3.1.0/obj/test/CMakeFiles/fixint.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' /usr/bin/make -f test/CMakeFiles/fixint.dir/build.make test/CMakeFiles/fixint.dir/build make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 6%] Building CXX object example/cpp03/CMakeFiles/enum.dir/enum.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/enum.dir/enum.cpp.o -MF CMakeFiles/enum.dir/enum.cpp.o.d -o CMakeFiles/enum.dir/enum.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/enum.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 13%] Building CXX object example/cpp03/CMakeFiles/simple.dir/simple.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/simple.dir/simple.cpp.o -MF CMakeFiles/simple.dir/simple.cpp.o.d -o CMakeFiles/simple.dir/simple.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/simple.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 22%] Building CXX object test/CMakeFiles/cases.dir/cases.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/test && /usr/bin/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT test/CMakeFiles/cases.dir/cases.cpp.o -MF CMakeFiles/cases.dir/cases.cpp.o.d -o CMakeFiles/cases.dir/cases.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/test/cases.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' 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/msgpack-3.1.0/test/cases.cpp:3: /usr/include/gtest/internal/gtest-port.h:279:2: error: #error C++ versions less than C++14 are not supported. 279 | #error C++ versions less than C++14 are not supported. | ^~~~~ /usr/include/gtest/gtest-assertion-result.h: In member function 'void testing::AssertionResult::AppendMessage(const testing::Message&)': /usr/include/gtest/gtest-assertion-result.h:207:48: error: 'make_unique' is not a member of 'std' 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^~~~~~~~~~~ /usr/include/gtest/gtest-assertion-result.h:207:48: note: 'std::make_unique' is only available from C++14 onwards /usr/include/gtest/gtest-assertion-result.h:207:73: error: expected primary-expression before '>' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ /usr/include/gtest/gtest-assertion-result.h:207:75: error: expected primary-expression before ')' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ In file included from /usr/include/gtest/gtest-printers.h:122, from /usr/include/gtest/gtest-matchers.h:49, 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: At global scope: /usr/include/gtest/internal/gtest-internal.h:622:58: error: wrong number of template arguments (0, should be 1) 622 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:75, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/cpp_config_decl.hpp:98, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/pack_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack.hpp:10, from /builddir/build/BUILD/msgpack-3.1.0/test/cases.cpp:1: /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:622:59: error: template argument 3 is invalid 622 | 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:599: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'} 599 | 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:605: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'} 605 | 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:609:40: error: qualified-id in declaration before 'it' 609 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:610:5: error: 'it' was not declared in this scope; did you mean 'int'? 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:610: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'} 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:611:12: error: 'it' was not declared in this scope; did you mean 'int'? 611 | return it->second; | ^~ | int /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:725:75: error: wrong number of template arguments (0, should be 1) 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:725:76: error: template argument 3 is invalid 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::EqMatcher::EqMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:728:58: error: wrong number of template arguments (0, should be 1) 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:728:59: error: template argument 3 is invalid 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:728:61: error: expected '{' before '(' token 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:734:67: error: wrong number of template arguments (0, should be 1) 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:734:68: error: template argument 3 is invalid 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::NeMatcher::NeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:737:62: error: wrong number of template arguments (0, should be 1) 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:737:63: error: template argument 3 is invalid 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:737:65: error: expected '{' before '(' token 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:742:71: error: wrong number of template arguments (0, should be 1) 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^ /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/gtest-matchers.h:742:72: error: template argument 3 is invalid 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LtMatcher::LtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:745:54: error: wrong number of template arguments (0, should be 1) 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /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/gtest-matchers.h:745:55: error: template argument 3 is invalid 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:745:57: error: expected '{' before '(' token 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:750:74: error: wrong number of template arguments (0, should be 1) 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:750:75: error: template argument 3 is invalid 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GtMatcher::GtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:753:57: error: wrong number of template arguments (0, should be 1) 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:753:58: error: template argument 3 is invalid 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:753:60: error: expected '{' before '(' token 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:759:65: error: wrong number of template arguments (0, should be 1) 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:759:66: error: template argument 3 is invalid 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LeMatcher::LeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:762:60: error: wrong number of template arguments (0, should be 1) 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:762:61: error: template argument 3 is invalid 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:762:63: error: expected '{' before '(' token 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:768:68: error: wrong number of template arguments (0, should be 1) 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:768:69: error: template argument 3 is invalid 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GeMatcher::GeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:771:63: error: wrong number of template arguments (0, should be 1) 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:771:64: error: template argument 3 is invalid 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:771:66: error: expected '{' before '(' token 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:302:30: error: 'std::enable_if_t' has not been declared 302 | template ::value, | ^~~~~~~~~~~ /usr/include/gtest/gtest.h:302:41: error: expected '>' before '<' token 302 | template ::value, | ^ make[2]: *** [test/CMakeFiles/cases.dir/build.make:79: test/CMakeFiles/cases.dir/cases.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1234: test/CMakeFiles/cases.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 21%] Building CXX object test/CMakeFiles/carray.dir/carray.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/test && /usr/bin/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT test/CMakeFiles/carray.dir/carray.cpp.o -MF CMakeFiles/carray.dir/carray.cpp.o.d -o CMakeFiles/carray.dir/carray.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/test/carray.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' 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/msgpack-3.1.0/test/carray.cpp:2: /usr/include/gtest/internal/gtest-port.h:279:2: error: #error C++ versions less than C++14 are not supported. 279 | #error C++ versions less than C++14 are not supported. | ^~~~~ /usr/include/gtest/gtest-assertion-result.h: In member function 'void testing::AssertionResult::AppendMessage(const testing::Message&)': /usr/include/gtest/gtest-assertion-result.h:207:48: error: 'make_unique' is not a member of 'std' 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^~~~~~~~~~~ /usr/include/gtest/gtest-assertion-result.h:207:48: note: 'std::make_unique' is only available from C++14 onwards /usr/include/gtest/gtest-assertion-result.h:207:73: error: expected primary-expression before '>' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ /usr/include/gtest/gtest-assertion-result.h:207:75: error: expected primary-expression before ')' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ In file included from /usr/include/gtest/gtest-printers.h:122, from /usr/include/gtest/gtest-matchers.h:49, 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: At global scope: /usr/include/gtest/internal/gtest-internal.h:622:58: error: wrong number of template arguments (0, should be 1) 622 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:75, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/cpp_config_decl.hpp:98, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/pack_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack.hpp:10, from /builddir/build/BUILD/msgpack-3.1.0/test/carray.cpp:1: /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:622:59: error: template argument 3 is invalid 622 | 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:599: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'} 599 | 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:605: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'} 605 | 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:609:40: error: qualified-id in declaration before 'it' 609 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:610:5: error: 'it' was not declared in this scope; did you mean 'int'? 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:610: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'} 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:611:12: error: 'it' was not declared in this scope; did you mean 'int'? 611 | return it->second; | ^~ | int /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:725:75: error: wrong number of template arguments (0, should be 1) 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:725:76: error: template argument 3 is invalid 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::EqMatcher::EqMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:728:58: error: wrong number of template arguments (0, should be 1) 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:728:59: error: template argument 3 is invalid 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:728:61: error: expected '{' before '(' token 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:734:67: error: wrong number of template arguments (0, should be 1) 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:734:68: error: template argument 3 is invalid 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::NeMatcher::NeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:737:62: error: wrong number of template arguments (0, should be 1) 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:737:63: error: template argument 3 is invalid 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:737:65: error: expected '{' before '(' token 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:742:71: error: wrong number of template arguments (0, should be 1) 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^ /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/gtest-matchers.h:742:72: error: template argument 3 is invalid 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LtMatcher::LtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:745:54: error: wrong number of template arguments (0, should be 1) 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /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/gtest-matchers.h:745:55: error: template argument 3 is invalid 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:745:57: error: expected '{' before '(' token 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:750:74: error: wrong number of template arguments (0, should be 1) 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:750:75: error: template argument 3 is invalid 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GtMatcher::GtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:753:57: error: wrong number of template arguments (0, should be 1) 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:753:58: error: template argument 3 is invalid 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:753:60: error: expected '{' before '(' token 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:759:65: error: wrong number of template arguments (0, should be 1) 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:759:66: error: template argument 3 is invalid 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LeMatcher::LeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:762:60: error: wrong number of template arguments (0, should be 1) 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:762:61: error: template argument 3 is invalid 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:762:63: error: expected '{' before '(' token 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:768:68: error: wrong number of template arguments (0, should be 1) 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:768:69: error: template argument 3 is invalid 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GeMatcher::GeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:771:63: error: wrong number of template arguments (0, should be 1) 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:771:64: error: template argument 3 is invalid 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:771:66: error: expected '{' before '(' token 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:302:30: error: 'std::enable_if_t' has not been declared 302 | template ::value, | ^~~~~~~~~~~ /usr/include/gtest/gtest.h:302:41: error: expected '>' before '<' token 302 | template ::value, | ^ make[2]: *** [test/CMakeFiles/carray.dir/build.make:79: test/CMakeFiles/carray.dir/carray.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1208: test/CMakeFiles/carray.dir/all] Error 2 make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 15%] Building CXX object example/cpp03/CMakeFiles/reuse_zone.dir/reuse_zone.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/reuse_zone.dir/reuse_zone.cpp.o -MF CMakeFiles/reuse_zone.dir/reuse_zone.cpp.o.d -o CMakeFiles/reuse_zone.dir/reuse_zone.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/reuse_zone.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 21%] Building CXX object test/CMakeFiles/buffer.dir/buffer.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/test && /usr/bin/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT test/CMakeFiles/buffer.dir/buffer.cpp.o -MF CMakeFiles/buffer.dir/buffer.cpp.o.d -o CMakeFiles/buffer.dir/buffer.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/test/buffer.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' 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/msgpack-3.1.0/test/buffer.cpp:6: /usr/include/gtest/internal/gtest-port.h:279:2: error: #error C++ versions less than C++14 are not supported. 279 | #error C++ versions less than C++14 are not supported. | ^~~~~ /usr/include/gtest/gtest-assertion-result.h: In member function 'void testing::AssertionResult::AppendMessage(const testing::Message&)': /usr/include/gtest/gtest-assertion-result.h:207:48: error: 'make_unique' is not a member of 'std' 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^~~~~~~~~~~ /usr/include/gtest/gtest-assertion-result.h:207:48: note: 'std::make_unique' is only available from C++14 onwards /usr/include/gtest/gtest-assertion-result.h:207:73: error: expected primary-expression before '>' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ /usr/include/gtest/gtest-assertion-result.h:207:75: error: expected primary-expression before ')' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ In file included from /usr/include/gtest/gtest-printers.h:122, from /usr/include/gtest/gtest-matchers.h:49, 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: At global scope: /usr/include/gtest/internal/gtest-internal.h:622:58: error: wrong number of template arguments (0, should be 1) 622 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:75, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/cpp_config_decl.hpp:98, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/pack_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack.hpp:10, from /builddir/build/BUILD/msgpack-3.1.0/test/buffer.cpp:1: /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:622:59: error: template argument 3 is invalid 622 | 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:599: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'} 599 | 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:605: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'} 605 | 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:609:40: error: qualified-id in declaration before 'it' 609 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:610:5: error: 'it' was not declared in this scope; did you mean 'int'? 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:610: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'} 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:611:12: error: 'it' was not declared in this scope; did you mean 'int'? 611 | return it->second; | ^~ | int /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:725:75: error: wrong number of template arguments (0, should be 1) 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:725:76: error: template argument 3 is invalid 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::EqMatcher::EqMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:728:58: error: wrong number of template arguments (0, should be 1) 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:728:59: error: template argument 3 is invalid 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:728:61: error: expected '{' before '(' token 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:734:67: error: wrong number of template arguments (0, should be 1) 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:734:68: error: template argument 3 is invalid 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::NeMatcher::NeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:737:62: error: wrong number of template arguments (0, should be 1) 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:737:63: error: template argument 3 is invalid 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:737:65: error: expected '{' before '(' token 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:742:71: error: wrong number of template arguments (0, should be 1) 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^ /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/gtest-matchers.h:742:72: error: template argument 3 is invalid 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LtMatcher::LtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:745:54: error: wrong number of template arguments (0, should be 1) 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /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/gtest-matchers.h:745:55: error: template argument 3 is invalid 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:745:57: error: expected '{' before '(' token 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:750:74: error: wrong number of template arguments (0, should be 1) 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:750:75: error: template argument 3 is invalid 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GtMatcher::GtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:753:57: error: wrong number of template arguments (0, should be 1) 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:753:58: error: template argument 3 is invalid 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:753:60: error: expected '{' before '(' token 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:759:65: error: wrong number of template arguments (0, should be 1) 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:759:66: error: template argument 3 is invalid 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LeMatcher::LeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:762:60: error: wrong number of template arguments (0, should be 1) 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:762:61: error: template argument 3 is invalid 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:762:63: error: expected '{' before '(' token 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:768:68: error: wrong number of template arguments (0, should be 1) 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:768:69: error: template argument 3 is invalid 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GeMatcher::GeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:771:63: error: wrong number of template arguments (0, should be 1) 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:771:64: error: template argument 3 is invalid 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:771:66: error: expected '{' before '(' token 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:302:30: error: 'std::enable_if_t' has not been declared 302 | template ::value, | ^~~~~~~~~~~ /usr/include/gtest/gtest.h:302:41: error: expected '>' before '<' token 302 | template ::value, | ^ make[2]: *** [test/CMakeFiles/buffer.dir/build.make:79: test/CMakeFiles/buffer.dir/buffer.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1182: test/CMakeFiles/buffer.dir/all] Error 2 make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 9%] Building CXX object example/cpp03/CMakeFiles/custom.dir/custom.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/custom.dir/custom.cpp.o -MF CMakeFiles/custom.dir/custom.cpp.o.d -o CMakeFiles/custom.dir/custom.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/custom.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 23%] Building CXX object test/CMakeFiles/convert.dir/convert.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/test && /usr/bin/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT test/CMakeFiles/convert.dir/convert.cpp.o -MF CMakeFiles/convert.dir/convert.cpp.o.d -o CMakeFiles/convert.dir/convert.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/test/convert.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' 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/msgpack-3.1.0/test/convert.cpp:2: /usr/include/gtest/internal/gtest-port.h:279:2: error: #error C++ versions less than C++14 are not supported. 279 | #error C++ versions less than C++14 are not supported. | ^~~~~ /usr/include/gtest/gtest-assertion-result.h: In member function 'void testing::AssertionResult::AppendMessage(const testing::Message&)': /usr/include/gtest/gtest-assertion-result.h:207:48: error: 'make_unique' is not a member of 'std' 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^~~~~~~~~~~ /usr/include/gtest/gtest-assertion-result.h:207:48: note: 'std::make_unique' is only available from C++14 onwards /usr/include/gtest/gtest-assertion-result.h:207:73: error: expected primary-expression before '>' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ /usr/include/gtest/gtest-assertion-result.h:207:75: error: expected primary-expression before ')' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ In file included from /usr/include/gtest/gtest-printers.h:122, from /usr/include/gtest/gtest-matchers.h:49, 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: At global scope: /usr/include/gtest/internal/gtest-internal.h:622:58: error: wrong number of template arguments (0, should be 1) 622 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:75, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/cpp_config_decl.hpp:98, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/pack_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack.hpp:10, from /builddir/build/BUILD/msgpack-3.1.0/test/convert.cpp:1: /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:622:59: error: template argument 3 is invalid 622 | 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:599: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'} 599 | 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:605: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'} 605 | 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:609:40: error: qualified-id in declaration before 'it' 609 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:610:5: error: 'it' was not declared in this scope; did you mean 'int'? 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:610: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'} 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:611:12: error: 'it' was not declared in this scope; did you mean 'int'? 611 | return it->second; | ^~ | int /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:725:75: error: wrong number of template arguments (0, should be 1) 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:725:76: error: template argument 3 is invalid 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::EqMatcher::EqMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:728:58: error: wrong number of template arguments (0, should be 1) 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:728:59: error: template argument 3 is invalid 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:728:61: error: expected '{' before '(' token 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:734:67: error: wrong number of template arguments (0, should be 1) 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:734:68: error: template argument 3 is invalid 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::NeMatcher::NeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:737:62: error: wrong number of template arguments (0, should be 1) 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:737:63: error: template argument 3 is invalid 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:737:65: error: expected '{' before '(' token 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:742:71: error: wrong number of template arguments (0, should be 1) 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^ /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/gtest-matchers.h:742:72: error: template argument 3 is invalid 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LtMatcher::LtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:745:54: error: wrong number of template arguments (0, should be 1) 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /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/gtest-matchers.h:745:55: error: template argument 3 is invalid 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:745:57: error: expected '{' before '(' token 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:750:74: error: wrong number of template arguments (0, should be 1) 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:750:75: error: template argument 3 is invalid 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GtMatcher::GtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:753:57: error: wrong number of template arguments (0, should be 1) 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:753:58: error: template argument 3 is invalid 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:753:60: error: expected '{' before '(' token 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:759:65: error: wrong number of template arguments (0, should be 1) 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:759:66: error: template argument 3 is invalid 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LeMatcher::LeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:762:60: error: wrong number of template arguments (0, should be 1) 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:762:61: error: template argument 3 is invalid 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:762:63: error: expected '{' before '(' token 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:768:68: error: wrong number of template arguments (0, should be 1) 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:768:69: error: template argument 3 is invalid 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GeMatcher::GeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:771:63: error: wrong number of template arguments (0, should be 1) 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:771:64: error: template argument 3 is invalid 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:771:66: error: expected '{' before '(' token 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:302:30: error: 'std::enable_if_t' has not been declared 302 | template ::value, | ^~~~~~~~~~~ /usr/include/gtest/gtest.h:302:41: error: expected '>' before '<' token 302 | template ::value, | ^ make[2]: *** [test/CMakeFiles/convert.dir/build.make:79: test/CMakeFiles/convert.dir/convert.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1260: test/CMakeFiles/convert.dir/all] Error 2 make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 12%] Building CXX object example/cpp03/CMakeFiles/class_non_intrusive.dir/class_non_intrusive.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/class_non_intrusive.dir/class_non_intrusive.cpp.o -MF CMakeFiles/class_non_intrusive.dir/class_non_intrusive.cpp.o.d -o CMakeFiles/class_non_intrusive.dir/class_non_intrusive.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/class_non_intrusive.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 19%] Building CXX object test/CMakeFiles/array_ref.dir/array_ref.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/test && /usr/bin/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT test/CMakeFiles/array_ref.dir/array_ref.cpp.o -MF CMakeFiles/array_ref.dir/array_ref.cpp.o.d -o CMakeFiles/array_ref.dir/array_ref.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/test/array_ref.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' 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/msgpack-3.1.0/test/array_ref.cpp:6: /usr/include/gtest/internal/gtest-port.h:279:2: error: #error C++ versions less than C++14 are not supported. 279 | #error C++ versions less than C++14 are not supported. | ^~~~~ /usr/include/gtest/gtest-assertion-result.h: In member function 'void testing::AssertionResult::AppendMessage(const testing::Message&)': /usr/include/gtest/gtest-assertion-result.h:207:48: error: 'make_unique' is not a member of 'std' 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^~~~~~~~~~~ /usr/include/gtest/gtest-assertion-result.h:207:48: note: 'std::make_unique' is only available from C++14 onwards /usr/include/gtest/gtest-assertion-result.h:207:73: error: expected primary-expression before '>' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ /usr/include/gtest/gtest-assertion-result.h:207:75: error: expected primary-expression before ')' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ In file included from /usr/include/gtest/gtest-printers.h:122, from /usr/include/gtest/gtest-matchers.h:49, 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: At global scope: /usr/include/gtest/internal/gtest-internal.h:622:58: error: wrong number of template arguments (0, should be 1) 622 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:75, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/cpp_config_decl.hpp:98, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/pack_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack.hpp:10, from /builddir/build/BUILD/msgpack-3.1.0/test/array_ref.cpp:1: /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:622:59: error: template argument 3 is invalid 622 | 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:599: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'} 599 | 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:605: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'} 605 | 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:609:40: error: qualified-id in declaration before 'it' 609 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:610:5: error: 'it' was not declared in this scope; did you mean 'int'? 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:610: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'} 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:611:12: error: 'it' was not declared in this scope; did you mean 'int'? 611 | return it->second; | ^~ | int /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:725:75: error: wrong number of template arguments (0, should be 1) 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:725:76: error: template argument 3 is invalid 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::EqMatcher::EqMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:728:58: error: wrong number of template arguments (0, should be 1) 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:728:59: error: template argument 3 is invalid 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:728:61: error: expected '{' before '(' token 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:734:67: error: wrong number of template arguments (0, should be 1) 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:734:68: error: template argument 3 is invalid 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::NeMatcher::NeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:737:62: error: wrong number of template arguments (0, should be 1) 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:737:63: error: template argument 3 is invalid 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:737:65: error: expected '{' before '(' token 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:742:71: error: wrong number of template arguments (0, should be 1) 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^ /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/gtest-matchers.h:742:72: error: template argument 3 is invalid 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LtMatcher::LtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:745:54: error: wrong number of template arguments (0, should be 1) 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /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/gtest-matchers.h:745:55: error: template argument 3 is invalid 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:745:57: error: expected '{' before '(' token 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:750:74: error: wrong number of template arguments (0, should be 1) 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:750:75: error: template argument 3 is invalid 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GtMatcher::GtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:753:57: error: wrong number of template arguments (0, should be 1) 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:753:58: error: template argument 3 is invalid 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:753:60: error: expected '{' before '(' token 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:759:65: error: wrong number of template arguments (0, should be 1) 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:759:66: error: template argument 3 is invalid 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LeMatcher::LeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:762:60: error: wrong number of template arguments (0, should be 1) 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:762:61: error: template argument 3 is invalid 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:762:63: error: expected '{' before '(' token 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:768:68: error: wrong number of template arguments (0, should be 1) 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:768:69: error: template argument 3 is invalid 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GeMatcher::GeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:771:63: error: wrong number of template arguments (0, should be 1) 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:771:64: error: template argument 3 is invalid 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:771:66: error: expected '{' before '(' token 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:302:30: error: 'std::enable_if_t' has not been declared 302 | template ::value, | ^~~~~~~~~~~ /usr/include/gtest/gtest.h:302:41: error: expected '>' before '<' token 302 | template ::value, | ^ make[2]: *** [test/CMakeFiles/array_ref.dir/build.make:79: test/CMakeFiles/array_ref.dir/array_ref.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1156: test/CMakeFiles/array_ref.dir/all] Error 2 make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 26%] Linking CXX executable enum cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/enum.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/enum.dir/enum.cpp.o -o enum make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 30%] Built target enum make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 16%] Building CXX object example/cpp03/CMakeFiles/stream.dir/stream.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/stream.dir/stream.cpp.o -MF CMakeFiles/stream.dir/stream.cpp.o.d -o CMakeFiles/stream.dir/stream.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/stream.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 11%] Building CXX object example/cpp03/CMakeFiles/protocol_new.dir/protocol_new.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/protocol_new.dir/protocol_new.cpp.o -MF CMakeFiles/protocol_new.dir/protocol_new.cpp.o.d -o CMakeFiles/protocol_new.dir/protocol_new.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/protocol_new.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 10%] Building CXX object example/cpp03/CMakeFiles/class_intrusive_map.dir/class_intrusive_map.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/class_intrusive_map.dir/class_intrusive_map.cpp.o -MF CMakeFiles/class_intrusive_map.dir/class_intrusive_map.cpp.o.d -o CMakeFiles/class_intrusive_map.dir/class_intrusive_map.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/class_intrusive_map.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 14%] Building CXX object example/cpp03/CMakeFiles/class_intrusive.dir/class_intrusive.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/class_intrusive.dir/class_intrusive.cpp.o -MF CMakeFiles/class_intrusive.dir/class_intrusive.cpp.o.d -o CMakeFiles/class_intrusive.dir/class_intrusive.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/class_intrusive.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 25%] Building CXX object test/CMakeFiles/fixint.dir/fixint.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/test && /usr/bin/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT test/CMakeFiles/fixint.dir/fixint.cpp.o -MF CMakeFiles/fixint.dir/fixint.cpp.o.d -o CMakeFiles/fixint.dir/fixint.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/test/fixint.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' 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/msgpack-3.1.0/test/fixint.cpp:2: /usr/include/gtest/internal/gtest-port.h:279:2: error: #error C++ versions less than C++14 are not supported. 279 | #error C++ versions less than C++14 are not supported. | ^~~~~ /usr/include/gtest/gtest-assertion-result.h: In member function 'void testing::AssertionResult::AppendMessage(const testing::Message&)': /usr/include/gtest/gtest-assertion-result.h:207:48: error: 'make_unique' is not a member of 'std' 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^~~~~~~~~~~ /usr/include/gtest/gtest-assertion-result.h:207:48: note: 'std::make_unique' is only available from C++14 onwards /usr/include/gtest/gtest-assertion-result.h:207:73: error: expected primary-expression before '>' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ /usr/include/gtest/gtest-assertion-result.h:207:75: error: expected primary-expression before ')' token 207 | if (message_ == nullptr) message_ = ::std::make_unique<::std::string>(); | ^ In file included from /usr/include/gtest/gtest-printers.h:122, from /usr/include/gtest/gtest-matchers.h:49, 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: At global scope: /usr/include/gtest/internal/gtest-internal.h:622:58: error: wrong number of template arguments (0, should be 1) 622 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:75, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/cpp_config_decl.hpp:98, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/cpp_config.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/pack_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack_decl.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/pack.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/v1/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object_decl.hpp:14, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack/object.hpp:13, from /builddir/build/BUILD/msgpack-3.1.0/include/msgpack.hpp:10, from /builddir/build/BUILD/msgpack-3.1.0/test/fixint.cpp:1: /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:622:59: error: template argument 3 is invalid 622 | 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:599: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'} 599 | 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:605: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'} 605 | 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:609:40: error: qualified-id in declaration before 'it' 609 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:610:5: error: 'it' was not declared in this scope; did you mean 'int'? 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:610: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'} 610 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:611:12: error: 'it' was not declared in this scope; did you mean 'int'? 611 | return it->second; | ^~ | int /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:725:75: error: wrong number of template arguments (0, should be 1) 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:725:76: error: template argument 3 is invalid 725 | class EqMatcher : public ComparisonBase, Rhs, std::equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::EqMatcher::EqMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:728:58: error: wrong number of template arguments (0, should be 1) 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:373:12: note: provided for 'template struct std::equal_to' 373 | struct equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:728:59: error: template argument 3 is invalid 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:728:61: error: expected '{' before '(' token 728 | : ComparisonBase, Rhs, std::equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:734:67: error: wrong number of template arguments (0, should be 1) 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:734:68: error: template argument 3 is invalid 734 | : public ComparisonBase, Rhs, std::not_equal_to<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::NeMatcher::NeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:737:62: error: wrong number of template arguments (0, should be 1) 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:383:12: note: provided for 'template struct std::not_equal_to' 383 | struct not_equal_to : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:737:63: error: template argument 3 is invalid 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:737:65: error: expected '{' before '(' token 737 | : ComparisonBase, Rhs, std::not_equal_to<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:742:71: error: wrong number of template arguments (0, should be 1) 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^ /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/gtest-matchers.h:742:72: error: template argument 3 is invalid 742 | class LtMatcher : public ComparisonBase, Rhs, std::less<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LtMatcher::LtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:745:54: error: wrong number of template arguments (0, should be 1) 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /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/gtest-matchers.h:745:55: error: template argument 3 is invalid 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:745:57: error: expected '{' before '(' token 745 | : ComparisonBase, Rhs, std::less<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:750:74: error: wrong number of template arguments (0, should be 1) 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:750:75: error: template argument 3 is invalid 750 | class GtMatcher : public ComparisonBase, Rhs, std::greater<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GtMatcher::GtMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:753:57: error: wrong number of template arguments (0, should be 1) 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:393:12: note: provided for 'template struct std::greater' 393 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:753:58: error: template argument 3 is invalid 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:753:60: error: expected '{' before '(' token 753 | : ComparisonBase, Rhs, std::greater<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:759:65: error: wrong number of template arguments (0, should be 1) 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:759:66: error: template argument 3 is invalid 759 | : public ComparisonBase, Rhs, std::less_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::LeMatcher::LeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:762:60: error: wrong number of template arguments (0, should be 1) 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:423:12: note: provided for 'template struct std::less_equal' 423 | struct less_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:762:61: error: template argument 3 is invalid 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:762:63: error: expected '{' before '(' token 762 | : ComparisonBase, Rhs, std::less_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:768:68: error: wrong number of template arguments (0, should be 1) 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:768:69: error: template argument 3 is invalid 768 | : public ComparisonBase, Rhs, std::greater_equal<>> { | ^~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::GeMatcher::GeMatcher(const Rhs&)': /usr/include/gtest/gtest-matchers.h:771:63: error: wrong number of template arguments (0, should be 1) 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/c++/12/bits/stl_function.h:413:12: note: provided for 'template struct std::greater_equal' 413 | struct greater_equal : public binary_function<_Tp, _Tp, bool> | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:771:64: error: template argument 3 is invalid 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^~ /usr/include/gtest/gtest-matchers.h:771:66: error: expected '{' before '(' token 771 | : ComparisonBase, Rhs, std::greater_equal<>>(rhs) {} | ^ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:302:30: error: 'std::enable_if_t' has not been declared 302 | template ::value, | ^~~~~~~~~~~ /usr/include/gtest/gtest.h:302:41: error: expected '>' before '<' token 302 | template ::value, | ^ make[2]: *** [test/CMakeFiles/fixint.dir/build.make:79: test/CMakeFiles/fixint.dir/fixint.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1286: test/CMakeFiles/fixint.dir/all] Error 2 make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 27%] Linking CXX executable simple cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/simple.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/simple.dir/simple.cpp.o -o simple make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 35%] Built target simple make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 6%] Building CXX object example/cpp03/CMakeFiles/map_based_versionup.dir/map_based_versionup.cpp.o cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/g++ -I/builddir/build/BUILD/msgpack-3.1.0/include -I/builddir/build/BUILD/msgpack-3.1.0/obj/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -MD -MT example/cpp03/CMakeFiles/map_based_versionup.dir/map_based_versionup.cpp.o -MF CMakeFiles/map_based_versionup.dir/map_based_versionup.cpp.o.d -o CMakeFiles/map_based_versionup.dir/map_based_versionup.cpp.o -c /builddir/build/BUILD/msgpack-3.1.0/example/cpp03/map_based_versionup.cpp make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 29%] Linking CXX executable custom cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/custom.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/custom.dir/custom.cpp.o -o custom make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 36%] Built target custom make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 28%] Linking CXX executable reuse_zone cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/reuse_zone.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/reuse_zone.dir/reuse_zone.cpp.o -o reuse_zone make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 36%] Built target reuse_zone make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 30%] Linking CXX executable class_non_intrusive cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/class_non_intrusive.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/class_non_intrusive.dir/class_non_intrusive.cpp.o -o class_non_intrusive make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 36%] Built target class_non_intrusive make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 32%] Linking CXX executable protocol_new cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/protocol_new.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/protocol_new.dir/protocol_new.cpp.o -o protocol_new make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 36%] Built target protocol_new make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 35%] Linking CXX executable class_intrusive cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/class_intrusive.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/class_intrusive.dir/class_intrusive.cpp.o -o class_intrusive make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 36%] Built target class_intrusive make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 34%] Linking CXX executable class_intrusive_map cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/class_intrusive_map.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/class_intrusive_map.dir/class_intrusive_map.cpp.o -o class_intrusive_map make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 31%] Linking CXX executable stream cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/stream.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/stream.dir/stream.cpp.o -o stream make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 36%] Built target class_intrusive_map make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 36%] Built target stream make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[2]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 36%] Linking CXX executable map_based_versionup cd /builddir/build/BUILD/msgpack-3.1.0/obj/example/cpp03 && /usr/bin/cmake -E cmake_link_script CMakeFiles/map_based_versionup.dir/link.txt --verbose=1 /usr/bin/g++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=gnu++11 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/map_based_versionup.dir/map_based_versionup.cpp.o -o map_based_versionup make[2]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make[1]: Entering directory '/builddir/build/BUILD/msgpack-3.1.0/obj' [ 36%] Built target map_based_versionup make[1]: Leaving directory '/builddir/build/BUILD/msgpack-3.1.0/obj' make: *** [Makefile:149: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Z2y1Kr (%build) Bad exit status from /var/tmp/rpm-tmp.Z2y1Kr (%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/msgpack.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 x86_64 --nodeps /builddir/build/SPECS/msgpack.spec