https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-arch/snappy-1.1.9-r1 fails to compile (GCC-13-SYSTEM). Discovered on: amd64 (internal ref: gcc13_tinderbox) NOTE: (GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Created attachment 852364 [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/snappy_unittest.dir/snappy_unittest.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=52349d44ce357a6f0417a914425ef7973840baa1 commit 52349d44ce357a6f0417a914425ef7973840baa1 Author: Peter Levine <plevine457@gmail.com> AuthorDate: 2023-02-18 22:36:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-22 16:13:43 +0000 app-arch/snappy: build using C++14 dialect The latest gtest requires C++14 or later. Pass -DCMAKE_CXX_STANDARD=14 explicitly to avoid having -std=c++11 added to CXXFLAGS. Closes: https://bugs.gentoo.org/895190 Closes: https://github.com/gentoo/gentoo/pull/29653 Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-arch/snappy/snappy-1.1.9-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)