Source: ros2-ament-cmake-ros Version: 0.11.1-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220917 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --buildsystem=ros > dh_update_autotools_config -O--buildsystem=ros > dh_autoreconf -O--buildsystem=ros > dh_auto_configure -O--buildsystem=ros > dh_auto_build -O--buildsystem=ros > dh_auto_test -O--buildsystem=ros > create-stamp debian/debhelper-build-stamp > dh_testroot -O--buildsystem=ros > dh_prep -O--buildsystem=ros > dh_auto_install -O--buildsystem=ros > ############################################################################# > ## Detected ROS packages (in build order): ## > ## ## > ## - domain_coordinator [ament_python] ## > ## - ament_cmake_ros [ament_cmake] ## > ############################################################################# > > ============================================================================= > = ROS Package domain_coordinator = > ============================================================================= > dh_auto_configure --sourcedir=domain_coordinator --buildsystem=pybuild -- > I: pybuild base:240: python3.10 setup.py config > running config > dh_auto_build --sourcedir=domain_coordinator --buildsystem=pybuild -- > I: pybuild base:240: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/domain_coordinator > copying domain_coordinator/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/domain_coordinator > copying domain_coordinator/impl.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/domain_coordinator > dh_auto_test --sourcedir=domain_coordinator --buildsystem=pybuild -- > I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; > python3.10 -m pytest test > ============================= test session starts > ============================== > platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build > plugins: ament-lint-0.13.2, ament-pep257-0.13.2, ament-copyright-0.13.2, > ament-xmllint-0.13.2, ament-flake8-0.13.2 > collected 6 items > > test/test_copyright.py . [ > 16%] > test/test_domain_coordinator.py ... [ > 66%] > test/test_flake8.py F [ > 83%] > test/test_pep257.py . > [100%] > > =================================== FAILURES > =================================== > _________________________________ test_flake8 > __________________________________ > > config_file = > '/usr/lib/python3/dist-packages/ament_flake8/configuration/ament_flake8.ini' > > def parse_config_file(config_file): > from flake8.options import config, manager, aggregator > > try: > # Support 4.0.0 > > opts_manager = manager.OptionManager(prog='flake8', > > version='4.0.0') > E TypeError: OptionManager.__init__() got an unexpected keyword > argument 'prog' > > /usr/lib/python3/dist-packages/ament_flake8/main.py:197: TypeError > > During handling of the above exception, another exception occurred: > > def test_flake8(): > > rc, errors = main_with_errors(argv=[]) > > test/test_flake8.py:19: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/ament_flake8/main.py:88: in main_with_errors > report = generate_flake8_report( > /usr/lib/python3/dist-packages/ament_flake8/main.py:217: in > generate_flake8_report > opts, _ = parse_config_file(config_file) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > config_file = > '/usr/lib/python3/dist-packages/ament_flake8/configuration/ament_flake8.ini' > > def parse_config_file(config_file): > from flake8.options import config, manager, aggregator > > try: > # Support 4.0.0 > opts_manager = manager.OptionManager(prog='flake8', > version='4.0.0') > flake8_options.register_default_options(opts_manager) > > return aggregator.aggregate_options( > opts_manager, > config.ConfigFileFinder('flake8', [], config_file), > [] > ) > except TypeError: > > opts_manager = manager.OptionManager(prog='flake8', > > version='3.0.0') > E TypeError: OptionManager.__init__() got an unexpected keyword > argument 'prog' > > /usr/lib/python3/dist-packages/ament_flake8/main.py:206: TypeError > =========================== short test summary info > ============================ > FAILED test/test_flake8.py::test_flake8 - TypeError: > OptionManager.__init__()... > ========================= 1 failed, 5 passed in 0.27s > ========================== > E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest test > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 > --dir domain_coordinator returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/09/17/ros2-ament-cmake-ros_0.11.1-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results 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.