FS#60274 - [borg] PLEASE ENTER SUMMARY

Attached to Project: Community Packages
Opened by Mark (sdkyuzo) - Tuesday, 02 October 2018, 04:22 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 02 October 2018, 04:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
borg fails with the message:
pkg_resources.DistributionNotFound: The 'msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6' distribution was not found and is required by borgbackup


Additional info:
* package version(s):
> pacman -Q borg python-msgpack
borg 1.1.7-1
python-msgpack 0.5.6-2

Steps to reproduce:
Install borg via pacman on vanilla x86_64 or ARM machine, run borg and above error will appear.


I was able to manually fix the issue by editing the file /usr/lib/python3.7/site-packages/borgbackup-1.1.7-py3.7.egg-info/requires.txt and changing the first line from:

msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6

to:

msgpack!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6

As the python package installed from python-msgpack is just named "msgpack" in python. Borg runs fine after making this change.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 02 October 2018, 04:30 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#60269 

Loading...