https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-cpp/rapidyaml-0.5.0 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 849896 [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/CMakeFiles/ryml-_testgroup.dir/test_group.cpp.o FAILED: test/CMakeFiles/ryml-_testlib.dir/test_case.cpp.o FAILED: test/CMakeFiles/ryml-test-basic.dir/test_basic.cpp.o FAILED: test/CMakeFiles/ryml-test-callbacks.dir/test_callbacks.cpp.o FAILED: test/CMakeFiles/ryml-test-emit.dir/test_emit.cpp.o FAILED: test/CMakeFiles/ryml-test-json.dir/test_json.cpp.o FAILED: test/CMakeFiles/ryml-test-noderef.dir/test_noderef.cpp.o FAILED: test/CMakeFiles/ryml-test-parser.dir/test_parser.cpp.o FAILED: test/CMakeFiles/ryml-test-preprocess.dir/test_preprocess.cpp.o FAILED: test/CMakeFiles/ryml-test-serialize.dir/test_serialize.cpp.o FAILED: test/CMakeFiles/ryml-test-stack.dir/test_stack.cpp.o FAILED: test/CMakeFiles/ryml-test-style.dir/test_style.cpp.o FAILED: test/CMakeFiles/ryml-test-tree.dir/test_tree.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=6bdfb5ab03bb84f2f6be6bb928673db7e3e346ac commit 6bdfb5ab03bb84f2f6be6bb928673db7e3e346ac Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-02-05 11:36:08 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-02-05 12:09:37 +0000 dev-cpp/rapidyaml: bump to -std=c++17 Does not seem to be anything that requires staying on c++11. Technically the new gtest-1.13 only needs >=14 but may as well go higher with current gcc's default. Closes: https://bugs.gentoo.org/893272 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-cpp/rapidyaml/rapidyaml-0.5.0.ebuild | 3 +++ 1 file changed, 3 insertions(+)