Protobuf3-cpp update woes; strategy to avoid broken dependent ports?

Joshua Root jmr at macports.org
Fri May 21 12:38:49 UTC 2021


On 2021-5-21 21:59 , Christopher Nielsen wrote:
> We need to figure out a better way to deal with updates to ‘protobuf3-cpp’, as every time this port is updated, all dependent ports are broken. (Apart from a handful that folks manually rev-bump along with it.)
> 
> The problem is that every update results in the name of the dylib being incremented by one, breaking everything linked to it.
> 
> Does anyone know an easy fix?

If it's not actually doing anything that should break binary 
compatibility (removing symbols or changing their semantics), the fix is 
to stop increasing the library major version for binary compatible 
updates. If it is, there's no getting around rev bumping all dependents.

- Josh


More information about the macports-dev mailing list