Source: texext
Version: 0.6.6-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --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:232: python3.9 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext
> copying texext/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext
> copying texext/math_dollar.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext
> copying texext/_version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext
> copying texext/mathcode.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> copying texext/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> copying texext/tests/test_mathdollar.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> copying texext/tests/for_docstrings.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> copying texext/tests/test_plotdirective.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> copying texext/tests/conftest.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> copying texext/tests/test_custom_plotdirective.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> copying texext/tests/test_tinypages.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> copying texext/tests/test_docstrings.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> copying texext/tests/test_custom_plotcontext.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/tinypages
> copying texext/tests/tinypages/some_math.rst ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/tinypages
> copying texext/tests/tinypages/index.rst ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/tinypages
> copying texext/tests/tinypages/conf.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/tinypages
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/tinypages/_static
> copying texext/tests/tinypages/_static/README.txt ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/tinypages/_static
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/plotdirective
> copying texext/tests/plotdirective/index.rst ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/plotdirective
> copying texext/tests/plotdirective/plot_and_math.rst ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/plotdirective
> copying texext/tests/plotdirective/conf.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/plotdirective
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/plotdirective/_static
> copying texext/tests/plotdirective/_static/README.txt ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/tests/plotdirective/_static
> UPDATING
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/_version.py to
> '0.6.6'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build;
> python3.9 -m pytest
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 17 items
>
> texext/tests/test_custom_plotcontext.py .... [
> 23%]
> texext/tests/test_custom_plotdirective.py .. [
> 35%]
> texext/tests/test_docstrings.py F. [
> 47%]
> texext/tests/test_mathdollar.py . [
> 52%]
> texext/tests/test_plotdirective.py .... [
> 76%]
> texext/tests/test_tinypages.py ....
> [100%]
>
> =================================== FAILURES
> ===================================
> ________________________ TestDocstrings.test_docstrings
> ________________________
>
> self = <texext.tests.test_docstrings.TestDocstrings object at 0x7fb7b22b1160>
>
> def test_docstrings(self):
> html = self.get_built_file('a_page.html')
> > assert DOCSTRING_RE.search(html)
> E assert None
> E + where None = <built-in method search of re.Pattern object at
> 0x1ff48d0>('\n<!DOCTYPE html>\n\n<html>\n <head>\n <meta charset="utf-8"
> />\n <meta name="viewport"
> content="width=device-...ef="_sources/a_page.rst.txt"\n
> rel="nofollow">Page source</a>\n </div>\n\n \n\n \n
> </body>\n</html>')
> E + where <built-in method search of re.Pattern object at
> 0x1ff48d0> = re.compile('<p>Here is the module docstring:</p>\\n<span
> class="target" id="module-texext.tests.for_docstrings"></span><p>A module to
> test docstring parsing with math such as <span class="math( notranslate)?(
> no).search
>
> texext/tests/test_docstrings.py:90: AssertionError
> ---------------------------- Captured stdout setup
> -----------------------------
> [01mRunning Sphinx v4.2.0[39;49;00m
> [01mmaking output directory... [39;49;00mdone
> [01mbuilding [mo]: [39;49;00mtargets for 0 po files that are out of date
> [01mbuilding [html]: [39;49;00mtargets for 2 source files that are out of
> date
> [01mupdating environment: [39;49;00m[new config] 2 added, 0 changed, 0
> removed
> [01mreading sources... [39;49;00m[ 50%] [35ma_page[39;49;00m
>
> [01mreading sources... [39;49;00m[100%] [35mindex[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
> [01mwriting output... [39;49;00m[ 50%] [32ma_page[39;49;00m
>
> [01mwriting output... [39;49;00m[100%] [32mindex[39;49;00m
>
>
> [01mgenerating indices... [39;49;00mgenindex py-modindex done
> [01mwriting additional pages... [39;49;00msearch done
> [01mcopying static files... [39;49;00mdone
> [01mcopying extra files... [39;49;00mdone
> [01mdumping search index in English (code: en)... [39;49;00mdone
> [01mdumping object inventory... [39;49;00mdone
> [01mbuild succeeded.[39;49;00m
>
> The HTML pages are in ../../../../../../tmp/tmphkjj4rmr/html.
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.9_texext/build/texext/tests/test_plotdirective.py::TestTopPlotDirective::test_plot_and_math
> .pybuild/cpython3_3.9_texext/build/texext/tests/test_tinypages.py::TestTinyPages::test_some_math
> .pybuild/cpython3_3.9_texext/build/texext/tests/test_tinypages.py::TestTopLevel::test_some_math
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build/texext/math_dollar.py:218:
> UserWarning: Need autodoc extension loaded for math_dollar to work on
> docstrings
> warn("Need autodoc extension loaded for math_dollar to work on "
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info
> ============================
> FAILED texext/tests/test_docstrings.py::TestDocstrings::test_docstrings -
> ass...
> =================== 1 failed, 16 passed, 3 warnings in 2.43s
> ===================
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_texext/build; python3.9 -m pytest
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/texext_0.6.6-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.