Package: src:sphinxcontrib-restbuilder
Version: 0.3-3
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=python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/dist.py:679:
SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated.
!!
********************************************************************************
Please replace its usage with implicit namespaces (PEP 420).
See
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
for details.
********************************************************************************
!!
ep.load()(self, ep.name, value)
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/dist.py:679:
SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated.
!!
********************************************************************************
Please replace its usage with implicit namespaces (PEP 420).
See
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
for details.
********************************************************************************
!!
ep.load()(self, ep.name, value)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib
copying sphinxcontrib/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib
copying sphinxcontrib/restbuilder.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib/builders
copying sphinxcontrib/builders/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib/builders
copying sphinxcontrib/builders/rst.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib/builders
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib/writers
copying sphinxcontrib/writers/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib/writers
copying sphinxcontrib/writers/rst.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib/writers
running egg_info
creating sphinxcontrib_restbuilder.egg-info
writing sphinxcontrib_restbuilder.egg-info/PKG-INFO
writing dependency_links to
sphinxcontrib_restbuilder.egg-info/dependency_links.txt
writing namespace_packages to
sphinxcontrib_restbuilder.egg-info/namespace_packages.txt
writing requirements to sphinxcontrib_restbuilder.egg-info/requires.txt
writing top-level names to sphinxcontrib_restbuilder.egg-info/top_level.txt
writing manifest file 'sphinxcontrib_restbuilder.egg-info/SOURCES.txt'
reading manifest file 'sphinxcontrib_restbuilder.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'sphinxcontrib_restbuilder.egg-info/SOURCES.txt'
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: tox.ini
collected 37 items
tests/test_rst_blocks.py ... [ 8%]
tests/test_rst_code_blocks.py ...... [ 24%]
tests/test_rst_formatting.py ...... [ 40%]
tests/test_rst_headings.py . [ 43%]
tests/test_rst_hyperlinks.py ....... [ 62%]
tests/test_rst_list.py ....ss. [ 81%]
tests/test_rst_table.py ... [ 89%]
tests/test_rst_toctree.py . [ 91%]
tests/test_sphinx_versionmodified.py F.. [100%]
=================================== FAILURES ===================================
______________________________ test_versionadded _______________________________
src_dir = '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datasets'
expected_dir = '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/expected'
output_dir = '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/output'
def test_versionadded(src_dir, expected_dir, output_dir):
run_parse_test(src_dir, expected_dir, output_dir, 'sphinx-directives',
['versionadded'])
tests/test_sphinx_versionmodified.py:5:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils.py:124: in run_parse_test
assert_doc_equal(output_doc, expected_doc)
tests/utils.py:95: in assert_doc_equal
assert_node_equal(output, expected)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
output = <#text: 'Added in version 0.3.1.'>
expected = <#text: 'New in version 0.3.1.'>
def assert_node_equal(output, expected):
assert type(output) == type(expected)
if isinstance(output, Text):
output_text = output.replace('\r\n', ' ')
output_text = output_text.replace('\n', ' ')
expected_text = expected.replace('\r\n', ' ')
expected_text = expected_text.replace('\n', ' ')
assert output_text == expected_text
E AssertionError
tests/utils.py:76: AssertionError
----------------------------- Captured stdout call -----------------------------
[01mRunning Sphinx v7.3.7[39;49;00m
[01mloading pickled environment... [39;49;00mdone
[01mbuilding [mo]: [39;49;00mtargets for 0 po files that are specified
[01mwriting output... [39;49;00m
[01mbuilding [rst]: [39;49;00m1 source files given on command line
[01mupdating environment: [39;49;00m[config changed ('master_doc')] 10 added,
0 changed, 0 removed
[01mreading sources... [39;49;00m[ 10%] [35mcode-block[39;49;00m
[01mreading sources... [39;49;00m[ 20%] [35mcode-block-language[39;49;00m
[01mreading sources... [39;49;00m[ 30%] [35mcode-block-linenos[39;49;00m
[01mreading sources... [39;49;00m[ 40%] [35mdeprecated[39;49;00m
[01mreading sources... [39;49;00m[ 50%] [35mindex[39;49;00m
[01mreading sources... [39;49;00m[ 60%] [35mtoctree/doc1[39;49;00m
[01mreading sources... [39;49;00m[ 70%] [35mtoctree/doc2[39;49;00m
[01mreading sources... [39;49;00m[ 80%] [35mtoctree/index[39;49;00m
[01mreading sources... [39;49;00m[ 90%] [35mversionadded[39;49;00m
[01mreading sources... [39;49;00m[100%] [35mversionchanged[39;49;00m
[01mlooking for now-outdated files... [39;49;00mnone found
[01mpickling environment... [39;49;00mdone
[01mchecking consistency... [39;49;00mdone
[01mpreparing documents... [39;49;00mdone
[01mcopying assets... [39;49;00mdone
[01mwriting output... [39;49;00m[100%] [32mversionadded[39;49;00m
[01mbuild succeeded, 6 warnings.[39;49;00m
----------------------------- Captured stderr call -----------------------------
[91m/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datasets/sphinx-directives/code-block.rst:
WARNING: document isn't included in any toctree[39;49;00m
[91m/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datasets/sphinx-directives/code-block-language.rst:
WARNING: document isn't included in any toctree[39;49;00m
[91m/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datasets/sphinx-directives/code-block-linenos.rst:
WARNING: document isn't included in any toctree[39;49;00m
[91m/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datasets/sphinx-directives/deprecated.rst:
WARNING: document isn't included in any toctree[39;49;00m
[91m/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datasets/sphinx-directives/toctree/index.rst:
WARNING: document isn't included in any toctree[39;49;00m
[91m/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datasets/sphinx-directives/versionchanged.rst:
WARNING: document isn't included in any toctree[39;49;00m
=============================== warnings summary ===============================
.pybuild/cpython3_3.12/build/tests/test_rst_blocks.py::test_paragraph
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib/__init__.py:13:
DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
__import__('pkg_resources').declare_namespace(__name__)
.pybuild/cpython3_3.12/build/tests/test_rst_blocks.py::test_paragraph
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sphinxcontrib/__init__.py:13:
DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`.
Implementing implicit namespace packages (as specified in PEP 420) is
preferred to `pkg_resources.declare_namespace`. See
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
__import__('pkg_resources').declare_namespace(__name__)
.pybuild/cpython3_3.12/build/tests/test_rst_blocks.py: 6 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_code_blocks.py: 12 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_formatting.py: 12 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_headings.py: 2 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_hyperlinks.py: 20 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_list.py: 10 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_table.py: 6 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_toctree.py: 6 warnings
.pybuild/cpython3_3.12/build/tests/test_sphinx_versionmodified.py: 6 warnings
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/utils.py:103:
DeprecationWarning: The frontend.OptionParser class will be replaced by a subclass of
argparse.ArgumentParser in Docutils 0.21 or later.
OptionParser(
.pybuild/cpython3_3.12/build/tests/test_rst_blocks.py: 414 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_code_blocks.py: 828 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_formatting.py: 828 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_headings.py: 138 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_hyperlinks.py: 1380 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_list.py: 690 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_table.py: 414 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_toctree.py: 414 warnings
.pybuild/cpython3_3.12/build/tests/test_sphinx_versionmodified.py: 414 warnings
/usr/lib/python3.12/optparse.py:1000: DeprecationWarning: The frontend.Option
class will be removed in Docutils 0.21 or later.
option = self.option_class(*args, **kwargs)
.pybuild/cpython3_3.12/build/tests/test_rst_blocks.py: 6 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_code_blocks.py: 12 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_formatting.py: 12 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_headings.py: 2 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_hyperlinks.py: 20 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_list.py: 10 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_table.py: 6 warnings
.pybuild/cpython3_3.12/build/tests/test_rst_toctree.py: 6 warnings
.pybuild/cpython3_3.12/build/tests/test_sphinx_versionmodified.py: 6 warnings
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/utils.py:93:
PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by Node.findall().
output_doc.traverse(include_self=False),
expected_doc.traverse(include_self=False)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_sphinx_versionmodified.py::test_versionadded - AssertionError
============ 1 failed, 34 passed, 2 skipped, 5682 warnings in 2.92s ============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12
returned exit code 13
make: *** [debian/rules:10: binary] Error 25
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/202407/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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.