Failing to build Alpine wheel
See original GitHub issueDescribe the bug Hello, I’m trying to build a python wheel that will be used to install the pulsar-client inside an Alpine docker container. I’m aware there are no published alpine wheels available as when trying to install the pulsar-client with:
pip install pulsar-client
I get:
ERROR: Could not find a version that satisfies the requirement pulsar-client (from versions: none) ERROR: No matching distribution found for pulsar-client
And that’s why I’m trying to build my own using the scripts included inside pulsar-client-cpp/docker/alpine…
After mounting the project inside a container and then running the build-wheel-file-within-docker.sh
script I get the following errors:
./pulsar-client-cpp/docker/alpine/build-wheel-file-within-docker.sh
+ cd pulsar-client-cpp
+ PYTHON_INCLUDE_DIR=/usr/include/python3.8
+ PYTHON_LIBRARY=/usr/lib/python3.8
+ cmake . -DBUILD_TESTS=OFF -DBUILD_PYTHON_WRAPPER=ON -DCMAKE_BUILD_TYPE=Release -DLINK_STATIC=ON -DPYTHON_INCLUDE_DIR=/usr/include/python3.8 -DPYTHON_LIBRARY=/usr/lib/python3.8
-- ARCHITECTURE: x86_64
-- BUILD_DYNAMIC_LIB: ON
-- BUILD_STATIC_LIB: ON
-- BUILD_TESTS: OFF
-- BUILD_PYTHON_WRAPPER: ON
-- BUILD_WIRESHARK: OFF
-- BUILD_PERF_TOOLS: OFF
-- LINK_STATIC: ON
-- USE_LOG4CXX: OFF
-- CMAKE_BUILD_TYPE: Release
-- Threads library:
-- ZLIB_LIBRARIES: /usr/local/lib/libz.a
-- Protobuf: /usr/local/lib/libprotobuf.a
-- CURL_LIBRARIES: /usr/local/lib/libcurl.a
-- ZStd: /usr/local/lib/libzstd.a
-- LIB_SNAPPY: /usr/local/lib64/libsnappy.a
-- Found Boost: /usr/local/include (found version "1.72.0")
-- Using std::regex
-- PYTHON: 3.8.10
-- DETECTED Python 3
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1144 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1266 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1904 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:286 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1144 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1266 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1904 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:286 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1144 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1266 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1904 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:286 (find_package)
-- BOOST_PYTHON_NAME_FOUND: python38
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1144 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1266 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1904 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:298 (find_package)
-- Found Boost: /usr/local/include (found version "1.72.0") found components: python38
-- HAS_ZSTD: 1
-- HAS_SNAPPY: 1
-- Using Boost Python libs: /usr/local/lib/libboost_python38.a
clang-tidy not found
clang-format not found
-- Configuring done
-- Generating done
-- Build files have been written to: /pulsar/pulsar-client-cpp
+ make -j2 _pulsar
[ 0%] Generating ../generated/lib/PulsarApi.pb.cc, ../generated/lib/PulsarApi.pb.h
Scanning dependencies of target PULSAR_OBJECT_LIB
[ 2%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/AckGroupingTrackerDisabled.cc.o
[ 2%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/AckGroupingTracker.cc.o
[ 2%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/AckGroupingTrackerEnabled.cc.o
[ 2%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchAcknowledgementTracker.cc.o
[ 3%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchMessageContainer.cc.o
[ 4%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchMessageContainerBase.cc.o
[ 5%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchMessageKeyBasedContainer.cc.o
[ 5%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BinaryProtoLookupService.cc.o
[ 7%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Client.cc.o
[ 8%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ClientConnection.cc.o
[ 8%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ClientImpl.cc.o
[ 9%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Commands.cc.o
[ 10%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/CompressionCodec.cc.o
[ 10%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/CompressionCodecLZ4.cc.o
[ 11%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/CompressionCodecSnappy.cc.o
[ 12%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/CompressionCodecZLib.cc.o
[ 14%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/CompressionCodecZstd.cc.o
[ 14%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ConnectionPool.cc.o
[ 15%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Consumer.cc.o
[ 16%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ConsumerImpl.cc.o
[ 17%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/HTTPLookupService.cc.o
[ 18%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/HandlerBase.cc.o
[ 20%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Message.cc.o
[ 20%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/MessageAndCallbackBatch.cc.o
[ 21%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/MessageBatch.cc.o
[ 22%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/MessageBuilder.cc.o
[ 23%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/MessageCrypto.cc.o
[ 23%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/MessageId.cc.o
[ 24%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/MessageImpl.cc.o
[ 25%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/MultiTopicsConsumerImpl.cc.o
[ 27%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/NegativeAcksTracker.cc.o
[ 27%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/PartitionedConsumerImpl.cc.o
[ 28%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/PartitionedProducerImpl.cc.o
[ 29%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/PatternMultiTopicsConsumerImpl.cc.o
[ 30%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Producer.cc.o
[ 31%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ProducerImpl.cc.o
[ 32%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Reader.cc.o
[ 32%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ReaderImpl.cc.o
[ 34%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/TopicName.cc.o
[ 35%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/UnAckedMessageTrackerEnabled.cc.o
[ 36%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/checksum/crc32c_sse42.cc.o
[ 37%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/stats/ConsumerStatsImpl.cc.o
[ 37%] Building CXX object lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/__/generated/lib/PulsarApi.pb.cc.o
In file included from /usr/include/c++/9.3.0/cstring:42,
from /usr/local/include/google/protobuf/io/coded_stream.h:118,
from /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.h:23,
from /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:4:
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandSend::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:11605:11,
inlined from 'pulsar::proto::CommandSend::CommandSend()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:11590:13,
inlined from 'void InitDefaultsscc_info_CommandSend_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:11588:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 66] from the object at 'pulsar::proto::_CommandSend_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandSend::producer_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::FeatureFlags::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:6975:11,
inlined from 'pulsar::proto::FeatureFlags::FeatureFlags()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:6960:13,
inlined from 'void InitDefaultsscc_info_FeatureFlags_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:6958:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [26, 27] from the object at 'pulsar::proto::_FeatureFlags_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::FeatureFlags::supports_auth_refresh_' with type 'bool' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandNewTxn::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20824:11,
inlined from 'pulsar::proto::CommandNewTxn::CommandNewTxn()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20809:13,
inlined from 'void InitDefaultsscc_info_CommandNewTxn_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20807:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 48] from the object at 'pulsar::proto::_CommandNewTxn_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandNewTxn::request_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::IntRange::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:4099:11,
inlined from 'pulsar::proto::IntRange::IntRange()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:4084:13,
inlined from 'void InitDefaultsscc_info_IntRange_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:4082:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [29, 32] from the object at 'pulsar::proto::_IntRange_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::IntRange::start_' with type 'int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandTcClientConnectRequest::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20313:11,
inlined from 'pulsar::proto::CommandTcClientConnectRequest::CommandTcClientConnectRequest()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20298:13,
inlined from 'void InitDefaultsscc_info_CommandTcClientConnectRequest_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20296:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 40] from the object at 'pulsar::proto::_CommandTcClientConnectRequest_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandTcClientConnectRequest::request_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandUnsubscribe::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14242:11,
inlined from 'pulsar::proto::CommandUnsubscribe::CommandUnsubscribe()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14227:13,
inlined from 'void InitDefaultsscc_info_CommandUnsubscribe_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14225:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 40] from the object at 'pulsar::proto::_CommandUnsubscribe_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandUnsubscribe::consumer_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandCloseConsumer::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15227:11,
inlined from 'pulsar::proto::CommandCloseConsumer::CommandCloseConsumer()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15212:13,
inlined from 'void InitDefaultsscc_info_CommandCloseConsumer_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15210:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 40] from the object at 'pulsar::proto::_CommandCloseConsumer_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandCloseConsumer::consumer_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandCloseProducer::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14985:11,
inlined from 'pulsar::proto::CommandCloseProducer::CommandCloseProducer()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14970:13,
inlined from 'void InitDefaultsscc_info_CommandCloseProducer_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14968:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 40] from the object at 'pulsar::proto::_CommandCloseProducer_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandCloseProducer::producer_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandConsumerStats::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:16918:11,
inlined from 'pulsar::proto::CommandConsumerStats::CommandConsumerStats()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:16903:13,
inlined from 'void InitDefaultsscc_info_CommandConsumerStats_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:16901:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 40] from the object at 'pulsar::proto::_CommandConsumerStats_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandConsumerStats::request_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandEndTxn::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:22875:11,
inlined from 'pulsar::proto::CommandEndTxn::CommandEndTxn()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:22860:13,
inlined from 'void InitDefaultsscc_info_CommandEndTxn_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:22858:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 52] from the object at 'pulsar::proto::_CommandEndTxn_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandEndTxn::request_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandFlow::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14000:11,
inlined from 'pulsar::proto::CommandFlow::CommandFlow()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:13985:13,
inlined from 'void InitDefaultsscc_info_CommandFlow_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:13983:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 36] from the object at 'pulsar::proto::_CommandFlow_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandFlow::consumer_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandGetLastMessageId::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:17812:11,
inlined from 'pulsar::proto::CommandGetLastMessageId::CommandGetLastMessageId()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:17797:13,
inlined from 'void InitDefaultsscc_info_CommandGetLastMessageId_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:17795:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 40] from the object at 'pulsar::proto::_CommandGetLastMessageId_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandGetLastMessageId::consumer_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandActiveConsumerChange::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:13780:11,
inlined from 'pulsar::proto::CommandActiveConsumerChange::CommandActiveConsumerChange()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:13765:13,
inlined from 'void InitDefaultsscc_info_CommandActiveConsumerChange_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:13763:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset 33 from the object at 'pulsar::proto::_CommandActiveConsumerChange_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandActiveConsumerChange::consumer_id_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::BrokerEntryMetadata::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:6194:11,
inlined from 'pulsar::proto::BrokerEntryMetadata::BrokerEntryMetadata()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:6179:13,
inlined from 'void InitDefaultsscc_info_BrokerEntryMetadata_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:6177:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 40] from the object at 'pulsar::proto::_BrokerEntryMetadata_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::BrokerEntryMetadata::broker_timestamp_' with type 'long unsigned int' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandEndTxnOnPartition::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:23495:11,
inlined from 'pulsar::proto::CommandEndTxnOnPartition::CommandEndTxnOnPartition()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:23474:13,
inlined from 'void InitDefaultsscc_info_CommandEndTxnOnPartition_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:23472:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 68] from the object at 'pulsar::proto::_CommandEndTxnOnPartition_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandEndTxnOnPartition::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandPartitionedTopicMetadataResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:9768:11,
inlined from 'pulsar::proto::CommandPartitionedTopicMetadataResponse::CommandPartitionedTopicMetadataResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:9747:13,
inlined from 'void InitDefaultsscc_info_CommandPartitionedTopicMetadataResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:9745:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 52] from the object at 'pulsar::proto::_CommandPartitionedTopicMetadataResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandPartitionedTopicMetadataResponse::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandTcClientConnectResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20564:11,
inlined from 'pulsar::proto::CommandTcClientConnectResponse::CommandTcClientConnectResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20543:13,
inlined from 'void InitDefaultsscc_info_CommandTcClientConnectResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20541:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 44] from the object at 'pulsar::proto::_CommandTcClientConnectResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandTcClientConnectResponse::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandSendError::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:12331:11,
inlined from 'pulsar::proto::CommandSendError::CommandSendError()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:12310:13,
inlined from 'void InitDefaultsscc_info_CommandSendError_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:12308:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 52] from the object at 'pulsar::proto::_CommandSendError_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandSendError::producer_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandEndTxnOnPartitionResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:23844:11,
inlined from 'pulsar::proto::CommandEndTxnOnPartitionResponse::CommandEndTxnOnPartitionResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:23823:13,
inlined from 'void InitDefaultsscc_info_CommandEndTxnOnPartitionResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:23821:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 60] from the object at 'pulsar::proto::_CommandEndTxnOnPartitionResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandEndTxnOnPartitionResponse::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandEndTxnResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:23168:11,
inlined from 'pulsar::proto::CommandEndTxnResponse::CommandEndTxnResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:23147:13,
inlined from 'void InitDefaultsscc_info_CommandEndTxnResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:23145:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 60] from the object at 'pulsar::proto::_CommandEndTxnResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandEndTxnResponse::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandAddPartitionToTxnResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:21696:11,
inlined from 'pulsar::proto::CommandAddPartitionToTxnResponse::CommandAddPartitionToTxnResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:21675:13,
inlined from 'void InitDefaultsscc_info_CommandAddPartitionToTxnResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:21673:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 60] from the object at 'pulsar::proto::_CommandAddPartitionToTxnResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandAddPartitionToTxnResponse::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandNewTxnResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:21088:11,
inlined from 'pulsar::proto::CommandNewTxnResponse::CommandNewTxnResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:21067:13,
inlined from 'void InitDefaultsscc_info_CommandNewTxnResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:21065:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 60] from the object at 'pulsar::proto::_CommandNewTxnResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandNewTxnResponse::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandAckResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:13446:11,
inlined from 'pulsar::proto::CommandAckResponse::CommandAckResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:13425:13,
inlined from 'void InitDefaultsscc_info_CommandAckResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:13423:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 68] from the object at 'pulsar::proto::_CommandAckResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandAckResponse::consumer_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandError::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:16355:11,
inlined from 'pulsar::proto::CommandError::CommandError()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:16334:13,
inlined from 'void InitDefaultsscc_info_CommandError_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:16332:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 44] from the object at 'pulsar::proto::_CommandError_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandError::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandAddSubscriptionToTxnResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:22560:11,
inlined from 'pulsar::proto::CommandAddSubscriptionToTxnResponse::CommandAddSubscriptionToTxnResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:22539:13,
inlined from 'void InitDefaultsscc_info_CommandAddSubscriptionToTxnResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:22537:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 60] from the object at 'pulsar::proto::_CommandAddSubscriptionToTxnResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandAddSubscriptionToTxnResponse::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandEndTxnOnSubscriptionResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:24530:11,
inlined from 'pulsar::proto::CommandEndTxnOnSubscriptionResponse::CommandEndTxnOnSubscriptionResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:24509:13,
inlined from 'void InitDefaultsscc_info_CommandEndTxnOnSubscriptionResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:24507:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 60] from the object at 'pulsar::proto::_CommandEndTxnOnSubscriptionResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandEndTxnOnSubscriptionResponse::request_id_' with type 'long unsigned int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandConnected::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:7224:11,
inlined from 'pulsar::proto::CommandConnected::CommandConnected()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:7203:13,
inlined from 'void InitDefaultsscc_info_CommandConnected_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:7201:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [37, 40] from the object at 'pulsar::proto::_CommandConnected_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandConnected::protocol_version_' with type 'int' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandAuthResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:7498:11,
inlined from 'pulsar::proto::CommandAuthResponse::CommandAuthResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:7474:13,
inlined from 'void InitDefaultsscc_info_CommandAuthResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:7472:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 44] from the object at 'pulsar::proto::_CommandAuthResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandAuthResponse::response_' with type 'pulsar::proto::AuthData*' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandSuccess::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15735:11,
inlined from 'pulsar::proto::CommandSuccess::CommandSuccess()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15716:13,
inlined from 'void InitDefaultsscc_info_CommandSuccess_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15714:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 40] from the object at 'pulsar::proto::_CommandSuccess_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandSuccess::schema_' with type 'pulsar::proto::Schema*' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandSeek::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14503:11,
inlined from 'pulsar::proto::CommandSeek::CommandSeek()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14482:13,
inlined from 'void InitDefaultsscc_info_CommandSeek_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:14480:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 56] from the object at 'pulsar::proto::_CommandSeek_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandSeek::message_id_' with type 'pulsar::proto::MessageIdData*' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandSendReceipt::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:12017:11,
inlined from 'pulsar::proto::CommandSendReceipt::CommandSendReceipt()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:11996:13,
inlined from 'void InitDefaultsscc_info_CommandSendReceipt_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:11994:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 56] from the object at 'pulsar::proto::_CommandSendReceipt_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandSendReceipt::message_id_' with type 'pulsar::proto::MessageIdData*' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandAuthChallenge::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:7776:11,
inlined from 'pulsar::proto::CommandAuthChallenge::CommandAuthChallenge()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:7752:13,
inlined from 'void InitDefaultsscc_info_CommandAuthChallenge_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:7750:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 44] from the object at 'pulsar::proto::_CommandAuthChallenge_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandAuthChallenge::challenge_' with type 'pulsar::proto::AuthData*' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandGetOrCreateSchema::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:19719:11,
inlined from 'pulsar::proto::CommandGetOrCreateSchema::CommandGetOrCreateSchema()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:19695:13,
inlined from 'void InitDefaultsscc_info_CommandGetOrCreateSchema_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:19693:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 48] from the object at 'pulsar::proto::_CommandGetOrCreateSchema_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandGetOrCreateSchema::schema_' with type 'pulsar::proto::Schema*' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::BaseCommand::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:25630:11,
inlined from 'pulsar::proto::BaseCommand::BaseCommand()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:25351:13,
inlined from 'void InitDefaultsscc_info_BaseCommand_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:25349:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [41, 456] from the object at 'pulsar::proto::_BaseCommand_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::BaseCommand::connect_' with type 'pulsar::proto::CommandConnect*' at offset 32 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandEndTxnOnSubscription::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:24178:11,
inlined from 'pulsar::proto::CommandEndTxnOnSubscription::CommandEndTxnOnSubscription()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:24157:13,
inlined from 'void InitDefaultsscc_info_CommandEndTxnOnSubscription_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:24155:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 68] from the object at 'pulsar::proto::_CommandEndTxnOnSubscription_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandEndTxnOnSubscription::subscription_' with type 'pulsar::proto::Subscription*' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandGetLastMessageIdResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:18080:11,
inlined from 'pulsar::proto::CommandGetLastMessageIdResponse::CommandGetLastMessageIdResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:18056:13,
inlined from 'void InitDefaultsscc_info_CommandGetLastMessageIdResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:18054:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 48] from the object at 'pulsar::proto::_CommandGetLastMessageIdResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandGetLastMessageIdResponse::last_message_id_' with type 'pulsar::proto::MessageIdData*' at offset 24 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandLookupTopicResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:10556:11,
inlined from 'pulsar::proto::CommandLookupTopicResponse::CommandLookupTopicResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:10525:13,
inlined from 'void InitDefaultsscc_info_CommandLookupTopicResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:10523:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [57, 66] from the object at 'pulsar::proto::_CommandLookupTopicResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandLookupTopicResponse::request_id_' with type 'long unsigned int' at offset 48 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandGetTopicsOfNamespace::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:18389:11,
inlined from 'pulsar::proto::CommandGetTopicsOfNamespace::CommandGetTopicsOfNamespace()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:18358:13,
inlined from 'void InitDefaultsscc_info_CommandGetTopicsOfNamespace_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:18356:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [57, 60] from the object at 'pulsar::proto::_CommandGetTopicsOfNamespace_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandGetTopicsOfNamespace::request_id_' with type 'long unsigned int' at offset 48 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandGetOrCreateSchemaResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:20021:11,
inlined from 'pulsar::proto::CommandGetOrCreateSchemaResponse::CommandGetOrCreateSchemaResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:19995:13,
inlined from 'void InitDefaultsscc_info_CommandGetOrCreateSchemaResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:19993:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [49, 52] from the object at 'pulsar::proto::_CommandGetOrCreateSchemaResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandGetOrCreateSchemaResponse::request_id_' with type 'long unsigned int' at offset 40 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandGetSchemaResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:19374:11,
inlined from 'pulsar::proto::CommandGetSchemaResponse::CommandGetSchemaResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:19343:13,
inlined from 'void InitDefaultsscc_info_CommandGetSchemaResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:19341:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [49, 60] from the object at 'pulsar::proto::_CommandGetSchemaResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandGetSchemaResponse::schema_' with type 'pulsar::proto::Schema*' at offset 40 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandProducerSuccess::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15985:11,
inlined from 'pulsar::proto::CommandProducerSuccess::CommandProducerSuccess()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15959:13,
inlined from 'void InitDefaultsscc_info_CommandProducerSuccess_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15957:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [49, 56] from the object at 'pulsar::proto::_CommandProducerSuccess_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandProducerSuccess::request_id_' with type 'long unsigned int' at offset 40 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandLookupTopic::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:10122:11,
inlined from 'pulsar::proto::CommandLookupTopic::CommandLookupTopic()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:10081:13,
inlined from 'void InitDefaultsscc_info_CommandLookupTopic_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:10079:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset 73 from the object at 'pulsar::proto::_CommandLookupTopic_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandLookupTopic::request_id_' with type 'long unsigned int' at offset 64 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandConsumerStatsResponse::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:17225:11,
inlined from 'pulsar::proto::CommandConsumerStatsResponse::CommandConsumerStatsResponse()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:17184:13,
inlined from 'void InitDefaultsscc_info_CommandConsumerStatsResponse_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:17182:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [73, 136] from the object at 'pulsar::proto::_CommandConsumerStatsResponse_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandConsumerStatsResponse::request_id_' with type 'long unsigned int' at offset 64 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandConnect::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:6490:11,
inlined from 'pulsar::proto::CommandConnect::CommandConnect()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:6434:13,
inlined from 'void InitDefaultsscc_info_CommandConnect_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:6432:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [89, 96] from the object at 'pulsar::proto::_CommandConnect_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandConnect::feature_flags_' with type 'pulsar::proto::FeatureFlags*' at offset 80 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandMessage::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:12662:11,
inlined from 'pulsar::proto::CommandMessage::CommandMessage()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:12640:13,
inlined from 'void InitDefaultsscc_info_CommandMessage_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:12638:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [49, 68] from the object at 'pulsar::proto::_CommandMessage_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandMessage::message_id_' with type 'pulsar::proto::MessageIdData*' at offset 40 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandAddSubscriptionToTxn::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:22265:11,
inlined from 'pulsar::proto::CommandAddSubscriptionToTxn::CommandAddSubscriptionToTxn()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:22248:13,
inlined from 'void InitDefaultsscc_info_CommandAddSubscriptionToTxn_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:22246:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [57, 72] from the object at 'pulsar::proto::_CommandAddSubscriptionToTxn_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandAddSubscriptionToTxn::request_id_' with type 'long unsigned int' at offset 48 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::KeySharedMeta::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:8274:11,
inlined from 'pulsar::proto::KeySharedMeta::KeySharedMeta()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:8257:13,
inlined from 'void InitDefaultsscc_info_KeySharedMeta_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:8255:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset 53 from the object at 'pulsar::proto::_KeySharedMeta_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::KeySharedMeta::keysharedmode_' with type 'int' at offset 48 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::SingleMessageMetadata::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:5755:11,
inlined from 'pulsar::proto::SingleMessageMetadata::SingleMessageMetadata()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:5728:13,
inlined from 'void InitDefaultsscc_info_SingleMessageMetadata_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:5726:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [73, 88] from the object at 'pulsar::proto::_SingleMessageMetadata_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::SingleMessageMetadata::event_time_' with type 'long unsigned int' at offset 64 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandProducer::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:11015:11,
inlined from 'pulsar::proto::CommandProducer::CommandProducer()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:10978:13,
inlined from 'void InitDefaultsscc_info_CommandProducer_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:10976:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [81, 120] from the object at 'pulsar::proto::_CommandProducer_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandProducer::schema_' with type 'pulsar::proto::Schema*' at offset 72 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandRedeliverUnacknowledgedMessages::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15471:11,
inlined from 'pulsar::proto::CommandRedeliverUnacknowledgedMessages::CommandRedeliverUnacknowledgedMessages()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15454:13,
inlined from 'void InitDefaultsscc_info_CommandRedeliverUnacknowledgedMessages_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:15452:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [57, 64] from the object at 'pulsar::proto::_CommandRedeliverUnacknowledgedMessages_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandRedeliverUnacknowledgedMessages::consumer_id_' with type 'long unsigned int' at offset 48 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::MessageIdData::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:3207:11,
inlined from 'pulsar::proto::MessageIdData::MessageIdData()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:3185:13,
inlined from 'void InitDefaultsscc_info_MessageIdData_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:3183:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [49, 68] from the object at 'pulsar::proto::_MessageIdData_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::MessageIdData::first_chunk_message_id_' with type 'pulsar::proto::MessageIdData*' at offset 40 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandAck::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:13014:11,
inlined from 'pulsar::proto::CommandAck::CommandAck()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:12996:13,
inlined from 'void InitDefaultsscc_info_CommandAck_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:12994:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [81, 112] from the object at 'pulsar::proto::_CommandAck_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandAck::consumer_id_' with type 'long unsigned int' at offset 72 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In function 'void* memset(void*, int, size_t)',
inlined from 'void pulsar::proto::CommandSubscribe::SharedCtor()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:8628:11,
inlined from 'pulsar::proto::CommandSubscribe::CommandSubscribe()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:8580:13,
inlined from 'void InitDefaultsscc_info_CommandSubscribe_PulsarApi_2eproto()' at /pulsar/pulsar-client-cpp/generated/lib/PulsarApi.pb.cc:8578:1:
/usr/include/fortify/string.h:72:25: error: 'void* __builtin_memset(void*, int, long unsigned int)' offset [105, 168] from the object at 'pulsar::proto::_CommandSubscribe_default_instance_' is out of the bounds of referenced subobject 'pulsar::proto::CommandSubscribe::start_message_id_' with type 'pulsar::proto::MessageIdData*' at offset 96 [-Werror=array-bounds]
72 | return __builtin_memset(__d, __c, __n);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/build.make:1435: lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/__/generated/lib/PulsarApi.pb.cc.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:192: lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:672: python/CMakeFiles/_pulsar.dir/rule] Error 2
make: *** [Makefile:372: _pulsar] Error 2
Any help would be very much appreciated!!
To Reproduce Steps to reproduce the behavior:
- Build image with build-alpine-image.sh script
- Run image and mount project inside
- Run above script
Expected behavior Wheel to be built successfully
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: OSX 11.2.3
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
pulsar-client-cpp
andpy3-pulsar-client-cpp
packages are available on Alpine Linux (Edge repository)The issue had no activity for 30 days, mark with Stale label.