[MacPorts] #56868: borgbackup @1.0.11: Fails to run because of missing 'msgpack-python>=0.4.6'

MacPorts noreply at macports.org
Thu Jul 26 13:12:04 UTC 2018


#56868: borgbackup @1.0.11: Fails to run because of missing 'msgpack-python>=0.4.6'
----------------------+------------------------
 Reporter:  uhkeller  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.5.3
 Keywords:            |       Port:  borgbackup
----------------------+------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/56868>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list