Actions
Bug #53586
openrocksdb: build error with rocksdb-6.25.x
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Here we go, again, same bug as in #52415, affects all attempt to build ceph-16.2.7 against rocksdb-6.25-*
Cheers,
Chris.
/usr/include/c++/11/bits/shared_ptr.h:878:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = rocksdb_cache::BinnedLRUCache; _Args = {ceph::common::CephContext*&, long unsigned int&, int&, bool&, double&}]'
/root/repos/ceph/BUILD/ceph-16.2.7/src/kv/rocksdb_cache/BinnedLRUCache.cc:620:42: required from here
/usr/include/c++/11/ext/new_allocator.h:162:11: error: invalid new-expression of abstract class type 'rocksdb_cache::BinnedLRUCache'
162 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/repos/ceph/BUILD/ceph-16.2.7/src/kv/rocksdb_cache/BinnedLRUCache.cc:14:
/root/repos/ceph/BUILD/ceph-16.2.7/src/kv/rocksdb_cache/BinnedLRUCache.h:295:7: note: because the following virtual functions are pure within 'rocksdb_cache::BinnedLRUCache':
295 | class BinnedLRUCache : public ShardedCache {
| ^~~~~~~~~~~~~~
In file included from /root/repos/ceph/BUILD/ceph-16.2.7/src/kv/rocksdb_cache/ShardedCache.h:17,
from /root/repos/ceph/BUILD/ceph-16.2.7/src/kv/rocksdb_cache/BinnedLRUCache.h:16,
from /root/repos/ceph/BUILD/ceph-16.2.7/src/kv/rocksdb_cache/BinnedLRUCache.cc:14:
/usr/include/rocksdb/cache.h:340:21: note: 'virtual void (* rocksdb::Cache::GetDeleter(rocksdb::Cache::Handle*) const)(const rocksdb::Slice&, void*)'
340 | virtual DeleterFn GetDeleter(Handle* handle) const = 0;
No data to display
Actions