Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1717670
Summary: | python-sphinx FTBFS in Fedora rawhide since texlive-base 7:20190410-1 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-sphinx | Assignee: | Miro Hrončok <mhroncok> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | aviso, cstratak, dradez, mhroncok, michel, python-sig |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://apps.fedoraproject.org/koschei/package/python-sphinx | ||
Whiteboard: | |||
Fixed In Version: | texlive-2018-26.fc31 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-04 15:11:55 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1715698 | ||
Bug Blocks: | 1700317, 1686977, 1732841 |
Description
Miro Hrončok
2019-06-05 22:07:15 UTC
Tom, would you be able to help? Is this a texlive bug or a dependency missing? Thanks The main problem has been fixed in tex, however, we still have a nontex failure: =================================== FAILURES =================================== _______________________ test_correct_year[expect_date1] ________________________ expect_date = '2006-2011', app = <SphinxTestApp buildername='html'> @pytest.mark.sphinx('html', testroot='correct-year') def test_correct_year(expect_date, app): app.build() content = (app.outdir / 'index.html').text() > assert expect_date in content BUILDSTDERR: E assert '2006-2011' in 'error: Bad exit status from /var/tmp/rpm-tmp.dSktEJ (%check) BUILDSTDERR: extra tokens at the end of %endif directive in line 358: %endif # with tests BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.dSktEJ (%check) \n<!DOCTYPE html>\n\n<html xmlns="http://www.w3.org/1999/xhtml">\n <head>\n <meta charset="utf-8" />\n <title>...ref="_sources/index.rst.txt"\n rel="nofollow">Page source</a>\n </div>\n\n \n\n \n </body>\n</html>' tests/test_correct_year.py:36: AssertionError --------------------------- Captured stdout teardown --------------------------- # testroot: root # builder: html # srcdir: /tmp/pytest-of-mockbuild/pytest-0/correct-year # outdir: /tmp/pytest-of-mockbuild/pytest-0/correct-year/_build/html # status: Running Sphinx v2.0.1[39;49;00m loading pickled environment... [39;49;00mdone building [mo]: [39;49;00mtargets for 0 po files that are out of date building [html][39;49;00m: targets for 1 source files that are out of date updating environment: [39;49;00m0 added, 0 changed, 0 removed looking for now-outdated files... [39;49;00mnone found preparing documents... [39;49;00mdone writing output... [39;49;00m[100%] index[39;49;00m generating indices...[39;49;00m genindex writing additional pages...[39;49;00m search copying static files... [39;49;00mdone copying extra files... [39;49;00mdone dumping search index in English (code: en) ... [39;49;00mdone dumping object inventory... [39;49;00mdone build succeeded.[39;49;00m The HTML pages are in ../../../../tmp/pytest-of-mockbuild/pytest-0/correct-year/_build/html. # warning: =============================== warnings summary =============================== tests/test_build_changes.py::test_build tests/test_build_changes.py::test_no_changes /usr/lib/python3.7/site-packages/docutils/parsers/rst/states.py:2130: RemovedInSphinx40Warning: highlightlang directive is deprecated. Please use highlight directive instead. result = directive_instance.run() -- Docs: https://docs.pytest.org/en/latest/warnings.html = 1 failed, 1215 passed, 1 skipped, 4 deselected, 2 warnings in 100.69 seconds = This looks totally weird to me, as if the rpm stderr leaked to the test? BUILDSTDERR: E assert '2006-2011' in 'error: Bad exit status from /var/tmp/rpm-tmp.dSktEJ (%check) I'll try several more times, maybe with removing the "extra token" after %endif. The failure is now more sane: _______________________ test_correct_year[expect_date1] ________________________ expect_date = '2006-2011', app = <SphinxTestApp buildername='html'> @pytest.mark.sphinx('html', testroot='correct-year') def test_correct_year(expect_date, app): app.build() content = (app.outdir / 'index.html').text() > assert expect_date in content E assert '2006-2011' in '\n<!DOCTYPE html>\n\n<html xmlns="http://www.w3.org/1999/xhtml">\n <head>\n <meta charset="utf-8" />\n <title>...ref="_sources/index.rst.txt"\n rel="nofollow">Page source</a>\n </div>\n\n \n\n \n </body>\n</html>' tests/test_correct_year.py:36: AssertionError --------------------------- Captured stdout teardown --------------------------- # testroot: root # builder: html # srcdir: /tmp/pytest-of-mockbuild/pytest-0/correct-year # outdir: /tmp/pytest-of-mockbuild/pytest-0/correct-year/_build/html # status: Running Sphinx v2.0.1[39;49;00m loading pickled environment... [39;49;00mdone building [mo]: [39;49;00mtargets for 0 po files that are out of date building [html][39;49;00m: targets for 1 source files that are out of date updating environment: [39;49;00m0 added, 0 changed, 0 removed looking for now-outdated files... [39;49;00mnone found preparing documents... [39;49;00mdone writing output... [39;49;00m[100%] index[39;49;00m generating indices...[39;49;00m genindex writing additional pages...[39;49;00m search copying static files... [39;49;00mdone copying extra files... [39;49;00mdone dumping search index in English (code: en) ... [39;49;00mdone dumping object inventory... [39;49;00mdone build succeeded.[39;49;00m The HTML pages are in ../../../../tmp/pytest-of-mockbuild/pytest-0/correct-year/_build/html. # warning: =============================== warnings summary =============================== tests/test_build_changes.py::test_build tests/test_build_changes.py::test_no_changes /usr/lib/python3.7/site-packages/docutils/parsers/rst/states.py:2130: RemovedInSphinx40Warning: highlightlang directive is deprecated. Please use highlight directive instead. result = directive_instance.run() -- Docs: https://docs.pytest.org/en/latest/warnings.html = 1 failed, 1215 passed, 1 skipped, 4 deselected, 2 warnings in 100.77 seconds = RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.hwD21s (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.hwD21s (%check) Fixed in v2.1.2 v2.1.1 v2.1.0. |