Source: python-trie Version: 0.2+ds-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211220 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[2]: Entering directory '/<<PKGBUILDDIR>>/docs' > sphinx-build -b html -d build/doctrees source build/html > Running Sphinx v4.3.2 > making output directory... done > WARNING: html_static_path entry '_static' does not exist > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 1 source files that are out of date > updating environment: [new config] 1 added, 0 changed, 0 removed > reading sources... [100%] index > > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [100%] index > > generating indices... genindex py-modindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded, 1 warning. > > The HTML pages are in build/html. > > Build finished. The HTML pages are in build/html. > make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs' > dh_auto_build > dh_auto_build: warning: Compatibility levels before 10 are deprecated (level > 9 in use) > I: pybuild base:237: /usr/bin/python3.10 setup.py build > /<<PKGBUILDDIR>>/setup.py:3: DeprecationWarning: The distutils package is > deprecated and slated for removal in Python 3.12. Use setuptools or check PEP > 632 for potential alternatives > from distutils.core import setup > running build > running build_py > copying pytrie.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_trie/build > I: pybuild base:237: /usr/bin/python3 setup.py build > running build > running build_py > copying pytrie.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_trie/build > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 > in use) > I: pybuild pybuild:286: cp /<<PKGBUILDDIR>>/test/test_trie.py > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_trie/build > I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_trie/build; > python3.10 -m unittest discover -v > test_trie (unittest.loader._FailedTest) ... ERROR > > ====================================================================== > ERROR: test_trie (unittest.loader._FailedTest) > ---------------------------------------------------------------------- > ImportError: Failed to import test module: test_trie > Traceback (most recent call last): > File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path > module = self._get_module_from_name(name) > File "/usr/lib/python3.10/unittest/loader.py", line 377, in > _get_module_from_name > __import__(name) > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_trie/build/test_trie.py", > line 2, in <module> > from pytrie import SortedStringTrie > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_trie/build/pytrie.py", line > 48, in <module> > from collections import MutableMapping > ImportError: cannot import name 'MutableMapping' from 'collections' > (/usr/lib/python3.10/collections/__init__.py) > > > ---------------------------------------------------------------------- > Ran 1 test in 0.000s > > FAILED (errors=1) > E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_trie/build; python3.10 -m unittest > discover -v > I: pybuild pybuild:286: cp /<<PKGBUILDDIR>>/test/test_trie.py > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_trie/build > I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_trie/build; > python3.9 -m unittest discover -v > test_consistency_wprefix (test_trie.TestTrie) ... ok > test_items_wprefix (test_trie.TestTrie) ... ok > test_iter_prefix_items (test_trie.TestTrie) ... ok > test_iter_prefix_values (test_trie.TestTrie) ... ok > test_iter_prefixes (test_trie.TestTrie) ... ok > test_keys_wprefix (test_trie.TestTrie) ... ok > test_longest_prefix (test_trie.TestTrie) ... ok > test_longest_prefix_item (test_trie.TestTrie) ... ok > test_longest_prefix_value (test_trie.TestTrie) ... ok > test_pickle (test_trie.TestTrie) ... ok > test_repr (test_trie.TestTrie) ... ok > test_values_wprefix (test_trie.TestTrie) ... ok > > ---------------------------------------------------------------------- > Ran 12 tests in 0.003s > > OK > I: pybuild pybuild:312: rm -rf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_trie/build/test test_trie.py > dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned > exit code 13 The full build log is available from: http://qa-logs.debian.net/2021/12/20/python-trie_0.2+ds-2_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.