Source: leveldb
Version: 1.23-4
Severity: serious
Tags: ftbfs trixie sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/leveldb.html
...
In file included from /usr/include/gmock/internal/gmock-port.h:57,
from /usr/include/gmock/internal/gmock-internal-utils.h:49,
from /usr/include/gmock/gmock-actions.h:145,
from /usr/include/gmock/gmock.h:56,
from /build/1st/leveldb-1.23/./util/testutil.h:8,
from /build/1st/leveldb-1.23/util/testutil.cc:5:
/usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less
than C++14 are not supported.
270 | #error C++ versions less than C++14 are not supported.
| ^~~~~
...
This can be fixed by setting CMAKE_CXX_STANDARD to 14 in CMakeLists.txt.