Source: ros2-ament-cmake-ros Version: 0.12.0-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 ftbfs-trixie
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:310: python3.12 setup.py config > running config > I: pybuild base:310: python3.11 setup.py config > running config > dh_auto_build --sourcedir=domain_coordinator --buildsystem=pybuild -- > I: pybuild base:310: /usr/bin/python3.12 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/domain_coordinator > copying domain_coordinator/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/domain_coordinator > copying domain_coordinator/impl.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/domain_coordinator > I: pybuild base:310: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/domain_coordinator > copying domain_coordinator/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/domain_coordinator > copying domain_coordinator/impl.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/domain_coordinator > dh_auto_test --sourcedir=domain_coordinator --buildsystem=pybuild -- > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; > python3.12 -m pytest test > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build > configfile: pytest.ini > plugins: ament-flake8-0.16.1, ament-pep257-0.16.1, ament-copyright-0.16.1, > ament-lint-0.16.1, ament-xmllint-0.16.1 > 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 > __________________________________ > > 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:231: 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 import __version__ as flake8_version, __version_info__ as > flake8_version_info > from flake8.options import config, manager, aggregator > > major_release = flake8_version_info[0] > > if major_release >= 5: > > opts_manager = manager.OptionManager( > version=flake8_version, > plugin_versions='', > parents=[] > ) > E TypeError: OptionManager.__init__() missing 1 required > keyword-only argument: 'formatter_names' > > /usr/lib/python3/dist-packages/ament_flake8/main.py:199: 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:395: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest test > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; > python3.11 -m pytest test > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build > configfile: pytest.ini > plugins: ament-flake8-0.16.1, ament-pep257-0.16.1, ament-copyright-0.16.1, > ament-lint-0.16.1, ament-xmllint-0.16.1 > 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 > __________________________________ > > 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:231: 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 import __version__ as flake8_version, __version_info__ as > flake8_version_info > from flake8.options import config, manager, aggregator > > major_release = flake8_version_info[0] > > if major_release >= 5: > > opts_manager = manager.OptionManager( > version=flake8_version, > plugin_versions='', > parents=[] > ) > E TypeError: OptionManager.__init__() missing 1 required > keyword-only argument: 'formatter_names' > > /usr/lib/python3/dist-packages/ament_flake8/main.py:199: TypeError > =========================== short test summary info > ============================ > FAILED test/test_flake8.py::test_flake8 - TypeError: > OptionManager.__init__()... > ========================= 1 failed, 5 passed in 0.30s > ========================== > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest test > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" --dir domain_coordinator returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/12/12/ros2-ament-cmake-ros_0.12.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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 mark 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.