Bug #45023
closedObject corpus generation is currently broken
0%
Description
I have tried to generate object corpus for readable.sh test in 15.2.1 by running src/script/gen-corpus.sh but it fails with:
In file included from /home/build/ceph/ceph-15.2.1/src/include/encoding.h:41,
from /home/build/ceph/ceph-15.2.1/src/include/uuid.h:9,
from /home/build/ceph/ceph-15.2.1/src/include/types.h:21,
from /home/build/ceph/ceph-15.2.1/src/msg/msg_types.h:23,
from /home/build/ceph/ceph-15.2.1/src/common/options.h:11,
from /home/build/ceph/ceph-15.2.1/src/common/config.h:23,
from /home/build/ceph/ceph-15.2.1/src/common/config_proxy.h:6,
from /home/build/ceph/ceph-15.2.1/src/common/ceph_context.h:37,
from /home/build/ceph/ceph-15.2.1/src/compressor/lz4/CompressionPluginLZ4.cc:17:
/home/build/ceph/ceph-15.2.1/src/include/denc.h: In member function ‘void DencDumper<T>::dump() const’:
/home/build/ceph/ceph-15.2.1/src/include/denc.h:127:19: error: ‘using bufferlist = class ceph::buffer::v15_2_0::list’ {aka ‘class ceph::buffer::v15_2_0::list’} has no member named ‘copy’
127 | appender.bl.copy(bl_offset + space_offset, bl_delta - space_offset, dump_bl);
| ^~~~
Looking into the code ceph::bufferlist::contiguous_appender does not have a copy() method. How to generate object corpus for 15.2.1?