Package: src:ros2-colcon-argcomplete Version: 0.3.3+ds-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202601/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot 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 add an affects on src:ros2-colcon-argcomplete, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:384: python3.14 setup.py clean /<<PKGBUILDDIR>>/setup.py:16: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.14' does not exist -- can't clean it I: pybuild base:384: python3.13 setup.py clean /<<PKGBUILDDIR>>/setup.py:16: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:384: python3.14 setup.py config /<<PKGBUILDDIR>>/setup.py:16: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running config I: pybuild base:384: python3.13 setup.py config /<<PKGBUILDDIR>>/setup.py:16: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:384: /usr/bin/python3.14 setup.py build /<<PKGBUILDDIR>>/setup.py:16: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete copying colcon_argcomplete/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argcomplete_completer copying colcon_argcomplete/argcomplete_completer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argcomplete_completer creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argument_parser copying colcon_argcomplete/argument_parser/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argument_parser creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argument_parser/argcomplete copying colcon_argcomplete/argument_parser/argcomplete/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argument_parser/argcomplete creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argument_parser/argcomplete/completer copying colcon_argcomplete/argument_parser/argcomplete/completer/package_name.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argument_parser/argcomplete/completer copying colcon_argcomplete/argument_parser/argcomplete/completer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argument_parser/argcomplete/completer I: pybuild base:384: /usr/bin/python3 setup.py build /<<PKGBUILDDIR>>/setup.py:16: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete copying colcon_argcomplete/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argcomplete_completer copying colcon_argcomplete/argcomplete_completer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argcomplete_completer creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argument_parser copying colcon_argcomplete/argument_parser/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argument_parser creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argument_parser/argcomplete copying colcon_argcomplete/argument_parser/argcomplete/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argument_parser/argcomplete creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argument_parser/argcomplete/completer copying colcon_argcomplete/argument_parser/argcomplete/completer/package_name.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argument_parser/argcomplete/completer copying colcon_argcomplete/argument_parser/argcomplete/completer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argument_parser/argcomplete/completer dh_auto_test -O--buildsystem=pybuild I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest test ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> configfile: setup.cfg plugins: colcon-core-0.20.0, cov-5.0.0, typeguard-4.4.4, repeat-0.9.4, rerunfailures-16.1 collected 2 items / 1 skipped test/test_copyright_license.py . [ 50%] test/test_flake8.py F [100%] =================================== FAILURES =================================== _________________________________ test_flake8 __________________________________ def test_flake8(): style_guide = get_style_guide( extend_ignore=['D100', 'D104'], show_source=True, ) style_guide_tests = get_style_guide( extend_ignore=['D100', 'D101', 'D102', 'D103', 'D104', 'D105', 'D107'], show_source=True, ) stdout = sys.stdout sys.stdout = sys.stderr # implicitly calls report_errors() report = style_guide.check_files([ str(Path(__file__).parents[1] / 'colcon_argcomplete'), ]) report_tests = style_guide_tests.check_files([ str(Path(__file__).parents[1] / 'test'), ]) sys.stdout = stdout total_errors = report.total_errors + report_tests.total_errors if total_errors: # pragma: no cover # output summary with per-category counts print() if report.total_errors: report._application.formatter.show_statistics(report._stats) if report_tests.total_errors: report_tests._application.formatter.show_statistics( report_tests._stats) print( 'flake8 reported {total_errors} errors' .format_map(locals()), file=sys.stderr) > assert not total_errors, \ 'flake8 reported {total_errors} errors'.format_map(locals()) E AssertionError: flake8 reported 2 errors E assert not 2 test/test_flake8.py:50: AssertionError ----------------------------- Captured stdout call ----------------------------- 1 F824 `global _start_time` is unused: name is never assigned in scope 1 F824 `global spell_check_words_path` is unused: name is never assigned in scope ----------------------------- Captured stderr call ----------------------------- /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_argcomplete/argument_parser/argcomplete/__init__.py:84:9: F824 `global _start_time` is unused: name is never assigned in scope global _start_time ^ /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test/test_spell_check.py:20:5: F824 `global spell_check_words_path` is unused: name is never assigned in scope global spell_check_words_path ^ flake8 reported 2 errors =========================== short test summary info ============================ FAILED test/test_flake8.py::test_flake8 - AssertionError: flake8 reported 2 e... ==================== 1 failed, 1 passed, 1 skipped in 0.25s ==================== E: pybuild pybuild:483: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest test I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest test ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> configfile: setup.cfg plugins: colcon-core-0.20.0, cov-5.0.0, typeguard-4.4.4, repeat-0.9.4, rerunfailures-16.1 collected 2 items / 1 skipped test/test_copyright_license.py . [ 50%] test/test_flake8.py F [100%] =================================== FAILURES =================================== _________________________________ test_flake8 __________________________________ def test_flake8(): style_guide = get_style_guide( extend_ignore=['D100', 'D104'], show_source=True, ) style_guide_tests = get_style_guide( extend_ignore=['D100', 'D101', 'D102', 'D103', 'D104', 'D105', 'D107'], show_source=True, ) stdout = sys.stdout sys.stdout = sys.stderr # implicitly calls report_errors() report = style_guide.check_files([ str(Path(__file__).parents[1] / 'colcon_argcomplete'), ]) report_tests = style_guide_tests.check_files([ str(Path(__file__).parents[1] / 'test'), ]) sys.stdout = stdout total_errors = report.total_errors + report_tests.total_errors if total_errors: # pragma: no cover # output summary with per-category counts print() if report.total_errors: report._application.formatter.show_statistics(report._stats) if report_tests.total_errors: report_tests._application.formatter.show_statistics( report_tests._stats) print( 'flake8 reported {total_errors} errors' .format_map(locals()), file=sys.stderr) > assert not total_errors, \ 'flake8 reported {total_errors} errors'.format_map(locals()) E AssertionError: flake8 reported 2 errors E assert not 2 test/test_flake8.py:50: AssertionError ----------------------------- Captured stdout call ----------------------------- 1 F824 `global _start_time` is unused: name is never assigned in scope 1 F824 `global spell_check_words_path` is unused: name is never assigned in scope ----------------------------- Captured stderr call ----------------------------- /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_argcomplete/argument_parser/argcomplete/__init__.py:84:9: F824 `global _start_time` is unused: name is never assigned in scope global _start_time ^ /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/test/test_spell_check.py:20:5: F824 `global spell_check_words_path` is unused: name is never assigned in scope global spell_check_words_path ^ flake8 reported 2 errors =========================== short test summary info ============================ FAILED test/test_flake8.py::test_flake8 - AssertionError: flake8 reported 2 e... ==================== 1 failed, 1 passed, 1 skipped in 0.09s ==================== E: pybuild pybuild:483: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest test dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

