Bug 271937 - devel/kiwix-lib: port make faild
Summary: devel/kiwix-lib: port make faild
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Nuno Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-10 14:16 UTC by lbfoo
Modified: 2024-04-26 21:06 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (me)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lbfoo 2023-06-10 14:16:52 UTC
devel/kiwix-lib: port make faild on freebsd 13.1 on amd64.

[  3% 7/54] c++ -Itest/library.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/library.p/library.cpp.o -MF test/library.p/library.cpp.o.d -o test/library.p/library.cpp.o -c ../test/library.cpp
FAILED: test/library.p/library.cpp.o
c++ -Itest/library.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/library.p/library.cpp.o -MF test/library.p/library.cpp.o.d -o test/library.p/library.cpp.o -c ../test/library.cpp
In file included from ../test/library.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:64:
In file included from /usr/local/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/include/gtest/gtest-message.h:57:
/usr/local/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../test/library.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/usr/include/c++/v1/__functional/operations.h:473:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../test/library.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
In file included from ../test/library.cpp:182:
In file included from ../test/../include/manager.h:25:
../test/../include/reader.h:24:10: fatal error: 'zim/article.h' file not found
#include <zim/article.h>
         ^~~~~~~~~~~~~~~
8 errors generated.
[  5% 7/54] c++ -Itest/counterParsing.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/counterParsing.p/counterParsing.cpp.o -MF test/counterParsing.p/counterParsing.cpp.o.d -o test/counterParsing.p/counterParsing.cpp.o -c ../test/counterParsing.cpp
FAILED: test/counterParsing.p/counterParsing.cpp.o
c++ -Itest/counterParsing.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/counterParsing.p/counterParsing.cpp.o -MF test/counterParsing.p/counterParsing.cpp.o.d -o test/counterParsing.p/counterParsing.cpp.o -c ../test/counterParsing.cpp
In file included from ../test/counterParsing.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:64:
In file included from /usr/local/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/include/gtest/gtest-message.h:57:
/usr/local/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../test/counterParsing.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/usr/include/c++/v1/__functional/operations.h:473:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../test/counterParsing.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
../test/counterParsing.cpp:27:54: error: no member named 'article_index_type' in namespace 'zim'
using CounterType = std::map<const std::string, zim::article_index_type>;
                                                ~~~~~^
../test/counterParsing.cpp:28:1: error: unknown type name 'CounterType'
CounterType parseMimetypeCounter(const std::string& counterData);
^
../test/counterParsing.cpp:40:5: error: unknown type name 'CounterType'
    CounterType counterMap = {};
    ^
../test/counterParsing.cpp:45:5: error: unknown type name 'CounterType'
    CounterType counterMap = {{"foo", 1}};
    ^
../test/counterParsing.cpp:50:5: error: unknown type name 'CounterType'
    CounterType counterMap = {{"foo", 1}, {"text/html", 50}};
    ^
../test/counterParsing.cpp:59:5: error: unknown type name 'CounterType'
    CounterType counterMap = {{"text/html;raw=true", 1}};
    ^
../test/counterParsing.cpp:64:5: error: unknown type name 'CounterType'
    CounterType counterMap = {{"foo", 1}, {"text/html;raw=true", 50}, {"bar", 2}};
    ^
../test/counterParsing.cpp:69:5: error: unknown type name 'CounterType'
    CounterType counterMap = {{"foo", 1}, {"text/html;raw=true;param=value", 50}, {"bar", 2}};
    ^
../test/counterParsing.cpp:74:5: error: unknown type name 'CounterType'
    CounterType counterMap = {{"foo", 1}, {"text/html;raw=true", 50}, {"bar", 2}};
    ^
../test/counterParsing.cpp:79:5: error: unknown type name 'CounterType'
    CounterType counterMap = {
    ^
../test/counterParsing.cpp:106:3: error: unknown type name 'CounterType'
  CounterType empty = {};
  ^
../test/counterParsing.cpp:125:5: error: unknown type name 'CounterType'
    CounterType counterMap = {{"text/html", 50}};
    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[  7% 7/54] c++ -Itest/tagParsing.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/tagParsing.p/tagParsing.cpp.o -MF test/tagParsing.p/tagParsing.cpp.o.d -o test/tagParsing.p/tagParsing.cpp.o -c ../test/tagParsing.cpp
FAILED: test/tagParsing.p/tagParsing.cpp.o
c++ -Itest/tagParsing.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/tagParsing.p/tagParsing.cpp.o -MF test/tagParsing.p/tagParsing.cpp.o.d -o test/tagParsing.p/tagParsing.cpp.o -c ../test/tagParsing.cpp
In file included from ../test/tagParsing.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:64:
In file included from /usr/local/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/include/gtest/gtest-message.h:57:
/usr/local/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../test/tagParsing.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/usr/include/c++/v1/__functional/operations.h:473:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../test/tagParsing.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[  9% 7/54] c++ -Itest/regex.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/regex.p/regex.cpp.o -MF test/regex.p/regex.cpp.o.d -o test/regex.p/regex.cpp.o -c ../test/regex.cpp
FAILED: test/regex.p/regex.cpp.o
c++ -Itest/regex.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/regex.p/regex.cpp.o -MF test/regex.p/regex.cpp.o.d -o test/regex.p/regex.cpp.o -c ../test/regex.cpp
In file included from ../test/regex.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:64:
In file included from /usr/local/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/include/gtest/gtest-message.h:57:
/usr/local/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../test/regex.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/usr/include/c++/v1/__functional/operations.h:473:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../test/regex.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[ 11% 7/54] c++ -Itest/parseUrl.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/parseUrl.p/parseUrl.cpp.o -MF test/parseUrl.p/parseUrl.cpp.o.d -o test/parseUrl.p/parseUrl.cpp.o -c ../test/parseUrl.cpp
FAILED: test/parseUrl.p/parseUrl.cpp.o
c++ -Itest/parseUrl.p -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DGTEST_HAS_PTHREAD=1 -pthread -MD -MQ test/parseUrl.p/parseUrl.cpp.o -MF test/parseUrl.p/parseUrl.cpp.o.d -o test/parseUrl.p/parseUrl.cpp.o -c ../test/parseUrl.cpp
In file included from ../test/parseUrl.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:64:
In file included from /usr/local/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/include/gtest/gtest-message.h:57:
/usr/local/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../test/parseUrl.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/usr/include/c++/v1/__functional/operations.h:473:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../test/parseUrl.cpp:20:
In file included from /usr/local/include/gtest/gtest.h:65:
In file included from /usr/local/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/include/gtest/gtest-printers.h:115:
/usr/local/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[ 12% 7/54] c++ -Isrc/libkiwix.so.9.4.1.p -Isrc -I../src -Iinclude -I../include -Istatic -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/ports/devel/kiwix-lib/work/Mustache-a7eebc9 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++11 -O3 -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ src/libkiwix.so.9.4.1.p/meson-generated_.._.._static_kiwixlib-resources.cpp.o -MF src/libkiwix.so.9.4.1.p/meson-generated_.._.._static_kiwixlib-resources.cpp.o.d -o src/libkiwix.so.9.4.1.p/meson-generated_.._.._static_kiwixlib-resources.cpp.o -c static/kiwixlib-resources.cpp
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-04-26 21:04:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b919e2899c8525cee4de99d8907e59afdb94115

commit 0b919e2899c8525cee4de99d8907e59afdb94115
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-04-26 20:44:46 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-26 21:03:04 +0000

    MOVED: restore kiwix-lib -> libkiwix entry

    Found this issue while taking care of PR271937 and didn't found MOVED
    entry about rename.

    PR:             271937
    Approved by:    portmgr (blanket)
    Fixes:          74535ecc1: "devel/{kiwix-lib,libkiwix}: Update version ..."

 MOVED | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-26 21:06:46 UTC
devel/libkiwix builds are good at supported versions.