Tuesday, August 01, 2023

rdiff-backup dependency issue

The current version of rdiff-backup depends on the pkg_resources python module (part of py3-setuptools) to determine the installed version, and if that isn't found it defaults to the string 'DEV" rather than the actual code version. Installing the rdiff-backup-2.0.5 package does not automatically install the py3-setuptools package, which then causes interoperability issues between system that have the pkg_resources module and those that don't, because the version strings don't match. I'm not well-versed enough with Python or the Ports to know exactly how to change the port to do the requirement, but I suspect it's just adding py3-setuptools to the WANTLIB line in the Makefile. I have confirmed that simply installing the py3-setuptools package on a system with rdiff-backup already installed changes the reported version string from 'DEV' to '2.0.5', so it's easy enough for me to fix by hand in situ, but fixing the package would be better for those who don't know.

Thanks,
Josh

Joshua Megerman
Sr. Systems Engineer
O 267-960-3048
M 267-838-8110

[cid:image003.png@01D9C48B.5354B9A0]<https://iwco.com/>

www.iwco.com

______________________________________________ CONFIDENTIALITY NOTICE: This e-mail, and any files/attachments transmitted, may include confidential and/or proprietary information from IWCO, intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that disclosure, printing, copying, distribution, or the taking of any action in reliance on the contents of this electronic information is strictly prohibited. If you have received this e-mail message in error, please immediately notify the sender by reply message and then delete the electronic message and any files/attachments. ______________________________________________

No comments:

Post a Comment