Source: harvest-tools Version: 1.3-7 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 --- --- harvest-tools-1.3.orig/src/harvest/HarvestIO.cpp +++ harvest-tools-1.3/src/harvest/HarvestIO.cpp @@ -208,7 +208,7 @@ bool HarvestIO::loadHarvestProtocolBuffe GzipInputStream gz(&raw_input); CodedInputStream coded_input(&gz); - coded_input.SetTotalBytesLimit(INT_MAX, INT_MAX); + coded_input.SetTotalBytesLimit(INT_MAX); if ( ! harvest.ParseFromCodedStream(&coded_input) ) {