Source: libcbor
Version: 0.5.0+dfsg-2
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx2.4
Hi,
libcbor fails to build with Sphinx 2.4, currently available in
experimental.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> sphinx-build -b html -d build/doctrees source build/html
> Running Sphinx v2.4.3
> WARNING: Support for evaluating Python 2 syntax is deprecated and will be
> removed in Sphinx 4.0. Convert /<<PKGBUILDDIR>>/doc/source/conf.py to Python
> 3 syntax.
> /<<PKGBUILDDIR>>/doc/source
> /<<PKGBUILDDIR>>/doc/source/../build/doxygen/xml
> making output directory... done
> /usr/lib/python3/dist-packages/sphinx/util/docutils.py:285:
> RemovedInSphinx30Warning: function based directive support is now deprecated.
> Use class based directive instead.
> warnings.warn('function based directive support is now deprecated. '
> WARNING: html_static_path entry '_static' does not exist
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 23 source files that are out of date
> updating environment: [new config] 23 added, 0 changed, 0 removed
> reading sources... [ 4%] api
> reading sources... [ 8%] api/decoding
>
> Exception occurred:
> File "/usr/lib/python3/dist-packages/breathe/renderer/sphinxrenderer.py",
> line 38, in parse_definition
> ast = parser.parse_declaration("class")
> TypeError: parse_declaration() missing 1 required positional argument:
> 'directiveType'
> The full traceback has been saved in /tmp/sphinx-err-ivir0ga9.log, if you
> want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error
> message can be provided next time.
> A bug report can be filed in the tracker at
> <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> make[2]: *** [Makefile:53: html] Error 2
The full build log is available from:
http://qa-logs.debian.net/2020/03/26/libcbor_0.5.0+dfsg-2_unstable_sphinx243.log
Please see [1] for Sphinx changelog, which may give a hint of what changes in
Sphinx caused this error.
Also see [2] for the list of deprecated/removed APIs and possible alternatives
to them.
Sphinx 2.4 is going to be uploaded to unstable in a couple of weeks. When that
happens, the severity of this bug will be bumped to serious.
In case you have questions, please Cc [email protected] on reply.
[1]: https://www.sphinx-doc.org/en/2.0/changes.html
[2]:
https://www.sphinx-doc.org/en/2.0/extdev/deprecated.html#dev-deprecated-apis
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.