Package: src:python-cliff
Version: 4.11.0-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-cliff, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --with python3,sphinxdoc --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
rm -rf cliff.egg-info build AUTHOR ChangeLog
find . -type d -iname __pycache__ -exec rm -rf {} \; || true
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
make: pyversions: No such file or directory

[... snipped ...]



======================================================================
FAIL: 
cliff.tests.test_interactive.TestInteractive.test_empty_text_completedefault
cliff.tests.test_interactive.TestInteractive.test_empty_text_completedefault
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 75, in 
test_empty_text_completedefault
    self._test_completedefault(['file', 'folder', ' long'], 'show ', 5)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 66, in 
_test_completedefault
    app = self.make_interactive_app(False, *command_names)
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 25, in 
make_interactive_app
    return InteractiveApp(
        app.App(
    ...<5 lines>...
        errexit=errexit,
    )
  File "/<<PKGBUILDDIR>>/cliff/interactive.py", line 65, in __init__
    cmd2.Cmd.__init__(self, 'tab', stdin=stdin, stdout=stdout)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 618, in __init__
    self._register_subcommands(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 1017, in 
_register_subcommands
    attached_parser = action.add_parser(subcommand_name, **add_parser_kwargs)
  File "/usr/lib/python3.14/argparse.py", line 1282, in add_parser
    parser = self._parser_class(**kwargs)
TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'


======================================================================
FAIL: cliff.tests.test_interactive.TestInteractive.test_errexit
cliff.tests.test_interactive.TestInteractive.test_errexit
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 94, in 
test_errexit
    app = self.make_interactive_app(True, *command_names)
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 25, in 
make_interactive_app
    return InteractiveApp(
        app.App(
    ...<5 lines>...
        errexit=errexit,
    )
  File "/<<PKGBUILDDIR>>/cliff/interactive.py", line 65, in __init__
    cmd2.Cmd.__init__(self, 'tab', stdin=stdin, stdout=stdout)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 618, in __init__
    self._register_subcommands(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 1017, in 
_register_subcommands
    attached_parser = action.add_parser(subcommand_name, **add_parser_kwargs)
  File "/usr/lib/python3.14/argparse.py", line 1282, in add_parser
    parser = self._parser_class(**kwargs)
TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'


======================================================================
FAIL: cliff.tests.test_interactive.TestInteractive.test_long_completedefault
cliff.tests.test_interactive.TestInteractive.test_long_completedefault
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 82, in 
test_long_completedefault
    self._test_completedefault(['long'], 'show  ', 6)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 66, in 
_test_completedefault
    app = self.make_interactive_app(False, *command_names)
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 25, in 
make_interactive_app
    return InteractiveApp(
        app.App(
    ...<5 lines>...
        errexit=errexit,
    )
  File "/<<PKGBUILDDIR>>/cliff/interactive.py", line 65, in __init__
    cmd2.Cmd.__init__(self, 'tab', stdin=stdin, stdout=stdout)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 618, in __init__
    self._register_subcommands(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 1017, in 
_register_subcommands
    attached_parser = action.add_parser(subcommand_name, **add_parser_kwargs)
  File "/usr/lib/python3.14/argparse.py", line 1282, in add_parser
    parser = self._parser_class(**kwargs)
TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'


======================================================================
FAIL: cliff.tests.test_interactive.TestInteractive.test_no_completedefault
cliff.tests.test_interactive.TestInteractive.test_no_completedefault
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 85, in 
test_no_completedefault
    self._test_completedefault([], 'taz ', 4)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 66, in 
_test_completedefault
    app = self.make_interactive_app(False, *command_names)
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 25, in 
make_interactive_app
    return InteractiveApp(
        app.App(
    ...<5 lines>...
        errexit=errexit,
    )
  File "/<<PKGBUILDDIR>>/cliff/interactive.py", line 65, in __init__
    cmd2.Cmd.__init__(self, 'tab', stdin=stdin, stdout=stdout)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 618, in __init__
    self._register_subcommands(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 1017, in 
_register_subcommands
    attached_parser = action.add_parser(subcommand_name, **add_parser_kwargs)
  File "/usr/lib/python3.14/argparse.py", line 1282, in add_parser
    parser = self._parser_class(**kwargs)
TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'


======================================================================
FAIL: cliff.tests.test_interactive.TestInteractive.test_no_completenames
cliff.tests.test_interactive.TestInteractive.test_no_completenames
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 49, in 
test_no_completenames
    self._test_completenames([], 'taz')
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 36, in 
_test_completenames
    app = self.make_interactive_app(False, 'hips', 'hippo', 'nonmatching')
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 25, in 
make_interactive_app
    return InteractiveApp(
        app.App(
    ...<5 lines>...
        errexit=errexit,
    )
  File "/<<PKGBUILDDIR>>/cliff/interactive.py", line 65, in __init__
    cmd2.Cmd.__init__(self, 'tab', stdin=stdin, stdout=stdout)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 618, in __init__
    self._register_subcommands(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 1017, in 
_register_subcommands
    attached_parser = action.add_parser(subcommand_name, **add_parser_kwargs)
  File "/usr/lib/python3.14/argparse.py", line 1282, in add_parser
    parser = self._parser_class(**kwargs)
TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'


======================================================================
FAIL: cliff.tests.test_interactive.TestInteractive.test_no_errexit
cliff.tests.test_interactive.TestInteractive.test_no_errexit
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 89, in 
test_no_errexit
    app = self.make_interactive_app(False, *command_names)
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 25, in 
make_interactive_app
    return InteractiveApp(
        app.App(
    ...<5 lines>...
        errexit=errexit,
    )
  File "/<<PKGBUILDDIR>>/cliff/interactive.py", line 65, in __init__
    cmd2.Cmd.__init__(self, 'tab', stdin=stdin, stdout=stdout)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 618, in __init__
    self._register_subcommands(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 1017, in 
_register_subcommands
    attached_parser = action.add_parser(subcommand_name, **add_parser_kwargs)
  File "/usr/lib/python3.14/argparse.py", line 1282, in add_parser
    parser = self._parser_class(**kwargs)
TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'


======================================================================
FAIL: 
cliff.tests.test_interactive.TestInteractive.test_nonempty_text_completedefault2
cliff.tests.test_interactive.TestInteractive.test_nonempty_text_completedefault2
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 79, in 
test_nonempty_text_completedefault2
    self._test_completedefault(['file', 'folder'], 'show f', 5)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 66, in 
_test_completedefault
    app = self.make_interactive_app(False, *command_names)
  File "/<<PKGBUILDDIR>>/cliff/tests/test_interactive.py", line 25, in 
make_interactive_app
    return InteractiveApp(
        app.App(
    ...<5 lines>...
        errexit=errexit,
    )
  File "/<<PKGBUILDDIR>>/cliff/interactive.py", line 65, in __init__
    cmd2.Cmd.__init__(self, 'tab', stdin=stdin, stdout=stdout)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 618, in __init__
    self._register_subcommands(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 1017, in 
_register_subcommands
    attached_parser = action.add_parser(subcommand_name, **add_parser_kwargs)
  File "/usr/lib/python3.14/argparse.py", line 1282, in add_parser
    parser = self._parser_class(**kwargs)
TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'


======================================================================
FAIL: cliff.tests.test_help.TestHelp.test_show_help_for_help
cliff.tests.test_help.TestHelp.test_show_help_for_help
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/cliff/tests/test_help.py", line 114, in 
test_show_help_for_help
    self.assertIn(f'usage: {basecommand} [--version]', help_text)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 425, in 
assertIn
    self.assertThat(haystack, Contains(needle), message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in 
assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'usage: run.py [--ve 
[too-long-redacted]  two words      Test command\n"


----------------------------------------------------------------------
Ran 210 tests in 0.858s

FAILED (failures=11)
+ echo ======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze 
output...
======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze 
output...
+ [ -x /usr/bin/pip3 ]
+ pip3 freeze
WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory 
is not owned or is not writable by the current user. The cache has been 
disabled. Check the permissions and owner of that directory. If executing pip 
with sudo, you should use sudo's -H flag.
alabaster==0.7.16
autocommand==2.2.2
autopage==0.4.0
babel==2.17.0
certifi==2025.11.12
chardet==5.2.0
charset-normalizer==3.4.4
cliff==4.11.0
cmd2==2.5.11+ds
coverage==7.8.2
defusedxml==0.7.1
docutils==0.22.3
dulwich==0.24.10
fixtures==4.2.5
idna==3.10
imagesize==1.4.1
inflect==7.5.0
iso8601==2.1.0
jaraco.context==6.0.1
jaraco.functools==4.1.0
jaraco.text==4.0.0
Jinja2==3.1.6
MarkupSafe==3.0.3
more-itertools==10.8.0
openstackdocstheme==3.2.0
packaging==25.0
pbr==7.0.3
prettytable==3.16.0
Pygments==2.18.0
pyperclip==1.11.0
python-subunit==1.4.4
PyYAML==6.0.2
requests==2.32.5
roman-numerals==4.0.0
setuptools==78.1.1
snowballstemmer==3.0.1
Sphinx==8.2.3
stestr==4.2.0
stevedore==5.5.0
testscenarios==0.5.0
testtools==2.7.2
tomlkit==0.13.3
typeguard==4.4.4
typing_extensions==4.15.0
urllib3==2.5.0
voluptuous==0.15.2
wcwidth==0.2.14
wheel==0.46.1
zipp==3.23.0
+ exit 1
make[1]: *** [debian/rules:19: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to