Package: src:sphinxcontrib-openapi
Version: 0.8.4-2
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with=sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   debian/rules execute_before_dh_auto_configure
make[1]: Entering directory 
'/build/reproducible-path/sphinxcontrib-openapi-0.8.4'
# tests/OpenAPI-Specification may already exist
mkdir -p tests/OpenAPI-Specification
cp -r /usr/share/doc/openapi-specification/examples tests/OpenAPI-Specification
make[1]: Leaving directory 
'/build/reproducible-path/sphinxcontrib-openapi-0.8.4'
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
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'
running config
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
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'
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.13 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
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'
running build
running build_py
creating 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/openapi30.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/directive.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/utils.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/schema_utils.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/openapi31.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/__init__.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/_lib2to3.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/openapi20.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/__main__.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi
creating 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
copying sphinxcontrib/openapi/renderers/_httpdomain.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
copying sphinxcontrib/openapi/renderers/_httpdomain_old.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
copying sphinxcontrib/openapi/renderers/__init__.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
copying sphinxcontrib/openapi/renderers/abc.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.13_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
running egg_info
creating sphinxcontrib_openapi.egg-info
writing sphinxcontrib_openapi.egg-info/PKG-INFO
writing dependency_links to sphinxcontrib_openapi.egg-info/dependency_links.txt
writing requirements to sphinxcontrib_openapi.egg-info/requires.txt
writing top-level names to sphinxcontrib_openapi.egg-info/top_level.txt
writing manifest file 'sphinxcontrib_openapi.egg-info/SOURCES.txt'
reading manifest file 'sphinxcontrib_openapi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '__pycache__' found under 
directory '*'
warning: no previously-included files matching '*.py[co]' found under directory 
'*'
warning: no previously-included files matching '.DS_Store' found under 
directory '*'
adding license file 'LICENSE'
writing manifest file 'sphinxcontrib_openapi.egg-info/SOURCES.txt'
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
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'
running build
running build_py
creating 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/openapi30.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/directive.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/utils.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/schema_utils.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/openapi31.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/__init__.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/_lib2to3.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/openapi20.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
copying sphinxcontrib/openapi/__main__.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi
creating 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
copying sphinxcontrib/openapi/renderers/_httpdomain.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
copying sphinxcontrib/openapi/renderers/_httpdomain_old.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
copying sphinxcontrib/openapi/renderers/__init__.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
copying sphinxcontrib/openapi/renderers/abc.py -> 
/build/reproducible-path/sphinxcontrib-openapi-0.8.4/.pybuild/cpython3_3.12_sphinxcontrib.openapi/build/sphinxcontrib/openapi/renderers
running egg_info
writing sphinxcontrib_openapi.egg-info/PKG-INFO
writing dependency_links to sphinxcontrib_openapi.egg-info/dependency_links.txt
writing requirements to sphinxcontrib_openapi.egg-info/requires.txt
writing top-level names to sphinxcontrib_openapi.egg-info/top_level.txt
reading manifest file 'sphinxcontrib_openapi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '__pycache__' found under 
directory '*'
warning: no previously-included files matching '*.py[co]' found under directory 
'*'
warning: no previously-included files matching '.DS_Store' found under 
directory '*'
adding license file 'LICENSE'
writing manifest file 'sphinxcontrib_openapi.egg-info/SOURCES.txt'
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory 
'/build/reproducible-path/sphinxcontrib-openapi-0.8.4'
export PYTHONPATH=$(pybuild --print build_dir | grep "^$(py3versions -d)" | sed 
-e 's/^.*: //'); \
    sphinx-build -W -b html docs docs/_build/html
Running Sphinx v7.4.7

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/config.py", line 529, in 
eval_config_file
    exec(code, namespace)  # NoQA: S102
    ^^^^^^^^^^^^^^^^^^^^^
  File "/build/reproducible-path/sphinxcontrib-openapi-0.8.4/docs/conf.py", line 26, 
in <module>
    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sphinx_rtd_theme/__init__.py", line 24, 
in get_html_theme_path
    logger.warning(
  File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 184, in 
warning
    return super().warning(
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/logging/__init__.py", line 1930, in warning
    self.log(WARNING, msg, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 131, in log
    super().log(level, msg, *args, **kwargs)
  File "/usr/lib/python3.12/logging/__init__.py", line 1962, in log
    self.logger.log(level, msg, *args, **kwargs)
  File "/usr/lib/python3.12/logging/__init__.py", line 1609, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib/python3.12/logging/__init__.py", line 1684, in _log
    self.handle(record)
  File "/usr/lib/python3.12/logging/__init__.py", line 1700, in handle
    self.callHandlers(record)
  File "/usr/lib/python3.12/logging/__init__.py", line 1762, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python3.12/logging/__init__.py", line 1022, in handle
    rv = self.filter(record)
         ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/logging/__init__.py", line 858, in filter
    result = f.filter(record)
             ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 473, in 
filter
    raise exc
sphinx.errors.SphinxWarning: Calling get_html_theme_path is deprecated. If you 
are calling it to define html_theme_path, you are safe to remove that code.

make[1]: *** [debian/rules:13: execute_after_dh_auto_build] Error 2
make[1]: Leaving directory 
'/build/reproducible-path/sphinxcontrib-openapi-0.8.4'
make: *** [debian/rules:9: 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/202411/

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

Thanks.

Reply via email to