<86>Mar 31 00:50:48 userdel[3290910]: delete user 'rooter' <86>Mar 31 00:50:48 userdel[3290910]: removed group 'rooter' owned by 'rooter' <86>Mar 31 00:50:48 userdel[3290910]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 31 00:50:48 groupadd[3290951]: group added to /etc/group: name=rooter, GID=1359 <86>Mar 31 00:50:48 groupadd[3290951]: group added to /etc/gshadow: name=rooter <86>Mar 31 00:50:48 groupadd[3290951]: new group: name=rooter, GID=1359 <86>Mar 31 00:50:48 useradd[3290989]: new user: name=rooter, UID=1359, GID=1359, home=/root, shell=/bin/bash <86>Mar 31 00:50:48 userdel[3291052]: delete user 'builder' <86>Mar 31 00:50:48 userdel[3291052]: removed group 'builder' owned by 'builder' <86>Mar 31 00:50:48 userdel[3291052]: removed shadow group 'builder' owned by 'builder' <86>Mar 31 00:50:48 groupadd[3291109]: group added to /etc/group: name=builder, GID=1360 <86>Mar 31 00:50:48 groupadd[3291109]: group added to /etc/gshadow: name=builder <86>Mar 31 00:50:48 groupadd[3291109]: new group: name=builder, GID=1360 <86>Mar 31 00:50:48 useradd[3291151]: new user: name=builder, UID=1360, GID=1360, home=/usr/src, shell=/bin/bash <13>Mar 31 00:50:49 rpmi: rpm-macros-meson-1.0.1-alt1 sisyphus+315692.100.1.1 1677263444 installed <13>Mar 31 00:50:49 rpmi: ninja-build-1.11.1-alt1 sisyphus+306014.100.1.1 1661920837 installed <13>Mar 31 00:50:49 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Mar 31 00:50:49 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Mar 31 00:50:49 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>Mar 31 00:50:49 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Mar 31 00:50:49 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359624 installed <13>Mar 31 00:50:49 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Mar 31 00:50:49 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Mar 31 00:50:49 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Mar 31 00:50:49 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Mar 31 00:50:49 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Mar 31 00:50:49 rpmi: libcrypto1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799015 installed <13>Mar 31 00:50:49 rpmi: libssl1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799015 installed <13>Mar 31 00:50:49 rpmi: python3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed <13>Mar 31 00:50:50 rpmi: python3-base-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed <13>Mar 31 00:50:50 rpmi: python3-module-typing_extensions-4.5.0-alt1 sisyphus+315274.100.1.1 1676455261 installed <13>Mar 31 00:50:50 rpmi: meson-1.0.1-alt1 sisyphus+315692.100.1.1 1677263444 installed <13>Mar 31 00:50:51 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791084 installed <13>Mar 31 00:50:51 rpmi: libnettle8-3.8.1-alt2 sisyphus+308213.100.1.1 1665439423 installed <13>Mar 31 00:50:51 rpmi: libhogweed6-3.8.1-alt2 sisyphus+308213.100.1.1 1665439423 installed <13>Mar 31 00:50:51 rpmi: libgnutls30-3.7.9-alt1 sisyphus+315353.100.1.1 1676639068 installed <13>Mar 31 00:50:52 rpmi: libngtcp2-0.13.1-alt1 sisyphus+317411.100.1.1 1679680596 installed <13>Mar 31 00:50:52 rpmi: tests-for-installed-python3-pkgs-0.1.21-alt1 sisyphus+313305.100.2.1 1674203926 installed <13>Mar 31 00:50:52 rpmi: rpm-build-python3-0.1.21-alt1 sisyphus+313305.100.2.1 1674203926 installed <13>Mar 31 00:50:52 rpmi: libxapian30-1.4.22-alt1 sisyphus+314695.100.1.1 1675569057 installed <13>Mar 31 00:50:52 rpmi: libsqlite3-3.41.0-alt1 sisyphus+315678.100.1.1 1677187064 installed <13>Mar 31 00:50:52 rpmi: python3-modules-sqlite3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed <13>Mar 31 00:50:52 rpmi: python3-module-coverage-6.4.2-alt1 sisyphus+305887.100.1.1 1661618441 installed <13>Mar 31 00:50:52 rpmi: libpython3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed <13>Mar 31 00:50:52 rpmi: libncurses-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed <13>Mar 31 00:50:52 rpmi: libtinfo-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed <13>Mar 31 00:50:52 rpmi: libncurses-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed <13>Mar 31 00:50:52 rpmi: libgtest-1.13.0-alt1 sisyphus+314115.100.3.1 1674645639 installed <13>Mar 31 00:50:52 rpmi: libgmock-1.13.0-alt1 sisyphus+314115.100.3.1 1674645639 installed <13>Mar 31 00:50:52 rpmi: libgtest-devel-1.13.0-alt1 sisyphus+314115.100.3.1 1674645639 installed <13>Mar 31 00:50:52 rpmi: libgmock-devel-1.13.0-alt1 sisyphus+314115.100.3.1 1674645639 installed <13>Mar 31 00:50:52 rpmi: libicu72-1:7.2.1-alt1 sisyphus+308882.100.1.1 1666532090 installed <13>Mar 31 00:50:52 rpmi: icu-utils-1:7.2.1-alt1 sisyphus+308882.100.1.1 1666532090 installed <13>Mar 31 00:50:52 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Mar 31 00:50:53 rpmi: libstdc++12-devel-12.2.1-alt1 sisyphus+317240.100.2.1 1679582373 installed <13>Mar 31 00:50:53 rpmi: gcc12-c++-12.2.1-alt1 sisyphus+317240.100.2.1 1679582373 installed <13>Mar 31 00:50:53 rpmi: rpm-macros-cmake-3.23.2-alt2 sisyphus+317703.100.1.1 1680090547 installed <13>Mar 31 00:50:53 rpmi: cmake-modules-3.23.2-alt2 sisyphus+317703.100.1.1 1680090547 installed <13>Mar 31 00:50:53 rpmi: libuv-1.44.2-alt1 sisyphus+303845.100.1.1 1658053885 installed <13>Mar 31 00:50:53 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Mar 31 00:50:53 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444232 installed <13>Mar 31 00:50:53 rpmi: libssh2-1.10.0-alt1 sisyphus+289470.100.1.1 1636752293 installed <13>Mar 31 00:50:53 rpmi: publicsuffix-list-dafsa-20221208-alt1 sisyphus+313597.100.1.1 1673961759 installed <13>Mar 31 00:50:53 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131178 installed <13>Mar 31 00:50:53 rpmi: libnghttp3-0.9.0-alt1 sisyphus+317166.100.1.1 1679409330 installed <13>Mar 31 00:50:53 rpmi: libnghttp2-1.52.0-alt1 sisyphus+315262.100.1.1 1676446367 installed <13>Mar 31 00:50:53 rpmi: openldap-common-2.6.4-alt1 sisyphus+317419.100.1.1 1679684487 installed <13>Mar 31 00:50:53 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Mar 31 00:50:53 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Mar 31 00:50:53 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Mar 31 00:50:53 rpmi: liblmdb-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072360 installed <13>Mar 31 00:50:53 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Mar 31 00:50:53 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <86>Mar 31 00:50:53 groupadd[3337726]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 31 00:50:53 groupadd[3337726]: group added to /etc/gshadow: name=_keytab <86>Mar 31 00:50:53 groupadd[3337726]: new group: name=_keytab, GID=499 <13>Mar 31 00:50:53 rpmi: libkrb5-1.20.1-alt1 sisyphus+306946.1000.5.2 1677793877 installed <13>Mar 31 00:50:53 rpmi: libgsasl-1.8.0-alt3 sisyphus+275307.100.1.2 1624478543 installed <86>Mar 31 00:50:53 groupadd[3338156]: group added to /etc/group: name=sasl, GID=498 <86>Mar 31 00:50:53 groupadd[3338156]: group added to /etc/gshadow: name=sasl <86>Mar 31 00:50:53 groupadd[3338156]: new group: name=sasl, GID=498 <13>Mar 31 00:50:53 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+306372.1000.8.1 1663097224 installed <13>Mar 31 00:50:53 rpmi: libldap2-2.6.4-alt1 sisyphus+317419.100.1.1 1679684487 installed <13>Mar 31 00:50:53 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Mar 31 00:50:53 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Mar 31 00:50:53 rpmi: libcurl-8.0.1-alt2 sisyphus+317180.500.4.1 1679494002 installed <13>Mar 31 00:50:53 rpmi: libarchive13-3.6.1-alt2 sisyphus+311213.100.1.1 1670244620 installed <13>Mar 31 00:50:54 rpmi: cmake-3.23.2-alt2 sisyphus+317703.100.1.1 1680090547 installed <13>Mar 31 00:50:54 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033053 installed <13>Mar 31 00:50:54 rpmi: libicu-devel-1:7.2.1-alt1 sisyphus+308882.100.1.1 1666532090 installed <13>Mar 31 00:50:54 rpmi: python3-dev-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed <13>Mar 31 00:50:54 rpmi: python3-module-Cython-0.29.33-alt1 sisyphus+313016.100.2.1 1677524773 installed <13>Mar 31 00:50:54 rpmi: libxapian-devel-1.4.22-alt1 sisyphus+314695.100.1.1 1675569057 installed <13>Mar 31 00:50:54 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402043 installed <13>Mar 31 00:50:54 rpmi: libzstd-devel-1.5.4-alt2 sisyphus+315138.100.1.1 1676270661 installed <13>Mar 31 00:50:54 rpmi: liblzma-devel-5.2.5-alt3.1 sisyphus+291400.100.1.1 1638634809 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libzim-8.1.0-alt1.nosrc.rpm (w1.gzdio) Installing libzim-8.1.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.26154 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libzim-8.1.0 + echo 'Source #0 (libzim-8.1.0.tar):' Source #0 (libzim-8.1.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libzim-8.1.0.tar + cd libzim-8.1.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.8312 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libzim-8.1.0 + mkdir -p x86_64-alt-linux + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + /usr/bin/meson setup . x86_64-alt-linux -Doptimization=2 --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --libdir=/usr/lib64 --localstatedir=/var --sharedstatedir=/var/lib --includedir=/usr/include --datadir=/usr/share --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --wrap-mode=nodownload -Dwerror=false The Meson build system Version: 1.0.1 Source dir: /usr/src/RPM/BUILD/libzim-8.1.0 Build dir: /usr/src/RPM/BUILD/libzim-8.1.0/x86_64-alt-linux Build type: native build Project name: libzim Project version: 8.1.0 C compiler for the host machine: cc (gcc 12.2.1 "x86_64-alt-linux-gcc (GCC) 12.2.1 20230322 (ALT Sisyphus 12.2.1-alt1)") C linker for the host machine: cc ld.bfd 2.38.20220708 C++ compiler for the host machine: c++ (gcc 12.2.1 "x86_64-alt-linux-g++ (GCC) 12.2.1 20230322 (ALT Sisyphus 12.2.1-alt1)") C++ linker for the host machine: c++ ld.bfd 2.38.20220708 Host machine cpu family: x86_64 Host machine cpu: x86_64 Checking for size of "off_t" : 8 Checking for size of "size_t" : 8 Found pkg-config: /usr/bin/pkg-config (0.29.2) Run-time dependency liblzma found: YES 5.2.5 Run-time dependency libzstd found: YES 1.5.4 Run-time dependency xapian-core found: YES 1.4.22 Run-time dependency threads found: YES Run-time dependency icu-i18n found: YES 72.1 Run-time dependency GTest found: YES 1.13.0 Configuring zim_config.h using configuration Program libzim-compile-resources found: YES (/usr/src/RPM/BUILD/libzim-8.1.0/scripts/libzim-compile-resources) Program download_test_data.py found: YES (/usr/src/RPM/BUILD/libzim-8.1.0/scripts/download_test_data.py) Configuring config.h using configuration Build targets in project: 33 libzim 8.1.0 User defined options bindir : /usr/bin datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/lib localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man optimization : 2 prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc werror : false wrap_mode : nodownload Found ninja-1.11.1 at /usr/bin/ninja + ninja-build -j16 -C x86_64-alt-linux ninja: Entering directory `x86_64-alt-linux' [1/133] Generating static/resources with a custom command stopwords/af ['stopwords', 'af'] stopwords/ar ['stopwords', 'ar'] stopwords/bg ['stopwords', 'bg'] stopwords/bn ['stopwords', 'bn'] stopwords/br ['stopwords', 'br'] stopwords/ca ['stopwords', 'ca'] stopwords/cs ['stopwords', 'cs'] stopwords/da ['stopwords', 'da'] stopwords/de ['stopwords', 'de'] stopwords/el ['stopwords', 'el'] stopwords/en ['stopwords', 'en'] stopwords/eo ['stopwords', 'eo'] stopwords/es ['stopwords', 'es'] stopwords/et ['stopwords', 'et'] stopwords/eu ['stopwords', 'eu'] stopwords/fa ['stopwords', 'fa'] stopwords/fi ['stopwords', 'fi'] stopwords/fr ['stopwords', 'fr'] stopwords/ga ['stopwords', 'ga'] stopwords/gl ['stopwords', 'gl'] stopwords/gu ['stopwords', 'gu'] stopwords/ha ['stopwords', 'ha'] stopwords/he ['stopwords', 'he'] stopwords/hi ['stopwords', 'hi'] stopwords/hr ['stopwords', 'hr'] stopwords/hu ['stopwords', 'hu'] stopwords/hy ['stopwords', 'hy'] stopwords/id ['stopwords', 'id'] stopwords/it ['stopwords', 'it'] stopwords/ja ['stopwords', 'ja'] stopwords/ko ['stopwords', 'ko'] stopwords/ku ['stopwords', 'ku'] stopwords/la ['stopwords', 'la'] stopwords/lt ['stopwords', 'lt'] stopwords/lv ['stopwords', 'lv'] stopwords/mr ['stopwords', 'mr'] stopwords/ms ['stopwords', 'ms'] stopwords/nl ['stopwords', 'nl'] stopwords/no ['stopwords', 'no'] stopwords/pl ['stopwords', 'pl'] stopwords/pt ['stopwords', 'pt'] stopwords/ro ['stopwords', 'ro'] stopwords/ru ['stopwords', 'ru'] stopwords/sk ['stopwords', 'sk'] stopwords/sl ['stopwords', 'sl'] stopwords/so ['stopwords', 'so'] stopwords/st ['stopwords', 'st'] stopwords/sv ['stopwords', 'sv'] stopwords/sw ['stopwords', 'sw'] stopwords/th ['stopwords', 'th'] stopwords/tl ['stopwords', 'tl'] stopwords/tr ['stopwords', 'tr'] stopwords/uk ['stopwords', 'uk'] stopwords/ur ['stopwords', 'ur'] stopwords/vi ['stopwords', 'vi'] stopwords/yo ['stopwords', 'yo'] stopwords/zh ['stopwords', 'zh'] stopwords/zu ['stopwords', 'zu'] [2/133] Compiling C++ object examples/createZimExample.p/createZimExample.cpp.o [3/133] Compiling C++ object src/libzim.so.8.1.0.p/meson-generated_.._.._static_libzim-resources.cpp.o [4/133] Compiling C++ object test/uuid.p/uuid.cpp.o FAILED: test/uuid.p/uuid.cpp.o c++ -Itest/uuid.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/uuid.p/uuid.cpp.o -MF test/uuid.p/uuid.cpp.o.d -o test/uuid.p/uuid.cpp.o -c ../test/uuid.cpp 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 ../test/uuid.cpp:24: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from ../include/zim/uuid.h:28, from ../test/uuid.cpp:20: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int [5/133] Compiling C++ object test/error_in_creator.p/tools.cpp.o FAILED: test/error_in_creator.p/tools.cpp.o c++ -Itest/error_in_creator.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/error_in_creator.p/tools.cpp.o -MF test/error_in_creator.p/tools.cpp.o.d -o test/error_in_creator.p/tools.cpp.o -c ../test/tools.cpp 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 ../test/tools.cpp:36: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from ../test/tools.h:24, from ../test/tools.cpp:20: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int ../test/tools.cpp: In function ‘std::unique_ptr zim::unittests::makeTempFile(const char*, const std::string&)’: ../test/tools.cpp:98:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | write(p->fd(), &content[0], content.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [6/133] Compiling C++ object test/dirent.p/dirent.cpp.o FAILED: test/dirent.p/dirent.cpp.o c++ -Itest/dirent.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/dirent.p/dirent.cpp.o -MF test/dirent.p/dirent.cpp.o.d -o test/dirent.p/dirent.cpp.o -c ../test/dirent.cpp 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 ../test/dirent.cpp:35: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from ../test/dirent.cpp:21: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int In file included from ../test/dirent.cpp:43: ../test/tools.h: In function ‘zim::Buffer zim::unittests::write_to_buffer(const T&, const std::string&) [with T = zim::writer::Dirent]’: ../test/tools.h:116:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 116 | write(tmp_fd, tail.data(), tail.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [7/133] Compiling C++ object test/creator.p/tools.cpp.o FAILED: test/creator.p/tools.cpp.o c++ -Itest/creator.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/creator.p/tools.cpp.o -MF test/creator.p/tools.cpp.o.d -o test/creator.p/tools.cpp.o -c ../test/tools.cpp 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 ../test/tools.cpp:36: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from ../test/tools.h:24, from ../test/tools.cpp:20: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int ../test/tools.cpp: In function ‘std::unique_ptr zim::unittests::makeTempFile(const char*, const std::string&)’: ../test/tools.cpp:98:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | write(p->fd(), &content[0], content.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [8/133] Compiling C++ object test/cluster.p/tools.cpp.o FAILED: test/cluster.p/tools.cpp.o c++ -Itest/cluster.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/cluster.p/tools.cpp.o -MF test/cluster.p/tools.cpp.o.d -o test/cluster.p/tools.cpp.o -c ../test/tools.cpp 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 ../test/tools.cpp:36: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from ../test/tools.h:24, from ../test/tools.cpp:20: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int ../test/tools.cpp: In function ‘std::unique_ptr zim::unittests::makeTempFile(const char*, const std::string&)’: ../test/tools.cpp:98:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | write(p->fd(), &content[0], content.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [9/133] Compiling C++ object test/creator.p/creator.cpp.o FAILED: test/creator.p/creator.cpp.o c++ -Itest/creator.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/creator.p/creator.cpp.o -MF test/creator.p/creator.cpp.o.d -o test/creator.p/creator.cpp.o -c ../test/creator.cpp 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 ../test/creator.cpp:36: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from ../test/creator.cpp:27: ../test/../src/file_compound.h:44:33: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 44 | struct less_range : public std::binary_function< Range, Range, bool> | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:75, from ../include/zim/writer/creator.h:25, from ../test/creator.cpp:21: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int [10/133] Compiling C++ object test/dirent.p/tools.cpp.o FAILED: test/dirent.p/tools.cpp.o c++ -Itest/dirent.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/dirent.p/tools.cpp.o -MF test/dirent.p/tools.cpp.o.d -o test/dirent.p/tools.cpp.o -c ../test/tools.cpp 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 ../test/tools.cpp:36: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from ../test/tools.h:24, from ../test/tools.cpp:20: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int ../test/tools.cpp: In function ‘std::unique_ptr zim::unittests::makeTempFile(const char*, const std::string&)’: ../test/tools.cpp:98:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | write(p->fd(), &content[0], content.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [11/133] Compiling C++ object test/lrucache.p/tools.cpp.o FAILED: test/lrucache.p/tools.cpp.o c++ -Itest/lrucache.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/lrucache.p/tools.cpp.o -MF test/lrucache.p/tools.cpp.o.d -o test/lrucache.p/tools.cpp.o -c ../test/tools.cpp 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 ../test/tools.cpp:36: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from ../test/tools.h:24, from ../test/tools.cpp:20: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int ../test/tools.cpp: In function ‘std::unique_ptr zim::unittests::makeTempFile(const char*, const std::string&)’: ../test/tools.cpp:98:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | write(p->fd(), &content[0], content.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [12/133] Compiling C++ object test/header.p/header.cpp.o FAILED: test/header.p/header.cpp.o c++ -Itest/header.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/header.p/header.cpp.o -MF test/header.p/header.cpp.o.d -o test/header.p/header.cpp.o -c ../test/header.cpp 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 ../test/header.cpp:33: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/stdexcept:39, from ../test/header.cpp:20: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int In file included from ../test/header.cpp:39: ../test/tools.h: In function ‘zim::Buffer zim::unittests::write_to_buffer(const T&, const std::string&) [with T = zim::Fileheader]’: ../test/tools.h:116:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 116 | write(tmp_fd, tail.data(), tail.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [13/133] Compiling C++ object test/header.p/tools.cpp.o FAILED: test/header.p/tools.cpp.o c++ -Itest/header.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/header.p/tools.cpp.o -MF test/header.p/tools.cpp.o.d -o test/header.p/tools.cpp.o -c ../test/tools.cpp 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 ../test/tools.cpp:36: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from ../test/tools.h:24, from ../test/tools.cpp:20: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int ../test/tools.cpp: In function ‘std::unique_ptr zim::unittests::makeTempFile(const char*, const std::string&)’: ../test/tools.cpp:98:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | write(p->fd(), &content[0], content.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [14/133] Compiling C++ object test/error_in_creator.p/error_in_creator.cpp.o FAILED: test/error_in_creator.p/error_in_creator.cpp.o c++ -Itest/error_in_creator.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/error_in_creator.p/error_in_creator.cpp.o -MF test/error_in_creator.p/error_in_creator.cpp.o.d -o test/error_in_creator.p/error_in_creator.cpp.o -c ../test/error_in_creator.cpp 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 ../test/error_in_creator.cpp:28: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:75, from ../include/zim/writer/creator.h:25, from ../test/error_in_creator.cpp:21: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int [15/133] Compiling C++ object test/lrucache.p/lrucache.cpp.o FAILED: test/lrucache.p/lrucache.cpp.o c++ -Itest/lrucache.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/lrucache.p/lrucache.cpp.o -MF test/lrucache.p/lrucache.cpp.o.d -o test/lrucache.p/lrucache.cpp.o -c ../test/lrucache.cpp 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 ../test/lrucache.cpp:34: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/bits/stl_tree.h:65, from /usr/include/c++/12/map:60, from ../src/lrucache.h:41, from ../test/lrucache.cpp:32: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int [16/133] Compiling C++ object test/cluster.p/cluster.cpp.o FAILED: test/cluster.p/cluster.cpp.o c++ -Itest/cluster.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/cluster.p/cluster.cpp.o -MF test/cluster.p/cluster.cpp.o.d -o test/cluster.p/cluster.cpp.o -c ../test/cluster.cpp 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 ../test/cluster.cpp:45: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/fstream:38, from ../test/cluster.cpp:23: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int In file included from ../test/cluster.cpp:53: ../test/../src/file_compound.h: At global scope: ../test/../src/file_compound.h:44:33: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 44 | struct less_range : public std::binary_function< Range, Range, bool> | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../test/cluster.cpp:59: ../test/tools.h: In function ‘zim::Buffer zim::unittests::write_to_buffer(const T&, const std::string&) [with T = zim::writer::Cluster]’: ../test/tools.h:116:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 116 | write(tmp_fd, tail.data(), tail.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17/133] Compiling C++ object test/uuid.p/tools.cpp.o FAILED: test/uuid.p/tools.cpp.o c++ -Itest/uuid.p -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -O2 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DGTEST_HAS_PTHREAD=1 -pthread -DWITH_TEST_DATA=1 -MD -MQ test/uuid.p/tools.cpp.o -MF test/uuid.p/tools.cpp.o.d -o test/uuid.p/tools.cpp.o -c ../test/tools.cpp 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 ../test/tools.cpp:36: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ In file included from /usr/include/gtest/gtest-printers.h:115, from /usr/include/gtest/gtest-matchers.h:48, from /usr/include/gtest/internal/gtest-death-test-internal.h:47, from /usr/include/gtest/gtest-death-test.h:43, from /usr/include/gtest/gtest.h:65: /usr/include/gtest/internal/gtest-internal.h:636:58: error: wrong number of template arguments (0, should be 1) 636 | typedef ::std::map> RegisteredTestsMap; | ^ In file included from /usr/include/c++/12/string:48, from ../test/tools.h:24, from ../test/tools.cpp:20: /usr/include/c++/12/bits/stl_function.h:403:12: note: provided for ‘template struct std::less’ 403 | struct less : public binary_function<_Tp, _Tp, bool> | ^~~~ /usr/include/gtest/internal/gtest-internal.h:636:59: error: template argument 3 is invalid 636 | typedef ::std::map> RegisteredTestsMap; | ^~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)’: /usr/include/gtest/internal/gtest-internal.h:613:23: error: request for member ‘insert’ in ‘((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘int’} 613 | registered_tests_.insert( | ^~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘bool testing::internal::TypedTestSuitePState::TestExists(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:619:30: error: request for member ‘count’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 619 | return registered_tests_.count(test_name) > 0; | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function ‘const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const’: /usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before ‘it’ 623 | RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); | ^~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: ‘it’ was not declared in this scope; did you mean ‘int’? 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:624:5: error: request for member ‘end’ in ‘((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_’, which is of non-class type ‘const testing::internal::TypedTestSuitePState::RegisteredTestsMap’ {aka ‘const int’} 624 | GTEST_CHECK_(it != registered_tests_.end()); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:625:12: error: ‘it’ was not declared in this scope; did you mean ‘int’? 625 | return it->second; | ^~ | int ../test/tools.cpp: In function ‘std::unique_ptr zim::unittests::makeTempFile(const char*, const std::string&)’: ../test/tools.cpp:98:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | write(p->fd(), &content[0], content.size()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18/133] Compiling C++ object src/libzim.so.8.1.0.p/cluster.cpp.o [19/133] Compiling C++ object src/libzim.so.8.1.0.p/archive.cpp.o In file included from ../src/fileimpl.h:39, from ../src/archive.cpp:27: ../src/file_compound.h:44:33: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 44 | struct less_range : public std::binary_function< Range, Range, bool> | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from ../include/zim/entry.h:25, from ../include/zim/archive.h:26, from ../src/archive.cpp:23: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. error: Bad exit status from /usr/src/tmp/rpm-tmp.8312 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.8312 (%build) Command exited with non-zero status 1 18.77user 2.54system 0:03.63elapsed 587%CPU (0avgtext+0avgdata 187948maxresident)k 0inputs+0outputs (0major+792590minor)pagefaults 0swaps hsh-rebuild: rebuild of `libzim-8.1.0-alt1.src.rpm' failed. Command exited with non-zero status 1 2.81user 1.64system 0:13.82elapsed 32%CPU (0avgtext+0avgdata 110580maxresident)k 192inputs+0outputs (49293major+235752minor)pagefaults 0swaps