Source: ros2-ament-cmake-ros
Version: 0.11.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):
>  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
> I: pybuild base:240: python3.11 setup.py config 
> running config
>     dh_auto_build --sourcedir=domain_coordinator --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/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
> I: pybuild base:240: /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: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>>/.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 .                                                    [ 
> 83%]
> test/test_pep257.py F                                                    
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________________ test_pep257 
> __________________________________
> 
>     def test_pep257():
> >       rc = main(argv=[])
> 
> test/test_pep257.py:19: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /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, 5 passed in 0.53s 
> ==========================
> 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>>/.pybuild/cpython3_3.11/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 .                                                    [ 
> 83%]
> test/test_pep257.py F                                                    
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________________ test_pep257 
> __________________________________
> 
>     def test_pep257():
> >       rc = main(argv=[])
> 
> test/test_pep257.py:19: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /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, 5 passed in 0.33s 
> ==========================
> 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 domain_coordinator returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/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-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