Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 657466

Summary: >=app-backup/duplicity-0.7.15 - BackendException: B2 backend requires B2 Python APIs (pip install b2)
Product: Gentoo Linux Reporter: Marco DR <marco.dr>
Component: Current packagesAssignee: Richard Freeman <rich0>
Status: UNCONFIRMED ---    
Severity: normal CC: william
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: b2 ebuild

Description Marco DR 2018-06-06 15:38:18 UTC
Duplicity 0.7.15 and later fail if using the Backblaze B2 backend. This was tested with app-backup/duplicity-0.7.17.

duplicity was called with:
duplicity --encrypt-key ${SIGN_KEY} --volsize ${VOLSIZE} --max-blocksize=20480 ${sourcedir} b2://${ACCID}:${APPKEY}@${MACHINE}/${destdir}

The error message was:
BackendException: B2 backend requires B2 Python APIs (pip install b2)

The issue is due to a complete rewrite of the Backblaze backend which happened with duplicity-0.7.15. See upstream bug report:

An ebuild for the python B2 package needs to be added, and added as a dependency to >=app-backup/duplicity-0.7.15.
Comment 1 William Pettersson 2018-06-17 20:46:35 UTC
Created attachment 536152 [details]
b2 ebuild

This is an ebuild for the b2 package. It's fairly simple, but does stop tests from being packaged correctly (issue raised with upstream), and also renames the b2 executable to b2_bb to avoid clashing with b2 from boost. It does need one out-of-tree ebuild for logfury, a python method-call-logging library. That's also trivial, I can upload that one here too if needed.