GNU bug report logs -
#32303
[PATCH] gnu: Patch duplicity with --ignore-mdc-error.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Sun, 29 Jul 2018 15:43:01 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Modify the package to patch gnu.py with an unreleased upstream change to fix
duplicity working with recent releases of GnuPG. This change make the package
build again.
* gnu/packages/backup.scm (duplicity)[arguments]: Patch gnu.py within the
patch-source phase.
---
gnu/packages/backup.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 9884f58fc..0733d9c34 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -105,6 +105,15 @@
(substitute* "duplicity/gpginterface.py"
(("self.call = 'gpg'")
(string-append "self.call = '" (assoc-ref inputs "gnupg") "/bin/gpg'")))
+
+ ;; This matches up with an unreleased upstream fix, it should be
+ ;; removed when the package is updated
+ ;; https://bazaar.launchpad.net/~duplicity-team/duplicity/0.8-series/revision/1308
+ (substitute* "duplicity/gpg.py"
+ (("--no-secmem-warning'\\)")
+ "--no-secmem-warning')
+ gnupg.options.extra_args.append('--ignore-mdc-error')"))
+
(substitute* '("testing/functional/__init__.py"
"testing/overrides/bin/lftp")
(("/bin/sh") (which "sh")))
--
2.18.0
This bug report was last modified 6 years and 262 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.