Package: duplicity
Version: 0.7.17-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

Building duplicity in a current sid/amd64 chroot fails with:

======================================================================
ERROR: test_sigchain_fileobj (testing.unit.test_collections.CollectionTest)
Test getting signature chain fileobjs from archive_dir
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/testing/unit/test_collections.py", line 188, in 
test_sigchain_fileobj
    self.sigchain_fileobj_check_list(self.sigchain_fileobj_get(None))
  File "/<<PKGBUILDDIR>>/testing/unit/test_collections.py", line 180, in 
sigchain_fileobj_check_list
    test_fileobj(0, "Hello, world!")
  File "/<<PKGBUILDDIR>>/testing/unit/test_collections.py", line 177, in 
test_fileobj
    fileobjlist[i].close()
  File "/<<PKGBUILDDIR>>/duplicity/dup_temp.py", line 227, in close
    assert not self.fileobj.close()
  File "/<<PKGBUILDDIR>>/duplicity/gpg.py", line 304, in close
    self.gpg_failed()
  File "/<<PKGBUILDDIR>>/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 '/<<PKGBUILDDIR>>/testing/gnupg'
===== End GnuPG log =====


----------------------------------------------------------------------
Ran 418 tests in 987.770s

FAILED (errors=1, skipped=9)
Test failed: <unittest.runner.TextTestResult run=418 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=418 errors=1 failures=0>
make[1]: *** [debian/rules:11: override_dh_auto_test] Error 1
======================================================================

Same is observed by reproducible builds: 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/duplicity.html

Complete build log attached.


-- dam

Attachment: duplicity_amd64-2018-08-17T10:52:37Z.build.xz
Description: application/xz

Reply via email to