Package: src:cmd2
Version: 2.5.11+ds-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean  --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
        pybuild --clean -i python{version} -p 3.13
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/python3-cmd2.substvars debian/python-cmd2-doc.substvars 
debian/files
        rm -fr -- debian/python3-cmd2/ debian/tmp/ debian/python-cmd2-doc/
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
-type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) 
-prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary  --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
        pybuild --configure -i python{version} -p 3.13
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
        pybuild --build -i python{version} -p 3.13
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cmd2  
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/cmd2
copying cmd2/constants.py -> build/lib/cmd2
copying cmd2/history.py -> build/lib/cmd2
copying cmd2/exceptions.py -> build/lib/cmd2
copying cmd2/argparse_completer.py -> build/lib/cmd2
copying cmd2/parsing.py -> build/lib/cmd2
copying cmd2/cmd2.py -> build/lib/cmd2
copying cmd2/utils.py -> build/lib/cmd2
copying cmd2/command_definition.py -> build/lib/cmd2
copying cmd2/__init__.py -> build/lib/cmd2
copying cmd2/table_creator.py -> build/lib/cmd2
copying cmd2/rl_utils.py -> build/lib/cmd2
copying cmd2/py_bridge.py -> build/lib/cmd2
copying cmd2/decorators.py -> build/lib/cmd2
copying cmd2/argparse_custom.py -> build/lib/cmd2
copying cmd2/plugin.py -> build/lib/cmd2
copying cmd2/ansi.py -> build/lib/cmd2
copying cmd2/transcript.py -> build/lib/cmd2
copying cmd2/clipboard.py -> build/lib/cmd2
running egg_info
writing cmd2.egg-info/PKG-INFO
writing dependency_links to cmd2.egg-info/dependency_links.txt
writing requirements to cmd2.egg-info/requires.txt
writing top-level names to cmd2.egg-info/top_level.txt
reading manifest file 'cmd2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'noxfile.py'
no previously-included directories found matching '.github'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/.nox'
warning: no previously-included files found matching '.github'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching 'htmlcov/**' found anywhere in 
distribution
warning: no previously-included files matching '.coverage*' found anywhere in 
distribution
warning: no previously-included files matching '__pycache__/**' found anywhere 
in distribution
warning: no previously-included files matching '.gitignore' found anywhere in 
distribution
adding license file 'LICENSE'
writing manifest file 'cmd2.egg-info/SOURCES.txt'
copying cmd2/py.typed -> build/lib/cmd2
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/cmd2
copying build/lib/cmd2/constants.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/history.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/exceptions.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/argparse_completer.py -> 
build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/parsing.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/cmd2.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/utils.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/command_definition.py -> 
build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/__init__.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/table_creator.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/rl_utils.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/py_bridge.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/decorators.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/py.typed -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/argparse_custom.py -> 
build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/plugin.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/ansi.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/transcript.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/clipboard.py -> build/bdist.linux-x86_64/wheel/./cmd2
running install_egg_info
Copying cmd2.egg-info to 
build/bdist.linux-x86_64/wheel/./cmd2-2.5.11+ds.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/cmd2-2.5.11+ds.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cmd2/.tmp-ua8al0hz/cmd2-2.5.11+ds-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'cmd2/__init__.py'
adding 'cmd2/ansi.py'
adding 'cmd2/argparse_completer.py'
adding 'cmd2/argparse_custom.py'
adding 'cmd2/clipboard.py'
adding 'cmd2/cmd2.py'
adding 'cmd2/command_definition.py'
adding 'cmd2/constants.py'
adding 'cmd2/decorators.py'
adding 'cmd2/exceptions.py'
adding 'cmd2/history.py'
adding 'cmd2/parsing.py'
adding 'cmd2/plugin.py'
adding 'cmd2/py.typed'
adding 'cmd2/py_bridge.py'
adding 'cmd2/rl_utils.py'
adding 'cmd2/table_creator.py'
adding 'cmd2/transcript.py'
adding 'cmd2/utils.py'
adding 'cmd2-2.5.11+ds.dist-info/LICENSE'
adding 'cmd2-2.5.11+ds.dist-info/METADATA'
adding 'cmd2-2.5.11+ds.dist-info/WHEEL'
adding 'cmd2-2.5.11+ds.dist-info/top_level.txt'
adding 'cmd2-2.5.11+ds.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built cmd2-2.5.11+ds-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
mkdocs build -d /<<PKGBUILDDIR>>/debian/html -f /<<PKGBUILDDIR>>/mkdocs.yml
Traceback (most recent call last):
  File "/usr/bin/mkdocs", line 6, in <module>
    cli()
    ~~~^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/mkdocs/__main__.py", line 285, in 
build_command
    cfg = config.load_config(**kwargs)
  File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 374, in 
load_config
    errors, warnings = cfg.validate()
                       ~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 231, in 
validate
    run_failed, run_warnings = self._validate()
                               ~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 188, in 
_validate
    self[key] = config_option.validate(value)
                ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 
186, in validate
    return self.run_validation(value)
           ~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 
1065, in run_validation
    self.load_plugin_with_namespace(name, cfg)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 
1103, in load_plugin_with_namespace
    return (name, self.load_plugin(name, config))
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 
1121, in load_plugin
    plugin_cls = self.installed_plugins[name].load()
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/mkdocstrings/plugin.py", line 29, in 
<module>
    from mkdocstrings.extension import MkdocstringsExtension
  File "/usr/lib/python3/dist-packages/mkdocstrings/extension.py", line 38, in 
<module>
    from mkdocstrings.handlers.base import BaseHandler, CollectionError, 
CollectorItem, Handlers
  File "/usr/lib/python3/dist-packages/mkdocstrings/handlers/base.py", line 26, 
in <module>
    from mkdocs_get_deps.cache import download_and_cache_url
ModuleNotFoundError: No module named 'mkdocs_get_deps'
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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 could not 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:cmd2, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to