Package: src:prospector Version: 1.1.7-4 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --with python3,sphinxdoc --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.11 setup.py config debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m nose -v tests/" dh_auto_test I: pybuild base:311: python3.11 -m nose -v tests/ Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ... ERROR test1 (tests.finder.test_file_finder.TestSysPath.test1) ... ok test2 (tests.finder.test_file_finder.TestSysPath.test2) ... ok test3 (tests.finder.test_file_finder.TestSysPath.test3) ... ok test_is_a_venv (tests.finder.test_file_finder.TestVirtualenvDetection.test_is_a_venv) ... ok Windows doesn't allow extremely long paths. This unit test has to be ... ok test_not_a_venv (tests.finder.test_file_finder.TestVirtualenvDetection.test_not_a_venv) ... ok Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ... ERROR test_ignore_file (tests.suppression.test_suppression.SuppressionTest.test_ignore_file) ... ok test_ignore_lines (tests.suppression.test_suppression.SuppressionTest.test_ignore_lines) ... ok Failure: SkipTest () ... SKIP Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ... ERROR Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ... ERROR test_multiple_lines (tests.test_blender.TestBlend.test_multiple_lines) ... ok test_blend_line (tests.test_blender.TestBlendLine.test_blend_line) ... ok Ensures that the blending works fine when there are no messages to blend ... ok Verifies that messages pass through if there is nothing to blend ... ok test_single_blend (tests.test_blender.TestBlendLine.test_single_blend) ... ok Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ... ERROR test_char_order (tests.test_message.LocationOrderTest.test_char_order) ... ok test_line_order (tests.test_message.LocationOrderTest.test_line_order) ... ok test_path_order (tests.test_message.LocationOrderTest.test_path_order) ... ok test_sort_between_none_chars (tests.test_message.LocationOrderTest.test_sort_between_none_chars) ... ok test_sort_between_none_lines (tests.test_message.LocationOrderTest.test_sort_between_none_lines) ... ok ====================================================================== ERROR: Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 235, in load_module return load_source(name, filename, file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 172, in load_source module = _load(spec) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 721, in _load File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/<<PKGBUILDDIR>>/tests/config/test_datatype.py", line 4, in <module> from prospector.config.datatype import OutputChoice File "/<<PKGBUILDDIR>>/prospector/config/__init__.py", line 6, in <module> from prospector import tools File "/<<PKGBUILDDIR>>/prospector/tools/__init__.py", line 7, in <module> from prospector.tools.pylint import PylintTool File "/<<PKGBUILDDIR>>/prospector/tools/pylint/__init__.py", line 6, in <module> from pylint.config import find_pylintrc ImportError: cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py) ====================================================================== ERROR: Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 235, in load_module return load_source(name, filename, file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 172, in load_source module = _load(spec) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 721, in _load File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/<<PKGBUILDDIR>>/tests/profiles/test_profile.py", line 3, in <module> from prospector.profiles.profile import ProspectorProfile File "/<<PKGBUILDDIR>>/prospector/profiles/profile.py", line 6, in <module> from prospector.tools import TOOLS File "/<<PKGBUILDDIR>>/prospector/tools/__init__.py", line 7, in <module> from prospector.tools.pylint import PylintTool File "/<<PKGBUILDDIR>>/prospector/tools/pylint/__init__.py", line 6, in <module> from pylint.config import find_pylintrc ImportError: cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py) ====================================================================== ERROR: Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 235, in load_module return load_source(name, filename, file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 172, in load_source module = _load(spec) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 721, in _load File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/<<PKGBUILDDIR>>/tests/tools/pep8/test_pep8_tool.py", line 6, in <module> from prospector.config import ProspectorConfig File "/<<PKGBUILDDIR>>/prospector/config/__init__.py", line 6, in <module> from prospector import tools File "/<<PKGBUILDDIR>>/prospector/tools/__init__.py", line 7, in <module> from prospector.tools.pylint import PylintTool File "/<<PKGBUILDDIR>>/prospector/tools/pylint/__init__.py", line 6, in <module> from pylint.config import find_pylintrc ImportError: cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py) ====================================================================== ERROR: Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 235, in load_module return load_source(name, filename, file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 172, in load_source module = _load(spec) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 721, in _load File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/<<PKGBUILDDIR>>/tests/tools/pylint/test_pylint_tool.py", line 6, in <module> from prospector.config import ProspectorConfig File "/<<PKGBUILDDIR>>/prospector/config/__init__.py", line 6, in <module> from prospector import tools File "/<<PKGBUILDDIR>>/prospector/tools/__init__.py", line 7, in <module> from prospector.tools.pylint import PylintTool File "/<<PKGBUILDDIR>>/prospector/tools/pylint/__init__.py", line 6, in <module> from pylint.config import find_pylintrc ImportError: cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py) ====================================================================== ERROR: Failure: ImportError (cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 235, in load_module return load_source(name, filename, file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/imp.py", line 172, in load_source module = _load(spec) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 721, in _load File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/<<PKGBUILDDIR>>/tests/test_formatter_types.py", line 7, in <module> from prospector.profiles.profile import ProspectorProfile File "/<<PKGBUILDDIR>>/prospector/profiles/profile.py", line 6, in <module> from prospector.tools import TOOLS File "/<<PKGBUILDDIR>>/prospector/tools/__init__.py", line 7, in <module> from prospector.tools.pylint import PylintTool File "/<<PKGBUILDDIR>>/prospector/tools/pylint/__init__.py", line 6, in <module> from pylint.config import find_pylintrc ImportError: cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3/dist-packages/pylint/config/__init__.py) ---------------------------------------------------------------------- Ran 24 tests in 0.011s FAILED (SKIP=1, errors=5) E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: python3.11 -m nose -v tests/ dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.11 returned exit code 13 make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:11: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202405/ About the archive rebuild: The build was made on virtual machines of type m6a.large and r6a.large from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. 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.