Source: ros2-ament-index
Version: 1.5.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230113 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
> I: pybuild base:240: python3.11 setup.py config 
> running config
>     dh_auto_build --sourcedir=ament_index_python --buildsystem=pybuild --
> I: pybuild base:240: /usr/bin/python3.10 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
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ament_index_python
> copying ament_index_python/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ament_index_python
> copying ament_index_python/cli.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ament_index_python
> copying ament_index_python/resources.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ament_index_python
> copying ament_index_python/search_paths.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ament_index_python
> copying ament_index_python/packages.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ament_index_python
> copying ament_index_python/constants.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/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.9, pytest-7.2.0, 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 .                                                    [ 
> 95%]
> test/test_pep257.py F                                                    
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________________ test_pep257 
> __________________________________
> 
>     @pytest.mark.linter
>     @pytest.mark.pep257
>     def test_pep257():
> >       rc = main(argv=[])
> 
> test/test_pep257.py:22: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/ament_pep257/main.py:125: in main
>     report = generate_pep257_report(args.paths, excludes, args.ignore, 
> args.select,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> paths = ['.'], excludes = []
> ignore = 'D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404', select = ''
> convention = 'ament', add_ignore = '', add_select = ''
> 
>     def generate_pep257_report(paths, excludes, ignore, select, convention, 
> add_ignore, add_select):
>         conf = ConfigurationParser()
>         sys_argv = sys.argv
>         sys.argv = [
>             'main',
>             '--match', r'.*\.py',
>             '--match-dir', r'[^\._].*',
>         ]
>         if ignore:
>             sys.argv += ['--ignore', ignore]
>         elif select:
>             sys.argv += ['--select', select]
>         else:
>             sys.argv += ['--convention', convention]
>         if add_ignore:
>             sys.argv += ['--add-ignore', add_ignore]
>         if add_select:
>             sys.argv += ['--add-select', add_select]
>         sys.argv += paths
>         conf.parse()
>         sys.argv = sys_argv
>         files_to_check = conf.get_files_to_check()
>     
>         report = []
>     
>         files_dict = {}
> >       for filename, checked_codes, ignore_decorators in files_to_check:
> E       ValueError: too many values to unpack (expected 3)
> 
> /usr/lib/python3/dist-packages/ament_pep257/main.py:190: ValueError
> =========================== short test summary info 
> ============================
> FAILED test/test_pep257.py::test_pep257 - ValueError: too many values to 
> unpa...
> =================== 1 failed, 22 passed, 1 skipped in 0.52s 
> ====================
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest test
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m pytest test
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, 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 .                                                    [ 
> 95%]
> test/test_pep257.py F                                                    
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________________ test_pep257 
> __________________________________
> 
>     @pytest.mark.linter
>     @pytest.mark.pep257
>     def test_pep257():
> >       rc = main(argv=[])
> 
> test/test_pep257.py:22: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/ament_pep257/main.py:125: in main
>     report = generate_pep257_report(args.paths, excludes, args.ignore, 
> args.select,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> paths = ['.'], excludes = []
> ignore = 'D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404', select = ''
> convention = 'ament', add_ignore = '', add_select = ''
> 
>     def generate_pep257_report(paths, excludes, ignore, select, convention, 
> add_ignore, add_select):
>         conf = ConfigurationParser()
>         sys_argv = sys.argv
>         sys.argv = [
>             'main',
>             '--match', r'.*\.py',
>             '--match-dir', r'[^\._].*',
>         ]
>         if ignore:
>             sys.argv += ['--ignore', ignore]
>         elif select:
>             sys.argv += ['--select', select]
>         else:
>             sys.argv += ['--convention', convention]
>         if add_ignore:
>             sys.argv += ['--add-ignore', add_ignore]
>         if add_select:
>             sys.argv += ['--add-select', add_select]
>         sys.argv += paths
>         conf.parse()
>         sys.argv = sys_argv
>         files_to_check = conf.get_files_to_check()
>     
>         report = []
>     
>         files_dict = {}
> >       for filename, checked_codes, ignore_decorators in files_to_check:
> E       ValueError: too many values to unpack (expected 3)
> 
> /usr/lib/python3/dist-packages/ament_pep257/main.py:190: ValueError
> =========================== short test summary info 
> ============================
> FAILED test/test_pep257.py::test_pep257 - ValueError: too many values to 
> unpa...
> =================== 1 failed, 22 passed, 1 skipped in 0.45s 
> ====================
> E: pybuild pybuild:388: 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.10 
> 3.11" --dir ament_index_python returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/ros2-ament-index_1.5.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&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.

Reply via email to