Package: src:sphinx-a4doc
Version: 1.6.0-3
Severity: important
Tags: forky sid ftbfs
User: [email protected]
Usertags: ftbfs-nocheck-profile

Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build.

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

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

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck

(It's a wiki, so you are welcome to contribute)

[ Note: This is RC, but I will wait at least two weeks before raising
the severities, there are a lot of gcc-15 and CMake 4 bugs open now ].

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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
   dh_auto_build -O--buildsystem=pybuild
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_sphinx-a4doc  
* Building wheel...
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
 line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/sphinx_a4doc
copying sphinx_a4doc/autodoc_directive.py -> build/lib/sphinx_a4doc
copying sphinx_a4doc/__init__.py -> build/lib/sphinx_a4doc
copying sphinx_a4doc/diagram_directive.py -> build/lib/sphinx_a4doc
copying sphinx_a4doc/domain.py -> build/lib/sphinx_a4doc
copying sphinx_a4doc/settings.py -> build/lib/sphinx_a4doc
creating build/lib/sphinx_a4doc/model
copying sphinx_a4doc/model/__init__.py -> build/lib/sphinx_a4doc/model
copying sphinx_a4doc/model/model.py -> build/lib/sphinx_a4doc/model
copying sphinx_a4doc/model/visitor.py -> build/lib/sphinx_a4doc/model
copying sphinx_a4doc/model/reachable_finder.py -> build/lib/sphinx_a4doc/model
copying sphinx_a4doc/model/model_renderer.py -> build/lib/sphinx_a4doc/model
copying sphinx_a4doc/model/impl.py -> build/lib/sphinx_a4doc/model
creating build/lib/sphinx_a4doc/contrib
copying sphinx_a4doc/contrib/__init__.py -> build/lib/sphinx_a4doc/contrib
copying sphinx_a4doc/contrib/configurator.py -> build/lib/sphinx_a4doc/contrib
copying sphinx_a4doc/contrib/rst_autodoc.py -> build/lib/sphinx_a4doc/contrib
copying sphinx_a4doc/contrib/marker_nodes.py -> build/lib/sphinx_a4doc/contrib
copying sphinx_a4doc/contrib/railroad_diagrams.py -> 
build/lib/sphinx_a4doc/contrib
creating build/lib/sphinx_a4doc/syntax
copying sphinx_a4doc/syntax/__init__.py -> build/lib/sphinx_a4doc/syntax
copying sphinx_a4doc/syntax/lexer_adaptor.py -> build/lib/sphinx_a4doc/syntax
creating build/lib/sphinx_a4doc/syntax/gen
copying sphinx_a4doc/syntax/gen/__init__.py -> build/lib/sphinx_a4doc/syntax/gen
creating build/lib/sphinx_a4doc/syntax/gen/syntax
copying sphinx_a4doc/syntax/gen/syntax/__init__.py -> 
build/lib/sphinx_a4doc/syntax/gen/syntax
copying sphinx_a4doc/syntax/gen/syntax/ANTLRv4ParserVisitor.py -> 
build/lib/sphinx_a4doc/syntax/gen/syntax
copying sphinx_a4doc/syntax/gen/syntax/ANTLRv4ParserListener.py -> 
build/lib/sphinx_a4doc/syntax/gen/syntax
copying sphinx_a4doc/syntax/gen/syntax/ANTLRv4Parser.py -> 
build/lib/sphinx_a4doc/syntax/gen/syntax
copying sphinx_a4doc/syntax/gen/syntax/ANTLRv4Lexer.py -> 
build/lib/sphinx_a4doc/syntax/gen/syntax
running egg_info
creating sphinx_a4doc.egg-info
writing sphinx_a4doc.egg-info/PKG-INFO
writing dependency_links to sphinx_a4doc.egg-info/dependency_links.txt
writing requirements to sphinx_a4doc.egg-info/requires.txt
writing top-level names to sphinx_a4doc.egg-info/top_level.txt
writing manifest file 'sphinx_a4doc.egg-info/SOURCES.txt'
reading manifest file 'sphinx_a4doc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found under directory 
'statbox_abt_backend'
adding license file 'LICENSE'
writing manifest file 'sphinx_a4doc.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: 
Package 'sphinx_a4doc._static' is absent from the `packages` configuration.
!!

        
********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'sphinx_a4doc._static' as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to 
distribute this
        package, please make sure that 'sphinx_a4doc._static' is explicitly 
added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation 
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'sphinx_a4doc._static' to be distributed and are
        already explicitly excluding 'sphinx_a4doc._static' via
        `find_namespace_packages(...)/find_namespace` or 
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or 
`include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools 
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        
********************************************************************************

!!
  check.warn(importable)
creating build/lib/sphinx_a4doc/_static
copying sphinx_a4doc/_static/a4_railroad_diagram.css -> 
build/lib/sphinx_a4doc/_static
copying sphinx_a4doc/_static/a4_railroad_diagram_latex.css -> 
build/lib/sphinx_a4doc/_static
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/sphinx_a4doc
copying build/lib/sphinx_a4doc/autodoc_directive.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc
copying build/lib/sphinx_a4doc/__init__.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc
copying build/lib/sphinx_a4doc/diagram_directive.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc
copying build/lib/sphinx_a4doc/domain.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc
creating build/bdist.linux-x86_64/wheel/sphinx_a4doc/model
copying build/lib/sphinx_a4doc/model/__init__.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/model
copying build/lib/sphinx_a4doc/model/model.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/model
copying build/lib/sphinx_a4doc/model/visitor.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/model
copying build/lib/sphinx_a4doc/model/reachable_finder.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/model
copying build/lib/sphinx_a4doc/model/model_renderer.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/model
copying build/lib/sphinx_a4doc/model/impl.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/model
copying build/lib/sphinx_a4doc/settings.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc
creating build/bdist.linux-x86_64/wheel/sphinx_a4doc/contrib
copying build/lib/sphinx_a4doc/contrib/__init__.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/contrib
copying build/lib/sphinx_a4doc/contrib/configurator.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/contrib
copying build/lib/sphinx_a4doc/contrib/rst_autodoc.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/contrib
copying build/lib/sphinx_a4doc/contrib/marker_nodes.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/contrib
copying build/lib/sphinx_a4doc/contrib/railroad_diagrams.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/contrib
creating build/bdist.linux-x86_64/wheel/sphinx_a4doc/syntax
copying build/lib/sphinx_a4doc/syntax/__init__.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/syntax
copying build/lib/sphinx_a4doc/syntax/lexer_adaptor.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/syntax
creating build/bdist.linux-x86_64/wheel/sphinx_a4doc/syntax/gen
copying build/lib/sphinx_a4doc/syntax/gen/__init__.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/syntax/gen
creating build/bdist.linux-x86_64/wheel/sphinx_a4doc/syntax/gen/syntax
copying build/lib/sphinx_a4doc/syntax/gen/syntax/__init__.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/syntax/gen/syntax
copying build/lib/sphinx_a4doc/syntax/gen/syntax/ANTLRv4ParserVisitor.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/syntax/gen/syntax
copying build/lib/sphinx_a4doc/syntax/gen/syntax/ANTLRv4ParserListener.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/syntax/gen/syntax
copying build/lib/sphinx_a4doc/syntax/gen/syntax/ANTLRv4Parser.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/syntax/gen/syntax
copying build/lib/sphinx_a4doc/syntax/gen/syntax/ANTLRv4Lexer.py -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/syntax/gen/syntax
creating build/bdist.linux-x86_64/wheel/sphinx_a4doc/_static
copying build/lib/sphinx_a4doc/_static/a4_railroad_diagram_latex.css -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/_static
copying build/lib/sphinx_a4doc/_static/a4_railroad_diagram.css -> 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc/_static
running install_egg_info
Copying sphinx_a4doc.egg-info to 
build/bdist.linux-x86_64/wheel/./sphinx_a4doc-1.6.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/sphinx_a4doc-1.6.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-a4doc/.tmp-mfq1ex3r/sphinx_a4doc-1.6.0-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'sphinx_a4doc/__init__.py'
adding 'sphinx_a4doc/autodoc_directive.py'
adding 'sphinx_a4doc/diagram_directive.py'
adding 'sphinx_a4doc/domain.py'
adding 'sphinx_a4doc/settings.py'
adding 'sphinx_a4doc/_static/a4_railroad_diagram.css'
adding 'sphinx_a4doc/_static/a4_railroad_diagram_latex.css'
adding 'sphinx_a4doc/contrib/__init__.py'
adding 'sphinx_a4doc/contrib/configurator.py'
adding 'sphinx_a4doc/contrib/marker_nodes.py'
adding 'sphinx_a4doc/contrib/railroad_diagrams.py'
adding 'sphinx_a4doc/contrib/rst_autodoc.py'
adding 'sphinx_a4doc/model/__init__.py'
adding 'sphinx_a4doc/model/impl.py'
adding 'sphinx_a4doc/model/model.py'
adding 'sphinx_a4doc/model/model_renderer.py'
adding 'sphinx_a4doc/model/reachable_finder.py'
adding 'sphinx_a4doc/model/visitor.py'
adding 'sphinx_a4doc/syntax/__init__.py'
adding 'sphinx_a4doc/syntax/lexer_adaptor.py'
adding 'sphinx_a4doc/syntax/gen/__init__.py'
adding 'sphinx_a4doc/syntax/gen/syntax/ANTLRv4Lexer.py'
adding 'sphinx_a4doc/syntax/gen/syntax/ANTLRv4Parser.py'
adding 'sphinx_a4doc/syntax/gen/syntax/ANTLRv4ParserListener.py'
adding 'sphinx_a4doc/syntax/gen/syntax/ANTLRv4ParserVisitor.py'
adding 'sphinx_a4doc/syntax/gen/syntax/__init__.py'
adding 'sphinx_a4doc-1.6.0.dist-info/licenses/LICENSE'
adding 'sphinx_a4doc-1.6.0.dist-info/METADATA'
adding 'sphinx_a4doc-1.6.0.dist-info/WHEEL'
adding 'sphinx_a4doc-1.6.0.dist-info/top_level.txt'
adding 'sphinx_a4doc-1.6.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built sphinx_a4doc-1.6.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -b html docs/source 
build/html
Running Sphinx v8.2.3
WARNING: Invalid configuration value found: 'language = None'. Update your 
configuration to a valid language code. Falling back to 'en' (English).
loading translations [en]... done
/<<PKGBUILDDIR>>/sphinx_a4doc/contrib/railroad_diagrams.py:533: SyntaxWarning: 
invalid escape sequence '\ '
  --->#-------\ |      ---        < y
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
loading intersphinx inventory 'python' from 
/usr/share/doc/python3-doc/html/objects.inv ...
loading intersphinx inventory 'rst' from 
/usr/share/doc/sphinx-doc/html/objects.inv ...
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index
/<<PKGBUILDDIR>>/docs/source/index.rst:118: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:188: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:193: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:198: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:204: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:210: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:187: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:192: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:190: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:197: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:199: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:206: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:317: ERROR: No module named 'antlr4' 
[docutils]
/<<PKGBUILDDIR>>/docs/source/index.rst:329: ERROR: No module named 'antlr4' 
[docutils]


Versions
========

* Platform:         linux; 
(Linux-6.12.48+deb13-cloud-amd64-x86_64-with-glibc2.41)
* Python version:   3.13.7 (CPython)
* Sphinx version:   8.2.3
* Docutils version: 0.21.2
* Jinja2 version:   3.1.6
* Pygments version: 2.18.0

Last Messages
=============

    building [mo]: targets for 0 po files that are out of date
    writing output...

    building [html]: targets for 1 source files that are out of date
    updating environment:
    [new config]
    1 added, 0 changed, 0 removed
    reading sources... [100%]
    index

Loaded Extensions
=================

* sphinx.ext.mathjax (8.2.3)
* alabaster (0.7.16)
* sphinx.ext.autodoc.preserve_defaults (8.2.3)
* sphinx.ext.autodoc.type_comment (8.2.3)
* sphinx.ext.autodoc.typehints (8.2.3)
* sphinx.ext.autodoc (8.2.3)
* sphinx.ext.intersphinx (8.2.3)
* sphinx.ext.viewcode (8.2.3)
* sphinx.ext.githubpages (8.2.3)
* sphinx_a4doc.contrib.marker_nodes (1.0.0)
* sphinx_a4doc (1.0.0)
* sphinx_a4doc.contrib.rst_autodoc (1.0.0)

Traceback
=========

      File "/<<PKGBUILDDIR>>/sphinx_a4doc/model/impl.py", line 7, in <module>
        from antlr4 import CommonTokenStream, InputStream
    ModuleNotFoundError: No module named 'antlr4'


The full traceback has been saved in:
/tmp/sphinx-err-3whfvphg.log

To report this error to the developers, please open an issue at 
<https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message 
can be provided next time.
make[1]: *** [debian/rules:9: execute_after_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to