MacPorts borg is broken?

Clemens Lang cal at macports.org
Sat Mar 11 11:44:07 UTC 2023


Hi,

On Fri, Mar 10, 2023 at 10:25:33PM -0800, Kenneth Wolcott wrote:
> Hi;
> 
> A script that I wrote which calls borg reported the following:
> *******************
> You do not have a supported version of the msgpack python package
> installed. Terminating.
> This should never happen as specific, supported versions are required
> by our setup.py.
> Do not contact borgbackup support about this.
> *******************
> 
>  which borg
> /opt/local/bin/borg
> 
> borg --version
> borg 1.2.3
> 
> port installed | grep msgpack
>   py310-msgpack @1.0.4_2
>   py310-msgpack @1.0.5_0 (active)
> 
> port installed | grep borg
>   borgbackup @1.2.3_0 (active)
> 
>   I
> 
> I was successfully using my backup script based on borg for several
> months now (running it every time I go a local git commit), but
> tonight it fails with the above error message.
> 
> I tried to fix this problem by uninstalling borg and reinstalling it,
> but still get the same error.
> 
> I was using borg from homebrew last year, but I moved completely to
> MacPorts for some while now.
> 
> I'd rather use MacPorts than going back to homebrew, or trying to
> build from source (not sure if a compatible downloadable binary
> exists).

See https://github.com/macports/macports-ports/pull/17934. Borg upstream
seems to think the devil lurks behind every new minor release of the
msgpack library upstream and wants to whitelist them manually. Upstream
did that yesterday in

  https://github.com/borgbackup/borg/commit/2842463f21499e3cb0258283ba4f0e349e46678e,

and the PR above backports this change, since upstream has not yet
released a new version of borg with this change merged.

-- 
Clemens



More information about the macports-users mailing list