Here is the issue, I guess: [ 16s] In file included from /usr/include/gmock/internal/gmock-port.h:57, [ 16s] from /usr/include/gmock/internal/gmock-internal-utils.h:49, [ 16s] from /usr/include/gmock/gmock-actions.h:145, [ 16s] from /usr/include/gmock/gmock.h:56, [ 16s] from /home/abuild/rpmbuild/BUILD/leveldb-1.23/./util/testutil.h:8, [ 16s] from /home/abuild/rpmbuild/BUILD/leveldb-1.23/util/testutil.cc:5: [ 16s] /usr/include/gtest/internal/gtest-port.h:279:2: error: #error C++ versions less than C++14 are not supported. [ 16s] 279 | #error C++ versions less than C++14 are not supported. [ 16s] | ^~~~~ I see leveldb is a Google project now (?) https://github.com/google/leveldb