Closed VorpalBlade closed 1 year ago
Oh, that is annoying, presumably there isn't a version of protobuf that emits both the old and the new name (allowing for a transition period)? Which would mean you:
Or maybe there is a pre-processor define that you can be conditional on? E.g. some sort of PROTOC_VERSION or something? Some libraries have this.
Easiest thing is to just rename the field. This is used only by the config system, which isn't serialised (externally), and requires
isn't used anywhere anyway.
This happens with protobuf version 23.3-2, which Arch Linux just upgraded to. This required a rebuild of fluxengine, which failed.
If I downgrade to protobuf 21.12-2, fluxengine builds successfully, but then can't run since the system version of the library is too new.
I'm using the latest git version of fluxengine (0f34ce0278b86ae0571fbf0668a38b650d0caf88 as of writing this), as there are no properly tagged releases.