Package: src:ros2-colcon-core
Version: 0.17.1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
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:311: python3.12 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/argument_type.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/package_decorator.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/location.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/entry_point.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/argument_default.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/topological_order.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/dependency_descriptor.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/plugin_system.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/event_reactor.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/environment_variable.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/extension_point.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/package_descriptor.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/logging.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/feature_flags.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/subprocess.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/command.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/python_install_path.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
copying colcon_core/generic_decorator.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon
copying colcon/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon
copying colcon/__main__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/distutils
copying colcon_core/distutils/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/distutils
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event
copying colcon_core/event/output.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event
copying colcon_core/event/test.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event
copying colcon_core/event/job.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event
copying colcon_core/event/timer.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event
copying colcon_core/event/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event
copying colcon_core/event/command.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_selection
copying colcon_core/package_selection/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_selection
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/argument_parser
copying colcon_core/argument_parser/destination_collector.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/argument_parser
copying colcon_core/argument_parser/type_collector.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/argument_parser
copying colcon_core/argument_parser/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/argument_parser
copying colcon_core/argument_parser/action_collector.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/argument_parser
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_discovery
copying colcon_core/package_discovery/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_discovery
copying colcon_core/package_discovery/path.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_discovery
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event_handler
copying colcon_core/event_handler/console_start_end.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event_handler
copying colcon_core/event_handler/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event_handler
copying colcon_core/event_handler/log_command.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event_handler
copying colcon_core/event_handler/console_direct.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/event_handler
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/executor
copying colcon_core/executor/sequential.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/executor
copying colcon_core/executor/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/executor
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task
copying colcon_core/task/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/prefix_path
copying colcon_core/prefix_path/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/prefix_path
copying colcon_core/prefix_path/colcon.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/prefix_path
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/environment
copying colcon_core/environment/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/environment
copying colcon_core/environment/pythonpath.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/environment
copying colcon_core/environment/path.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/environment
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/verb
copying colcon_core/verb/test.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/verb
copying colcon_core/verb/build.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/verb
copying colcon_core/verb/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/verb
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell
copying colcon_core/shell/sh.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell
copying colcon_core/shell/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell
copying colcon_core/shell/bat.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell
copying colcon_core/shell/dsv.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell
copying colcon_core/shell/installed_packages.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_identification
copying colcon_core/package_identification/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_identification
copying colcon_core/package_identification/python.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_identification
copying colcon_core/package_identification/ignore.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_identification
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/pytest
copying colcon_core/pytest/hooks.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/pytest
copying colcon_core/pytest/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/pytest
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_augmentation
copying colcon_core/package_augmentation/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_augmentation
copying colcon_core/package_augmentation/python.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/package_augmentation
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/distutils/commands
copying colcon_core/distutils/commands/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/distutils/commands
copying colcon_core/distutils/commands/symlink_data.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/distutils/commands
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python
copying colcon_core/task/python/build.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python
copying colcon_core/task/python/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/template
copying colcon_core/task/python/template/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/template
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/colcon_distutils_commands
copying colcon_core/task/python/colcon_distutils_commands/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/colcon_distutils_commands
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/test
copying colcon_core/task/python/test/setuppy_test.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/test
copying colcon_core/task/python/test/pytest.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/test
copying colcon_core/task/python/test/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/test
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/prefix_util.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/task/python/template/sitecustomize.py.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/template
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/colcon_distutils_commands/colcon_distutils_commands-0.0.0.dist-info
copying
colcon_core/task/python/colcon_distutils_commands/colcon_distutils_commands-0.0.0.dist-info/METADATA
->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/colcon_distutils_commands/colcon_distutils_commands-0.0.0.dist-info
copying
colcon_core/task/python/colcon_distutils_commands/colcon_distutils_commands-0.0.0.dist-info/entry_points.txt
->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/task/python/colcon_distutils_commands/colcon_distutils_commands-0.0.0.dist-info
copying colcon_core/shell/template/hook_set_value.dsv.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/prefix.sh.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/hook_prepend_value.bat.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/package.bat.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/command_prefix.bat.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/hook_set_value.bat.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/prefix.bat.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/hook_append_value.dsv.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/package.dsv.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/prefix_util.py.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/hook_append_value.bat.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/command_prefix.sh.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/hook_append_value.sh.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/prefix_chain.sh.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/hook_set_value.sh.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/hook_prepend_value.dsv.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/package.sh.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/prefix_chain.bat.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
copying colcon_core/shell/template/hook_prepend_value.sh.em ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/colcon_core/shell/template
dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: python3.12 setup.py egg_info && cp -r /<<PKGBUILDDIR>>/*.egg-info
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
running egg_info
creating colcon_core.egg-info
writing colcon_core.egg-info/PKG-INFO
writing dependency_links to colcon_core.egg-info/dependency_links.txt
writing entry points to colcon_core.egg-info/entry_points.txt
writing requirements to colcon_core.egg-info/requires.txt
writing top-level names to colcon_core.egg-info/top_level.txt
writing manifest file 'colcon_core.egg-info/SOURCES.txt'
reading manifest file 'colcon_core.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'colcon_core.egg-info/SOURCES.txt'
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
python3.12 -m pytest -m 'not linter'
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: colcon-core-0.17.1, typeguard-4.3.0, cov-5.0.0
collected 197 items / 5 deselected / 192 selected
test/test_action_collector.py ..... [ 2%]
test/test_argument_default.py . [ 3%]
test/test_argument_parser.py ... [ 4%]
test/test_build_python.py ............ [ 10%]
test/test_command.py ...F.......s [ 17%]
test/test_dependency_descriptor.py . [ 17%]
test/test_destination_collector.py . [ 18%]
test/test_entry_point.py ... [ 19%]
test/test_environment.py .... [ 21%]
test/test_environment_path.py . [ 22%]
test/test_environment_pythonpath.py . [ 22%]
test/test_environment_pythonscriptspath.py . [ 23%]
test/test_event_command.py . [ 23%]
test/test_event_handler.py ..... [ 26%]
test/test_event_handler_console_direct.py . [ 27%]
test/test_event_handler_console_start_end.py . [ 27%]
test/test_event_handler_log_command.py . [ 28%]
test/test_event_reactor.py . [ 28%]
test/test_executor.py .... [ 30%]
test/test_executor_sequential.py .. [ 31%]
test/test_extension_point.py ..... [ 34%]
test/test_feature_flags.py ........................... [ 48%]
test/test_location.py .... [ 50%]
test/test_logging.py .... [ 52%]
test/test_package_augmentation.py .... [ 54%]
test/test_package_decorator.py ... [ 56%]
test/test_package_descriptor.py ....... [ 59%]
test/test_package_discovery.py ...... [ 63%]
test/test_package_discovery_path.py ..... [ 65%]
test/test_package_identification.py ... [ 67%]
test/test_package_identification_ignore.py . [ 67%]
test/test_package_identification_python.py .. [ 68%]
test/test_package_selection.py ..... [ 71%]
test/test_plugin_system.py ....... [ 75%]
test/test_prefix_path.py ... [ 76%]
test/test_shell.py ............. [ 83%]
test/test_shell_bat.py . [ 83%]
test/test_shell_sh.py . [ 84%]
test/test_shell_template.py . [ 84%]
test/test_shell_template_prefix_util.py .... [ 86%]
test/test_subprocess.py sss [ 88%]
test/test_task.py ..s.... [ 92%]
test/test_task_python_test_pytest.py . [ 92%]
test/test_topological_order.py .. [ 93%]
test/test_type_collector.py ... [ 95%]
test/test_verb.py ..... [ 97%]
test/test_verb_build.py .. [ 98%]
test/test_verb_test.py .. [100%]
=================================== FAILURES ===================================
______________________________ test_create_parser ______________________________
def test_create_parser():
with ExtensionPointContext():
parser = create_parser('colcon_core.environment_variable')
parser.add_argument('--foo', nargs='*', type=str.lstrip)
args = parser.parse_args(['--foo', '--bar', '--baz'])
test/test_command.py:127:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.12/argparse.py:1911: in parse_args
self.error(msg)
/usr/lib/python3.12/argparse.py:2684: in error
self.exit(2, _('%(prog)s: error: %(message)s\n') % args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = CustomArgumentParser(prog='pytest', usage=None, description=None,
formatter_class=<class 'colcon_core.command.CustomFormatter'>,
conflict_handler='error', add_help=True)
status = 2, message = 'pytest: error: unrecognized arguments: --bar --baz\n'
def exit(self, status=0, message=None):
if message:
self._print_message(message, _sys.stderr)
_sys.exit(status)
E SystemExit: 2
/usr/lib/python3.12/argparse.py:2671: SystemExit
----------------------------- Captured stderr call -----------------------------
usage: pytest [-h] [--log-base LOG_BASE] [--log-level LOG_LEVEL]
[--foo [FOO ...]]
pytest: error: unrecognized arguments: --bar --baz
=========================== short test summary info ============================
FAILED test/test_command.py::test_create_parser - SystemExit: 2
=========== 1 failed, 186 passed, 5 skipped, 5 deselected in 14.97s ============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest -m 'not
linter'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12
returned exit code 13
make: *** [debian/rules:11: binary] Error 25
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/202410/
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 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.