Opened 6 years ago

Closed 6 years ago

#56868 closed defect (fixed)

borgbackup @1.0.11: Fails to run because of missing 'msgpack-python>=0.4.6'

Reported by: uhkeller Owned by: lpefferkorn (Loic Pefferkorn)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc:
Port: borgbackup

Description

When trying to run BorgBackup, even with no arguments, it fails with the following traceback:

Traceback (most recent call last):
  File "/opt/local/bin/borg", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3098, in <module>
    @_call_aside
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3082, in _call_aside
    f(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3111, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 573, in _build_master
    ws.require(__requires__)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 891, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'msgpack-python>=0.4.6' distribution was not found and is required by borgbackup

py35-msgpack @0.5.6 is installed. There is a BorgBackup bug report (https://github.com/borgbackup/borg/issues/3889) mentioning that BorgBackup is looking for the old name of the package (msgpack-python), and that MacPort's BorgBackup package would have to be patched to look for the package under its new name (msgpack).

Sorry if I'm missing something obvious here, I've only started using MacPorts.

Change History (2)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: loic-github@… removed
Owner: set to lpefferkorn
Status: newassigned

comment:2 Changed 6 years ago by lpefferkorn (Loic Pefferkorn)

Resolution: fixed
Status: assignedclosed

In fa21d920b477c3003e6ebbce7575e9cbc3cea06d/macports-ports (master):

borgbackup: update to 1.1.6, fix build issues

  • Update from 1.0.11 to 1.1.6
  • Fix build issue with Python msgpack using unreleased patch
  • Fix documentation build issue (use existing Sphinx theme)

Closes: #55383
Closes: #56868

Note: See TracTickets for help on using tickets.