https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/leveldb-1.23-r4 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 849972 [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: CMakeFiles/c_test.dir/util/testutil.cc.o FAILED: CMakeFiles/env_test.dir/util/env_test.cc.o FAILED: CMakeFiles/env_test.dir/util/testutil.cc.o FAILED: CMakeFiles/fault_injection_test.dir/db/fault_injection_test.cc.o FAILED: CMakeFiles/fault_injection_test.dir/util/testutil.cc.o FAILED: CMakeFiles/issue178_test.dir/issues/issue178_test.cc.o FAILED: CMakeFiles/issue178_test.dir/util/testutil.cc.o FAILED: CMakeFiles/issue200_test.dir/issues/issue200_test.cc.o FAILED: CMakeFiles/issue200_test.dir/util/testutil.cc.o FAILED: CMakeFiles/issue320_test.dir/issues/issue320_test.cc.o FAILED: CMakeFiles/issue320_test.dir/util/testutil.cc.o FAILED: CMakeFiles/no_destructor_test.dir/util/no_destructor_test.cc.o FAILED: CMakeFiles/no_destructor_test.dir/util/testutil.cc.o FAILED: CMakeFiles/status_test.dir/util/status_test.cc.o FAILED: CMakeFiles/status_test.dir/util/testutil.cc.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=9a2c62b023f130c3723fee1b3682e10004292747 commit 9a2c62b023f130c3723fee1b3682e10004292747 Author: Peter Levine <plevine457@gmail.com> AuthorDate: 2023-02-08 02:27:48 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2023-02-09 14:42:48 +0000 dev-libs/leveldb: fix building against dev-cpp/gtest-1.13.0 Closes: https://bugs.gentoo.org/893378 Closes: https://github.com/gentoo/gentoo/pull/29476 Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-libs/leveldb/leveldb-1.23-r5.ebuild | 50 +++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+)