Source: texext
Version: 0.6.6-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye
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:217: python3.8 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext
> copying texext/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext
> copying texext/math_dollar.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext
> copying texext/_version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext
> copying texext/mathcode.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> copying texext/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> copying texext/tests/test_mathdollar.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> copying texext/tests/for_docstrings.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> copying texext/tests/test_plotdirective.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> copying texext/tests/conftest.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> copying texext/tests/test_custom_plotdirective.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> copying texext/tests/test_tinypages.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> copying texext/tests/test_docstrings.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> copying texext/tests/test_custom_plotcontext.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/tinypages
> copying texext/tests/tinypages/some_math.rst ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/tinypages
> copying texext/tests/tinypages/index.rst ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/tinypages
> copying texext/tests/tinypages/conf.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/tinypages
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/tinypages/_static
> copying texext/tests/tinypages/_static/README.txt ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/tinypages/_static
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/plotdirective
> copying texext/tests/plotdirective/index.rst ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/plotdirective
> copying texext/tests/plotdirective/plot_and_math.rst ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/plotdirective
> copying texext/tests/plotdirective/conf.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/plotdirective
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/plotdirective/_static
> copying texext/tests/plotdirective/_static/README.txt ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/tests/plotdirective/_static
> UPDATING
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build/texext/_version.py to
> '0.6.6'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build;
> python3.8 -m pytest
> ============================= test session starts
> ==============================
> platform linux -- Python 3.8.6, pytest-4.6.11, py-1.9.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 .. [
> 47%]
> texext/tests/test_mathdollar.py . [
> 52%]
> texext/tests/test_plotdirective.py .... [
> 76%]
> texext/tests/test_tinypages.py F.F.
> [100%]
>
> =================================== FAILURES
> ===================================
> _________________________ TestTinyPages.test_some_math
> _________________________
>
> self = <texext.tests.test_tinypages.TestTinyPages object at 0x7f2cf9882bb0>
>
> def test_some_math(self):
> assert isdir(self.out_dir)
> assert isdir(self.doctree_dir)
> doctree = self.get_doctree('some_math')
> assert len(doctree.document) == 1
> tree_str = self.doctree2str(doctree)
> if SPHINX_ge_1p5:
> back_ref = (
> '<paragraph>Refers to equation at '
> '<pending_xref refdoc="some_math" refdomain="math" '
> 'refexplicit="False" reftarget="some-label" '
> 'reftype="eq" refwarn="True">'
> '<literal classes="xref eq">some-label</literal>'
> '</pending_xref>')
> else:
> back_ref=(
> '<paragraph>Refers to equation at '
> '<eqref docname="some_math" '
> 'target="some-label">(?)</eqref>')
> expected = (
> '<title>Some math</title>\n' +
> '<paragraph>Here %s, except ' % _ilm('a = 1') +
> '<title_reference>$b = 2$</title_reference>.</paragraph>\n' +
> '<paragraph>Here %s, except ' % _ilm('c = 3') +
> '<literal>$d = 4$</literal>.</paragraph>\n'
> '<paragraph>An escaped dollar, and a $100 value.</paragraph>\n'
> '<literal_block xml:space="preserve">'
> 'Here $e = 5$</literal_block>\n'
> '<bullet_list bullet="*">'
> '<list_item>'
> '<paragraph>'
> 'A list item containing\n' + _ilm('f = 6') +
> ' some mathematics.'
> '</paragraph>'
> '</list_item>'
> '<list_item>'
> '<paragraph>'
> 'A list item containing '
> '<literal>a literal across\nlines</literal> ' +
> 'and also %s some mathematics.' % _ilm('g = 7') +
> '</paragraph>'
> '</list_item>'
> '</bullet_list>\n'
> + format_math_block('some_math', "10 a + 2 b + q") +
> '\n<paragraph>More text</paragraph>\n'
> '<target refid="equation-some-label"/>\n'
> + format_math_block(
> 'some_math', "5 a + 3 b",
> label='some-label',
> number='1',
> ids='equation-some-label') +
> '\n<paragraph>Yet more text</paragraph>\n'
> + format_math_block(
> "some_math", latex="5 w + 3 x") + '\n' +
> '<paragraph>Math with %s a backslash.' % _ilm(r'\beta') +
> '</paragraph>\n'
> '<paragraph>' # What happens to backslashes?
> 'A protected whitespace with ' + _ilm('dollars') +
> '.</paragraph>\n'
> '<paragraph>'
> 'Some * asterisks *. ' + _ilm('dollars') +
> r'. A line break. Protected \ backslash. ' +
> 'Protected n in %s line.</paragraph>\n' % _ilm('a') +
> # Do labels get set as targets?
> back_ref +
> '.</paragraph>')
> > assert tree_str == expected
> E assert '<title>Some ....</paragraph>' == '<title>Some
> m....</paragraph>'
> E Skipping 233 identical leading characters in diff, use -v to show
> E - ar, and a $100 value.</paragraph>
> E ? -
> E + ar, and a $100 value.</paragraph>
> E <literal_block xml:space="preserve">Here $e = 5$</literal_block>
> E <bullet_list bullet="*"><list_item><paragraph>A list item
> containing
> E <math>f = 6</math> some
> mathematics.</paragraph></list_item><list_item><paragraph>A list item
> containing <literal>a literal across...
> E
> E ...Full output truncated (12 lines hidden), use '-vv' to show
>
> texext/tests/test_tinypages.py:98: AssertionError
> ---------------------------- Captured stdout setup
> -----------------------------
> [01mRunning Sphinx v3.2.1[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%] [35mindex[39;49;00m
>
> [01mreading sources... [39;49;00m[100%] [35msome_math[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%] [32mindex[39;49;00m
>
> [01mwriting output... [39;49;00m[100%] [32msome_math[39;49;00m
>
>
> [01mgenerating indices... [39;49;00m genindexdone
> [01mwriting additional pages... [39;49;00m searchdone
> [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/tmp6gfkfh9o/html.
> _________________________ TestTopLevel.test_some_math
> __________________________
>
> self = <texext.tests.test_tinypages.TestTopLevel object at 0x7f2cf954eb50>
>
> def test_some_math(self):
> assert isdir(self.out_dir)
> assert isdir(self.doctree_dir)
> doctree = self.get_doctree('some_math')
> assert len(doctree.document) == 1
> tree_str = self.doctree2str(doctree)
> if SPHINX_ge_1p5:
> back_ref = (
> '<paragraph>Refers to equation at '
> '<pending_xref refdoc="some_math" refdomain="math" '
> 'refexplicit="False" reftarget="some-label" '
> 'reftype="eq" refwarn="True">'
> '<literal classes="xref eq">some-label</literal>'
> '</pending_xref>')
> else:
> back_ref=(
> '<paragraph>Refers to equation at '
> '<eqref docname="some_math" '
> 'target="some-label">(?)</eqref>')
> expected = (
> '<title>Some math</title>\n' +
> '<paragraph>Here %s, except ' % _ilm('a = 1') +
> '<title_reference>$b = 2$</title_reference>.</paragraph>\n' +
> '<paragraph>Here %s, except ' % _ilm('c = 3') +
> '<literal>$d = 4$</literal>.</paragraph>\n'
> '<paragraph>An escaped dollar, and a $100 value.</paragraph>\n'
> '<literal_block xml:space="preserve">'
> 'Here $e = 5$</literal_block>\n'
> '<bullet_list bullet="*">'
> '<list_item>'
> '<paragraph>'
> 'A list item containing\n' + _ilm('f = 6') +
> ' some mathematics.'
> '</paragraph>'
> '</list_item>'
> '<list_item>'
> '<paragraph>'
> 'A list item containing '
> '<literal>a literal across\nlines</literal> ' +
> 'and also %s some mathematics.' % _ilm('g = 7') +
> '</paragraph>'
> '</list_item>'
> '</bullet_list>\n'
> + format_math_block('some_math', "10 a + 2 b + q") +
> '\n<paragraph>More text</paragraph>\n'
> '<target refid="equation-some-label"/>\n'
> + format_math_block(
> 'some_math', "5 a + 3 b",
> label='some-label',
> number='1',
> ids='equation-some-label') +
> '\n<paragraph>Yet more text</paragraph>\n'
> + format_math_block(
> "some_math", latex="5 w + 3 x") + '\n' +
> '<paragraph>Math with %s a backslash.' % _ilm(r'\beta') +
> '</paragraph>\n'
> '<paragraph>' # What happens to backslashes?
> 'A protected whitespace with ' + _ilm('dollars') +
> '.</paragraph>\n'
> '<paragraph>'
> 'Some * asterisks *. ' + _ilm('dollars') +
> r'. A line break. Protected \ backslash. ' +
> 'Protected n in %s line.</paragraph>\n' % _ilm('a') +
> # Do labels get set as targets?
> back_ref +
> '.</paragraph>')
> > assert tree_str == expected
> E assert '<title>Some ....</paragraph>' == '<title>Some
> m....</paragraph>'
> E Skipping 233 identical leading characters in diff, use -v to show
> E - ar, and a $100 value.</paragraph>
> E ? -
> E + ar, and a $100 value.</paragraph>
> E <literal_block xml:space="preserve">Here $e = 5$</literal_block>
> E <bullet_list bullet="*"><list_item><paragraph>A list item
> containing
> E <math>f = 6</math> some
> mathematics.</paragraph></list_item><list_item><paragraph>A list item
> containing <literal>a literal across...
> E
> E ...Full output truncated (12 lines hidden), use '-vv' to show
>
> texext/tests/test_tinypages.py:98: AssertionError
> ---------------------------- Captured stdout setup
> -----------------------------
> [01mRunning Sphinx v3.2.1[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%] [35mindex[39;49;00m
>
> [01mreading sources... [39;49;00m[100%] [35msome_math[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%] [32mindex[39;49;00m
>
> [01mwriting output... [39;49;00m[100%] [32msome_math[39;49;00m
>
>
> [01mgenerating indices... [39;49;00m genindexdone
> [01mwriting additional pages... [39;49;00m searchdone
> [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/tmp_i5z595m/html.
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.8_texext/build/texext/tests/test_plotdirective.py::TestTopPlotDirective::test_plot_and_math
> .pybuild/cpython3_3.8_texext/build/texext/tests/test_tinypages.py::TestTinyPages::test_some_math
> .pybuild/cpython3_3.8_texext/build/texext/tests/test_tinypages.py::TestTopLevel::test_some_math
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_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/latest/warnings.html
> =============== 2 failed, 15 passed, 3 warnings in 2.46 seconds
> ================
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_texext/build; python3.8 -m pytest
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/09/26/texext_0.6.6-1_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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.