Package: src:ros2-colcon-cmake Version: 0.2.29-1 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/202603/ 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-cmake, 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:385: python3.14 setup.py clean /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:385: python3.13 setup.py clean /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:385: python3.14 setup.py config /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:385: python3.13 setup.py config /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:385: /usr/bin/python3.14 setup.py build /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_cmake copying colcon_cmake/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/environment copying colcon_cmake/environment/cmake_prefix_path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/environment copying colcon_cmake/environment/cmake_module_path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/environment copying colcon_cmake/environment/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/environment creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/test_result copying colcon_cmake/test_result/ctest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/test_result copying colcon_cmake/test_result/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/test_result creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/package_identification copying colcon_cmake/package_identification/cmake.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/package_identification copying colcon_cmake/package_identification/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/package_identification creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/argcomplete_completer copying colcon_cmake/argcomplete_completer/cmake_args.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/argcomplete_completer copying colcon_cmake/argcomplete_completer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/argcomplete_completer creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/event_handler copying colcon_cmake/event_handler/compile_commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/event_handler copying colcon_cmake/event_handler/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/event_handler creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/task copying colcon_cmake/task/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/task creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/task/cmake copying colcon_cmake/task/cmake/build.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/task/cmake copying colcon_cmake/task/cmake/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/task/cmake copying colcon_cmake/task/cmake/test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/colcon_cmake/task/cmake I: pybuild base:385: /usr/bin/python3 setup.py build /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_cmake copying colcon_cmake/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/environment copying colcon_cmake/environment/cmake_prefix_path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/environment copying colcon_cmake/environment/cmake_module_path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/environment copying colcon_cmake/environment/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/environment creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/test_result copying colcon_cmake/test_result/ctest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/test_result copying colcon_cmake/test_result/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/test_result creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/package_identification copying colcon_cmake/package_identification/cmake.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/package_identification copying colcon_cmake/package_identification/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/package_identification creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/argcomplete_completer copying colcon_cmake/argcomplete_completer/cmake_args.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/argcomplete_completer copying colcon_cmake/argcomplete_completer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/argcomplete_completer creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/event_handler copying colcon_cmake/event_handler/compile_commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/event_handler copying colcon_cmake/event_handler/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/event_handler creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/task copying colcon_cmake/task/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/task creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/task/cmake copying colcon_cmake/task/cmake/build.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/task/cmake copying colcon_cmake/task/cmake/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/task/cmake copying colcon_cmake/task/cmake/test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/colcon_cmake/task/cmake dh_auto_test -O--buildsystem=pybuild I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -m "not linter" ============================= test session starts ============================== platform linux -- Python 3.14.3, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> configfile: setup.cfg plugins: rerunfailures-16.1, cov-5.0.0, typeguard-4.4.4, repeat-0.9.4, colcon-core-0.20.0 collected 11 items / 5 deselected / 6 selected test/test_environment_cmake_module_path.py . [ 16%] test/test_environment_cmake_prefix_path.py . [ 33%] test/test_package_identification_cmake.py . [ 50%] test/test_parse_cmake_version.py F [ 66%] test/test_task_cmake_build.py ss [100%] =================================== FAILURES =================================== ___________________________ test_parse_cmake_version ___________________________ def test_parse_cmake_version(): # Build version prefix string closely matching what cmake version outputs. base_prefix = 'cmake version ' # Expected results list. Each element is a tuple containing the following: # - Version string to parse. # - Numeric version tuple to compare against (major, minor, patch). # The second item is None where the parse string should not parse. test_items = [ (base_prefix + '3.0.0', (3, 0, 0)), (base_prefix + '3.0.0-dirty', (3, 0, 0)), (base_prefix + '3.0.0-rc1', (3, 0, 0)), (base_prefix + 'cmake version 3.0.0-rc1-dirty', (3, 0, 0)), (base_prefix + 'this.is.garbage', None), (base_prefix + '3.15.1', (3, 15, 1)), ('3.15.1', (3, 15, 1)), (base_prefix + '101.202.303-xxx', (101, 202, 303)), ('101.202.303-xxx', (101, 202, 303)), ('prefix 1 number 101.202.303-xxx', (101, 202, 303)), ('not the right format', None) ] # Iterate the strings and parse. for version_string, expected_version in test_items: parsed_version = _parse_cmake_version_string(version_string) if expected_version is None: # Input string was garbage. Assert parsing failed. assert parsed_version is None else: > assert parsed_version._version.release[0:3] == expected_version ^^^^^^^^^^^^^^^^^^^^^^^ test/test_parse_cmake_version.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<Version('3.0.0')>,), kwargs = {} @functools.wraps(arg) def wrapper(*args, **kwargs): > _wm.warn(msg, category=category, stacklevel=stacklevel + 1) E DeprecationWarning: Version._version is private and will be removed soon /usr/lib/python3.14/_py_warnings.py:799: DeprecationWarning =========================== short test summary info ============================ FAILED test/test_parse_cmake_version.py::test_parse_cmake_version - Deprecati... ============= 1 failed, 3 passed, 2 skipped, 5 deselected in 0.07s ============= E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -m "not linter" I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -m "not linter" ============================= test session starts ============================== platform linux -- Python 3.13.12, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> configfile: setup.cfg plugins: rerunfailures-16.1, cov-5.0.0, typeguard-4.4.4, repeat-0.9.4, colcon-core-0.20.0 collected 11 items / 5 deselected / 6 selected test/test_environment_cmake_module_path.py . [ 16%] test/test_environment_cmake_prefix_path.py . [ 33%] test/test_package_identification_cmake.py . [ 50%] test/test_parse_cmake_version.py F [ 66%] test/test_task_cmake_build.py ss [100%] =================================== FAILURES =================================== ___________________________ test_parse_cmake_version ___________________________ def test_parse_cmake_version(): # Build version prefix string closely matching what cmake version outputs. base_prefix = 'cmake version ' # Expected results list. Each element is a tuple containing the following: # - Version string to parse. # - Numeric version tuple to compare against (major, minor, patch). # The second item is None where the parse string should not parse. test_items = [ (base_prefix + '3.0.0', (3, 0, 0)), (base_prefix + '3.0.0-dirty', (3, 0, 0)), (base_prefix + '3.0.0-rc1', (3, 0, 0)), (base_prefix + 'cmake version 3.0.0-rc1-dirty', (3, 0, 0)), (base_prefix + 'this.is.garbage', None), (base_prefix + '3.15.1', (3, 15, 1)), ('3.15.1', (3, 15, 1)), (base_prefix + '101.202.303-xxx', (101, 202, 303)), ('101.202.303-xxx', (101, 202, 303)), ('prefix 1 number 101.202.303-xxx', (101, 202, 303)), ('not the right format', None) ] # Iterate the strings and parse. for version_string, expected_version in test_items: parsed_version = _parse_cmake_version_string(version_string) if expected_version is None: # Input string was garbage. Assert parsing failed. assert parsed_version is None else: > assert parsed_version._version.release[0:3] == expected_version ^^^^^^^^^^^^^^^^^^^^^^^ test/test_parse_cmake_version.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<Version('3.0.0')>,), kwargs = {} @functools.wraps(arg) def wrapper(*args, **kwargs): > warn(msg, category=category, stacklevel=stacklevel + 1) E DeprecationWarning: Version._version is private and will be removed soon /usr/lib/python3.13/warnings.py:636: DeprecationWarning =========================== short test summary info ============================ FAILED test/test_parse_cmake_version.py::test_parse_cmake_version - Deprecati... ============= 1 failed, 3 passed, 2 skipped, 5 deselected in 0.07s ============= E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -m "not linter" dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

