--- Begin Message ---
Package: src:cmd2
Version: 4.0.0+ds-2
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/202607/
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:cmd2, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
WARNING - Config value 'validation': Sub-option 'shadowed_definitions':
Unrecognised configuration name: shadowed_definitions
WARNING - Config value 'validation': Sub-option 'unused_definitions':
Unrecognised configuration name: unused_definitions
INFO - Cleaning site directory
INFO - Building documentation to directory: /<<PKGBUILDDIR>>/debian/html
INFO - DeprecationWarning: codecs.open() is deprecated. Use open() instead.
File "/usr/lib/python3/dist-packages/material/extensions/emoji.py", line 53,
in to_svg
el.text = md.htmlStash.store(_load(icons[shortname]["path"]))
File "/usr/lib/python3/dist-packages/material/extensions/emoji.py", line 68,
in _load
with codecs.open(file, encoding = "utf-8") as f:
ERROR - Error reading page 'doc_conventions.md': 'NoneType' object has no
attribute 'replace'
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 288, in
build_command
build.build(cfg, dirty=not clean)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/commands/build.py", line 310, in
build
_populate_page(file.page, config, files, dirty)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/commands/build.py", line 167, in
_populate_page
page.render(config, files)
~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/structure/pages.py", line 285, in
render
self.content = md.convert(self.markdown)
~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/markdown/core.py", line 363, in convert
root = self.parser.parseDocument(self.lines).getroot()
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/markdown/blockparser.py", line 117, in
parseDocument
self.parseChunk(self.root, '\n'.join(lines))
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/markdown/blockparser.py", line 136, in
parseChunk
self.parseBlocks(parent, text.split('\n\n'))
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/markdown/blockparser.py", line 158, in
parseBlocks
if processor.run(parent, blocks) is not False:
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocstrings/_internal/extension.py",
line 127, in run
html, handler, _ = self._process_block(identifier, block, heading_level)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocstrings/_internal/extension.py",
line 194, in _process_block
rendered = render(data, options)
File
"/usr/lib/python3/dist-packages/mkdocstrings_handlers/python/_internal/handler.py",
line 264, in render
return template.render(
~~~~~~~~~~~~~~~^
**{
^^^
...<8 lines>...
},
^^
)
^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1295, in
render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 942, in
handle_exception
raise rewrite_traceback_stack(source=source)
File
"/usr/lib/python3/dist-packages/mkdocstrings_handlers/python/templates/material/class.html.jinja",
line 1, in top-level template code
{% extends "_base/class.html.jinja" %}
^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/mkdocstrings_handlers/python/templates/material/_base/class.html.jinja",
line 86, in top-level template code
{% block signature scoped %}
^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/mkdocstrings_handlers/python/templates/material/_base/class.html.jinja",
line 111, in block 'signature'
{% filter format_signature(function, config.line_length,
crossrefs=config.signature_crossrefs) %}
^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/mkdocstrings_handlers/python/_internal/rendering.py",
line 184, in do_format_signature
env.filters["highlight"](
~~~~~~~~~~~~~~~~~~~~~~~~^
Markup.escape(signature),
^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
linenums=False,
^^^^^^^^^^^^^^^
),
^
File
"/usr/lib/python3/dist-packages/mkdocstrings/_internal/handlers/rendering.py",
line 120, in highlight
result = super().highlight(src, language, inline=inline, **kwargs)
File "/usr/lib/python3/dist-packages/pymdownx/highlight.py", line 400, in
highlight
formatter = html_formatter(
cssclass=css_class,
...<13 lines>...
anchorlinenos=self.anchor_linenums if not inline else False
)
File "/usr/lib/python3/dist-packages/pymdownx/highlight.py", line 179, in
__init__
HtmlFormatter.__init__(self, **options)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pygments/formatters/html.py", line 434,
in __init__
self.filename = html.escape(self._decodeifneeded(options.get('filename',
'')))
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/html/__init__.py", line 19, in escape
s = s.replace("&", "&") # Must be done first!
^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'replace'
make[1]: *** [debian/rules:10: execute_after_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---