[Pkg-freeipa-devel] Bug#1028177: 389-ds-base FTBFS with Python 3.11 as default version

Adrian Bunk bunk at debian.org
Sun Jan 8 04:42:44 GMT 2023


Source: 389-ds-base
Version: 2.0.15-1.1
Severity: serious
Tags: ftbfs
Forwarded: https://github.com/389ds/389-ds-base/issues/5333

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/389-ds-base.html

...
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/1st/389-ds-base-2.0.15'
(cd src/lib389 && python3 setup.py build)
running build
running build_py
running build_manpages
generating man/dsconf.8
Traceback (most recent call last):
  File "/build/1st/389-ds-base-2.0.15/src/lib389/setup.py", line 33, in <module>
    setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1208, in run_command
    super().run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", line 132, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1208, in run_command
    super().run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/build_manpages/build_manpages.py", line 85, in run
    self.run_command(DEFAULT_CMD_NAME)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1208, in run_command
    super().run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/build_manpages/build_manpages.py", line 74, in run
    parser = get_parser(data['import_type'], data['import_from'], data['objname'], data['objtype'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/build_manpages/build_manpage.py", line 43, in get_parser
    return get_parser_from_file(import_from, objname, objtype)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/build_manpages/build_manpage.py", line 37, in get_parser_from_file
    filedict = run_path(filename)
               ^^^^^^^^^^^^^^^^^^
  File "<frozen runpy>", line 291, in run_path
  File "<frozen runpy>", line 98, in _run_module_code
  File "<frozen runpy>", line 88, in _run_code
  File "cli/dsconf", line 83, in <module>
    cli_plugin.create_parser(subparsers)
  File "/build/1st/389-ds-base-2.0.15/src/lib389/lib389/cli_conf/plugin.py", line 115, in create_parser
    cli_passthroughauth.create_parser(subcommands)
  File "/build/1st/389-ds-base-2.0.15/src/lib389/lib389/cli_conf/plugins/passthroughauth.py", line 241, in create_parser
    enable = subcommands.add_parser('enable', help='Enable the pass through authentication plugins')
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument {show,enable,disable,status}: conflicting subparser: enable
make[1]: *** [debian/rules:42: override_dh_auto_build] Error 1



More information about the Pkg-freeipa-devel mailing list