Source: libarcus Version: 4.13.0-2 Severity: important Usertags: protobuf3_20 Tags: ftbfs upstream bookworm sid patch
Hi, I would like to start the Protobuf 3.20.1 transition in a few days. Your package is currently FTBFS for a simple reason. The function SetTotalBytesLimit doesn't have a second argument for long (protobuf 3.6) and it was ignored previously. Now it's finally removed and hence your package doesn't build anymore. As it was ignored for a long time, the fix is easy, just remove that argument when calling the mentioned function. Patch is attached, please apply it soon. Thanks, Laszlo/GCS
Description: fix Protobuf FTBFS SetTotalBytesLimit no longer has second argument. Author: Laszlo Boszormenyi (GCS) <g...@debian.org> Forwarded: no Last-Update: 2022-06-06 --- --- libarcus-4.13.0.orig/src/Socket_p.h +++ libarcus-4.13.0/src/Socket_p.h @@ -548,7 +548,7 @@ namespace Arcus google::protobuf::io::ArrayInputStream array(wire_message->data, wire_message->size); google::protobuf::io::CodedInputStream stream(&array); - stream.SetTotalBytesLimit(message_size_maximum, message_size_warning); + stream.SetTotalBytesLimit(message_size_maximum); if(!message->ParseFromCodedStream(&stream)) { error(ErrorCode::ParseFailedError, "Failed to parse message:" + std::string(wire_message->data));