Source: ros2-ament-index
Version: 1.5.0-5
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):
> make[2]: Entering directory 
> '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ament_index_cpp'
> make[2]: Nothing to be done for 'preinstall'.
> make[2]: Leaving directory 
> '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ament_index_cpp'
> Install the project...
> /usr/bin/cmake -P cmake_install.cmake
> -- Install configuration: "None"
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/share/ament_index/resource_index/packages/ament_index_cpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/ament_index_cpp/export_ament_index_cppExport.cmake
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/ament_index_cpp/export_ament_index_cppExport-none.cmake
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/ament_index_cpp/ament_cmake_export_targets-extras.cmake
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/ament_index_cpp/ament_index_cppConfig.cmake
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/ament_index_cpp/ament_index_cppConfig-version.cmake
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/share/ament_index_cpp/package.xml
> -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp/ament_index_cpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp/ament_index_cpp/get_resource.hpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp/ament_index_cpp/get_resources.hpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp/ament_index_cpp/get_search_paths.hpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp/ament_index_cpp/get_packages_with_prefixes.hpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp/ament_index_cpp/visibility_control.h
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp/ament_index_cpp/has_resource.hpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp/ament_index_cpp/get_package_share_directory.hpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/include/ament_index_cpp/ament_index_cpp/get_package_prefix.hpp
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libament_index_cpp.so.0d
> -- Installing: 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libament_index_cpp.so
> make[1]: Leaving directory 
> '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ament_index_cpp'
> 
> =============================================================================
> = ROS Package ament_index_python                                            =
> =============================================================================
>     dh_auto_configure --sourcedir=ament_index_python --buildsystem=pybuild --
> I: pybuild base:240: python3.10 setup.py config 
> running config
>     dh_auto_build --sourcedir=ament_index_python --buildsystem=pybuild --
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/ament_index_python
> copying ament_index_python/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/ament_index_python
> copying ament_index_python/cli.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/ament_index_python
> copying ament_index_python/resources.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/ament_index_python
> copying ament_index_python/search_paths.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/ament_index_python
> copying ament_index_python/packages.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/ament_index_python
> copying ament_index_python/constants.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/ament_index_python
>     dh_auto_test --sourcedir=ament_index_python --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>>, configfile: pytest.ini
> 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 24 items
> 
> test/test_ament_index_python.py ...................s.                    [ 
> 87%]
> test/test_copyright.py .                                                 [ 
> 91%]
> test/test_flake8.py F                                                    [ 
> 95%]
> 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:
> 
>     @pytest.mark.flake8
>     @pytest.mark.linter
>     def test_flake8():
> >       rc, errors = main_with_errors(argv=[])
> 
> test/test_flake8.py:22: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /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, 22 passed, 1 skipped in 0.31s 
> ====================
> 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 ament_index_python returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/ros2-ament-index_1.5.0-5_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.

Reply via email to