-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
Package Name
Borgbackup
Maintainer
Julien Malik julien.malik@paraiso.me
OpenWrt Version
25.12.0-rc1
OpenWrt Target/Subtarget
ipq806x/generic
Steps to Reproduce
- Compile borgbackup and dependencies (from current master, python-pyfuse3 issue resolved by bump to pyfuse3 3.4.1)
- Install borgbackup (borgbackup-1.4.3-r1.apk, self built)
- Execute:
# borg -V
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/borg/archiver.py", line 47, in <module>
File "/usr/lib/python3.13/site-packages/borg/archive.py", line 24, in <module>
File "/usr/lib/python3.13/site-packages/borg/cache.py", line 31, in <module>
File "/usr/lib/python3.13/site-packages/borg/crypto/key.py", line 10, in <module>
ImportError: cannot import name 'pbkdf2_hmac' from 'hashlib' (/usr/lib/python3.13/hashlib.pyc)
- Install python3-openssl (python3-openssl-3.13.9-r2.apk, from 25.12.0-rc1 repository)
- Execute:
# borg -V
borg 1.4.3
Actual Behaviour
See steps to reproduce above.
See borgbackup/borg#8691
See borgbackup/borg#8691 (comment)
See https://docs.python.org/3/library/hashlib.html#hashlib.pbkdf2_hmac:
hashlib.pbkdf2_hmac: Changed in version 3.12: Function now only available when Python is built with OpenSSL. The slow pure Python implementation has been removed.
Solution: add dependency +python3-openssl to borgbackup makefile
I will raise a separate issue for python-pyfuse3
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.