jansson fails to build with Sphinx 3.0.0. Exception occurred: File "/builddir/build/BUILD/jansson-2.12/doc/ext/refcounting.py", line 60, in setup app.add_directive('refcounting', refcounting_directive, 0, (1, 0, 0)) TypeError: add_directive() takes from 3 to 4 positional arguments but 5 were given For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/cstratak/sphinx_3.0.0/fedora-rawhide-x86_64/01335448-jansson/ For all our attempts to build jansson with Sphinx 3.0.0, see: https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/package/jansson/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Sphinx 3: https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/ Let us know here if you have any questions. Sphinx 3 will be included in Fedora 33. To make that update smoother, we're building the dependent packages in Copr. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
Sphinx was updated to 3.1.1.
*** Bug 1866858 has been marked as a duplicate of this bug. ***
jansson-2.12/doc/ext/refcounting.py is using a removed API of sphinx: https://www.sphinx-doc.org/en/2.0/extdev/appapi.html#sphinx.application.Sphinx.add_directive https://www.sphinx-doc.org/en/3.x/extdev/appapi.html#sphinx.application.Sphinx.add_directive
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33.
PR: https://src.fedoraproject.org/rpms/jansson/pull-request/12