[Python-apps-team] Bug#906335: alot: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Fri Aug 17 12:18:57 BST 2018


Package: src:alot
Version: 0.7-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:217: /usr/bin/python setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7/build/alot

[... snipped ...]

test_ascii_bytes (tests.helper_test.TestStringDecode)
test_ascii_bytes ... ok
test_unicode (tests.helper_test.TestStringDecode)
test_unicode ... ok
test_utf8_bytes (tests.helper_test.TestStringDecode)
test_utf8_bytes ... ok
test_tabs (tests.helper_test.TestStringSanitize)
test_tabs ... ok
test_abook_file_can_not_be_empty (tests.addressbook.abook_test.TestAbookAddressBook) ... ok
test_get_contacts_lists_all_emails (tests.addressbook.abook_test.TestAbookAddressBook) ... ok
test_lookup_can_handle_special_regex_chars (tests.addressbook.init_test.TestAddressBook) ... ok
test_lookup_can_match_case (tests.addressbook.init_test.TestAddressBook) ... ok
test_lookup_ignores_case_by_default (tests.addressbook.init_test.TestAddressBook) ... ok
test_lookup_will_match_emails (tests.addressbook.init_test.TestAddressBook) ... ok
test_lookup_will_match_names (tests.addressbook.init_test.TestAddressBook) ... ok
test_lookup_will_match_partial_in_the_middle (tests.addressbook.init_test.TestAddressBook) ... ok
test_raises_if_external_command_exits_with_non_zero_status (tests.addressbook.external_test.TestExternalAddressbookGetContacts) ... ok
test_returns_empty_list_if_regex_has_no_email_submatches (tests.addressbook.external_test.TestExternalAddressbookGetContacts) ... ok
test_returns_empty_list_if_regex_has_no_name_submatches (tests.addressbook.external_test.TestExternalAddressbookGetContacts) ... ok
test_returns_empty_list_when_command_returns_no_output (tests.addressbook.external_test.TestExternalAddressbookGetContacts) ... ok
test_splits_results_from_provider_by_regex (tests.addressbook.external_test.TestExternalAddressbookGetContacts) ... ok
test_stderr_of_failing_command_is_part_of_exception_message (tests.addressbook.external_test.TestExternalAddressbookGetContacts) ... ok

======================================================================
ERROR: tearDownModule (tests.commands.utils_tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/utilities.py", line 134, in wrapper
    self.do_cleanups()
  File "/<<PKGBUILDDIR>>/tests/utilities.py", line 122, in do_cleanups
    func(*args, **kwargs)
  File "/usr/lib/python2.7/shutil.py", line 266, in rmtree
    onerror(os.remove, fullname, sys.exc_info())
  File "/usr/lib/python2.7/shutil.py", line 264, in rmtree
    os.remove(fullname)
OSError: [Errno 2] No such file or directory: '/tmp/tmprqJ8gE/S.gpg-agent.extra'

----------------------------------------------------------------------
Ran 339 tests in 1.665s

FAILED (errors=1, expected failures=2)
Test failed: <unittest.runner.TextTestResult run=339 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=339 errors=1 failures=0>
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: python2.7 setup.py test 
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:10: build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/alot.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Python-apps-team mailing list