Red Hat Bugzilla – Bug 1477166
sometimes nodes without a parent are generated
Last modified: 2017-08-14 17:50:35 EDT
Description of problem:
Fedora 26 ships broken version of breathe which may fail because of bug
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. try to build attached SRPM using `mock -r fedora-26-x86_64 knot-resolver-1.3.2-1.fc27.src.rpm`
Sphinx fails as result of Breathe bug, see logs below.
It should work as with python2-breathe-4.4.0-2.fc25.noarch. Given that fix was merged upstream, would it be possible to include patch to the package?
Log from Sphinx points towards Github issue https://github.com/sphinx-doc/sphinx/issues/3761 which in the end leads to fix in Breathe https://github.com/michaeljones/breathe/pull/334 .
Log from Sphinx follows:
# Sphinx version: 1.6.3
# Python version: 2.7.13 (CPython)
# Docutils version: 0.13.1 release
# Jinja2 version: 2.9.6
# Last messages:
# loading pickled environment...
# not yet created
# building [mo]: targets for 0 po files that are out of date
# building [html]: targets for 6 source files that are out of date
# updating environment:
# 6 added, 0 changed, 0 removed
# reading sources... [ 16%] build
# reading sources... [ 33%] daemon
# reading sources... [ 50%] index
# reading sources... [ 66%] lib
# Loaded extensions:
# sphinx.ext.viewcode (1.6.3) from /usr/lib/python2.7/site-packages/sphinx/ext/viewcode.pyc
# sphinx.ext.todo (1.6.3) from /usr/lib/python2.7/site-packages/sphinx/ext/todo.pyc
# breathe (4.6.0) from /usr/lib/python2.7/site-packages/breathe/__init__.pyc
# alabaster (0.7.9) from /usr/lib/python2.7/site-packages/alabaster/__init__.pyc
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/sphinx/cmdline.py", line 306, in main
File "/usr/lib/python2.7/site-packages/sphinx/application.py", line 339, in build
File "/usr/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 331, in build_update
'out of date' % len(to_build))
File "/usr/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 344, in build
updated_docnames = set(self.env.update(self.config, self.srcdir, self.doctreedir))
File "/usr/lib/python2.7/site-packages/sphinx/environment/__init__.py", line 583, in update
File "/usr/lib/python2.7/site-packages/sphinx/environment/__init__.py", line 602, in _read_serial
File "/usr/lib/python2.7/site-packages/sphinx/environment/__init__.py", line 723, in read_doc
File "/usr/lib/python2.7/site-packages/docutils/core.py", line 218, in publish
File "/usr/lib/python2.7/site-packages/docutils/core.py", line 199, in apply_transforms
File "/usr/lib/python2.7/site-packages/docutils/transforms/__init__.py", line 171, in apply_transforms
File "/usr/lib/python2.7/site-packages/docutils/transforms/universal.py", line 294, in apply
AttributeError: 'NoneType' object has no attribute 'replace'
Created attachment 1307537 [details]
src.rpm which can be used to trigger the failure in breathe (using mock)
python-breathe-4.6.0-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2055ccdeff
python-breathe-4.6.0-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2055ccdeff
python-breathe-4.6.0-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.