unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31773: Duplicit fails to build: ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest)
@ 2018-06-10  8:55 Christopher Baines
  2018-06-10  9:01 ` bug#31773: " Christopher Baines
  2019-01-29 16:06 ` bug#31773: Duplicit fails to build: " Christopher Baines
  0 siblings, 2 replies; 4+ messages in thread
From: Christopher Baines @ 2018-06-10  8:55 UTC (permalink / raw)
  To: 31773

[-- Attachment #1: Type: text/plain, Size: 3684 bytes --]

Duplicity fails to build, this might be because of the GPG version used,
as it looks to me that GPG complains that the message is quite old. I'll
ask on the Duplicity talk mailing list.


test_remove_all_inc_of_but_n (testing.functional.test_cleanup.CleanupTest) ... ok

======================================================================
ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest)
Test getting signature chain fileobjs from archive_dir
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/testing/unit/test_collections.py", line 188, in test_sigchain_fileobj
    self.sigchain_fileobj_check_list(self.sigchain_fileobj_get(None))
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/testing/unit/test_collections.py", line 180, in sigchain_fileobj_check_list
    test_fileobj(0, "Hello, world!")
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/testing/unit/test_collections.py", line 177, in test_fileobj
    fileobjlist[i].close()
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/duplicity/dup_temp.py", line 227, in close
    assert not self.fileobj.close()
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/duplicity/gpg.py", line 304, in close
    self.gpg_failed()
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/duplicity/gpg.py", line 271, in gpg_failed
    raise GPGError(msg)
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: WARNING: message was not integrity protected
gpg: Hint: If this message was created before the year 2003 it is
likely that this message is legitimate.  This is because back
then integrity protection was not widely used.
gpg: Use the option '--ignore-mdc-error' to decrypt anyway.
gpg: decryption forced to fail!
gpg: WARNING: unsafe permissions on homedir '/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/testing/gnupg'
===== End GnuPG log =====


----------------------------------------------------------------------
Ran 418 tests in 548.274s

FAILED (errors=1, skipped=3)
Backtrace:
           5 (primitive-load "/gnu/store/h8y2ahqbx83ih4kcf9x5x11wg4q…")
In ice-9/eval.scm:
   191:35  4 (_ _)
In srfi/srfi-1.scm:
    640:9  3 (for-each #<procedure 9ea260 at /gnu/store/5sy3815dpjc…> …)
In /gnu/store/5sy3815dpjcvxhssaba6g2ilxm29va9n-module-import/guix/build/gnu-build-system.scm:
   799:31  2 (_ _)
In /gnu/store/5sy3815dpjcvxhssaba6g2ilxm29va9n-module-import/guix/build/python-build-system.scm:
    142:8  1 (check #:tests? _ #:test-target _ #:use-setuptools? _)
In /gnu/store/5sy3815dpjcvxhssaba6g2ilxm29va9n-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/5sy3815dpjcvxhssaba6g2ilxm29va9n-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test") exit-status: 1 term-signal: #f stop-signal: #f] 76a640>)'.
builder for `/gnu/store/ghxnpxvxvgpgcrf0b7a5ia4s7lm5aha6-duplicity-0.7.17.drv' failed with exit code 1
cannot build derivation `/gnu/store/1439zhmkrg58n15mj5m9nmx6sxd01km5-deja-dup-34.3.drv': 1 dependencies couldn't be built
guix package: error: build failed: build of `/gnu/store/1439zhmkrg58n15mj5m9nmx6sxd01km5-deja-dup-34.3.drv' failed

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31773: ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest)
  2018-06-10  8:55 bug#31773: Duplicit fails to build: ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest) Christopher Baines
@ 2018-06-10  9:01 ` Christopher Baines
  2018-07-21  4:36   ` Brendan Tildesley
  2019-01-29 16:06 ` bug#31773: Duplicit fails to build: " Christopher Baines
  1 sibling, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2018-06-10  9:01 UTC (permalink / raw)
  To: duplicity-talk; +Cc: 31773

[-- Attachment #1: Type: text/plain, Size: 2150 bytes --]

Hey,

The Guix package for duplicity is failing to build, and I was wondering
if there is a fix already? I've had a look on Launchpad, but didn't spot
anything.

Here is the error:

======================================================================
ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest)
Test getting signature chain fileobjs from archive_dir
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/testing/unit/test_collections.py", line 188, in test_sigchain_fileobj
    self.sigchain_fileobj_check_list(self.sigchain_fileobj_get(None))
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/testing/unit/test_collections.py", line 180, in sigchain_fileobj_check_list
    test_fileobj(0, "Hello, world!")
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/testing/unit/test_collections.py", line 177, in test_fileobj
    fileobjlist[i].close()
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/duplicity/dup_temp.py", line 227, in close
    assert not self.fileobj.close()
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/duplicity/gpg.py", line 304, in close
    self.gpg_failed()
  File "/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/duplicity/gpg.py", line 271, in gpg_failed
    raise GPGError(msg)
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: WARNING: message was not integrity protected
gpg: Hint: If this message was created before the year 2003 it is
likely that this message is legitimate.  This is because back
then integrity protection was not widely used.
gpg: Use the option '--ignore-mdc-error' to decrypt anyway.
gpg: decryption forced to fail!
gpg: WARNING: unsafe permissions on homedir '/tmp/guix-build-duplicity-0.7.17.drv-0/duplicity-0.7.17/testing/gnupg'
===== End GnuPG log =====


----------------------------------------------------------------------
Ran 418 tests in 548.274s

FAILED (errors=1, skipped=3)


Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31773: ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest)
  2018-06-10  9:01 ` bug#31773: " Christopher Baines
@ 2018-07-21  4:36   ` Brendan Tildesley
  0 siblings, 0 replies; 4+ messages in thread
From: Brendan Tildesley @ 2018-07-21  4:36 UTC (permalink / raw)
  To: 31773

On 06/10/18 19:01, Christopher Baines wrote:
> Hey,
>
> The Guix package for duplicity is failing to build, and I was wondering
> if there is a fix already? I've had a look on Launchpad, but didn't spot
> anything.
>
> [...]
The problem is due to changes in GPG causing it to error on some of the 
very old files included in the tests. The fix is already upstream and
will be in the next release. Somebody can include a patch if they'd like
to get it working asap. I don't know how far away the next release is:
https://bazaar.launchpad.net/~duplicity-team/duplicity/0.7-series/revision/1358

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31773: Duplicit fails to build: ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest)
  2018-06-10  8:55 bug#31773: Duplicit fails to build: ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest) Christopher Baines
  2018-06-10  9:01 ` bug#31773: " Christopher Baines
@ 2019-01-29 16:06 ` Christopher Baines
  1 sibling, 0 replies; 4+ messages in thread
From: Christopher Baines @ 2019-01-29 16:06 UTC (permalink / raw)
  To: 31773-done

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

I ended up pushing a patch [1] for this as part of [2]. This has now
been released by upstream, so the change doesn't exist in the Guix
codebase any longer (the package was updated in [3]).

1: e61f092c877da5a9dc5dcdd82690bd3c191769e1
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=e61f092c877da5a9dc5dcdd82690bd3c191769e1

2: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32303

3: 7bb7920f64a871eadd8e76687f72673ef2298746
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=7bb7920f64a871eadd8e76687f72673ef2298746

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-29 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-10  8:55 bug#31773: Duplicit fails to build: ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest) Christopher Baines
2018-06-10  9:01 ` bug#31773: " Christopher Baines
2018-07-21  4:36   ` Brendan Tildesley
2019-01-29 16:06 ` bug#31773: Duplicit fails to build: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).