#68998 closed defect (fixed)

borgbackup @1.2.6 complains about msgpack not being the supported version

Reported by: kwolcott Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: borgbackup

Description (last modified by jmroot (Joshua Root))

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.
terminating with error status, rc 2

borg --version
borg 1.2.6

port installed | grep borgbackup
  borgbackup @1.2.3_0
  borgbackup @1.2.3_1
  borgbackup @1.2.4_0
  borgbackup @1.2.6_0 (active)

~: port installed | grep msgpack
  msgpack @4_0 (active)
  msgpack-c @4.0.0_0
  msgpack-c @6.0.0_0 (active)
  msgpack-cpp @4.1.1_0
  msgpack-cpp @6.0.0_0
  msgpack-cpp @6.1.0_0 (active)
  py310-msgpack @1.0.4_2
  py310-msgpack @1.0.5_0
  py310-msgpack @1.0.7_0 (active)

Change History (9)

comment:1 Changed 11 months ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: borgbackup msgpack version incompatibility removed
Owner: changed from judaew@… to judaew
Port: borgbackup added
Summary: borgbackup complains about msgpack not being the supported versionborgbackup @1.2.6 complains about msgpack not being the supported version

comment:2 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

borgbackup 1.2.6 requires msgpack 1.0.5 or earlier:

https://github.com/borgbackup/borg/blob/1.2.6/setup.py#L67-L75

borgbackup 1.2.7 requires msgpack 1.0.7 or earlier, so updating the port to this version would solve the problem for now:

https://github.com/borgbackup/borg/blob/1.2.7/setup.py#L67-L75

comment:3 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

When updating the port to 1.2.7, please also switch to python 3.12 if possible.

comment:4 Changed 11 months ago by kwolcott

sudo port uninstall py310-msgpack sudo port uninstall borgbackup sudo port -v -s install borgbackup

The third step asked if I wanted to install py310-msgpack as that was a dependency.

My borg backup is still failing with the same complaint.

port installed | grep msgpack

msgpack @4_0 (active) msgpack-c @4.0.0_0 msgpack-c @6.0.0_0 (active) msgpack-cpp @4.1.1_0 msgpack-cpp @6.0.0_0 msgpack-cpp @6.1.0_0 (active) py310-msgpack @1.0.7_1 (active)

port installed | grep borgbackup

borgbackup @1.2.6_0 (active)

How do I convince MacPorts to switch to Python 3.12?

comment:5 Changed 11 months ago by judaew (Vadym-Valdis Yudaiev)

In de2b36371d48740a0bb9025381847b3404e35191/macports-ports (master):

borgbackup: Update to 1.2.7 & switch to Python 3.12

See #68998

comment:6 Changed 11 months ago by judaew (Vadym-Valdis Yudaiev)

I updated borgbackup to 1.2.7 and switch to Python 3.12. It may take up to a day before you have an update.

comment:7 Changed 11 months ago by kwolcott

Thank you for your efforts.

What can I do to make certain that when I do the self update and upgrade to borgbackup 1.2.7 that it will also pick up Python 2.12, or will that happen in spite of whatever python dependency situation exists on my machine?

Also, what can I do to make certain that borgbackup continues to work in the future when updates and/or upgrades occur?

I just want to make certain that I'm doing what I can do (and should be doing).

Ken W.

comment:8 Changed 11 months ago by kwolcott

Thank you!

I just did a self update and it seemed to work great!

I was able to do a backup.!!

Thank you!

comment:9 Changed 11 months ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.