https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/rapidjson-1.1.0-r3 fails to compile (HARDENED-SYSTEM). Discovered on: amd64 (internal ref: hardened_tinderbox) NOTE: (HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to hardened.
Created attachment 850054 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: test/perftest/CMakeFiles/perftest.dir/misctest.cpp.o FAILED: test/perftest/CMakeFiles/perftest.dir/perftest.cpp.o FAILED: test/perftest/CMakeFiles/perftest.dir/platformtest.cpp.o FAILED: test/perftest/CMakeFiles/perftest.dir/rapidjsontest.cpp.o FAILED: test/perftest/CMakeFiles/perftest.dir/schematest.cpp.o FAILED: test/unittest/CMakeFiles/namespacetest.dir/namespacetest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/allocatorstest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/bigintegertest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/documenttest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/dtoatest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/encodedstreamtest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/encodingstest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/filestreamtest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/fwdtest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/istreamwrappertest.cpp.o FAILED: test/unittest/CMakeFiles/unittest.dir/itoatest.cpp.o /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e41fc8570ce676461d46ffae31a62d97a5f59da commit 4e41fc8570ce676461d46ffae31a62d97a5f59da Author: Peter Levine <plevine457@gmail.com> AuthorDate: 2023-02-08 03:12:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-22 16:14:07 +0000 dev-libs/rapidjson: don't force C++11 dev-cpp/gtest-1.13.0 now requires building with C++14 or later. Remove -std=c++11 and, if not overridden in CXXFLAGS, use the compiler default. For 9999, explicitly pass RAPIDJSON_BUILD_CXX17=ON, which supports that cmake option. Closes: https://bugs.gentoo.org/893466 Closes: https://github.com/gentoo/gentoo/pull/29479 Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 3 ++- dev-libs/rapidjson/rapidjson-9999.ebuild | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-)