GNU bug report logs - #32303
[PATCH] gnu: Patch duplicity with --ignore-mdc-error.

Previous Next

Package: guix-patches;

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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Baines <mail <at> cbaines.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#32303: closed ([PATCH] gnu: Patch duplicity with
 --ignore-mdc-error.)
Date: Sat, 04 Aug 2018 07:50:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 04 Aug 2018 08:49:43 +0100
with message-id <87va8qfu5k.fsf <at> cbaines.net>
and subject line Re: [bug#32303] [PATCH] gnu: Patch duplicity with --ignore-mdc-error.
has caused the debbugs.gnu.org bug report #32303,
regarding [PATCH] gnu: Patch duplicity with --ignore-mdc-error.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
32303: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32303
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Patch duplicity with --ignore-mdc-error.
Date: Sun, 29 Jul 2018 16:41:52 +0100
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



[Message part 3 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: 32303-done <at> debbugs.gnu.org
Subject: Re: [bug#32303] [PATCH] gnu: Patch duplicity with --ignore-mdc-error.
Date: Sat, 04 Aug 2018 08:49:43 +0100
[Message part 4 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:

> 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(+)

Pushed now :)
[signature.asc (application/pgp-signature, inline)]

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.