Source: cherrypy3
Version: 18.8.0-2
Severity: important
Tags: ftbfs
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx7.1

Hi,

cherrypy3 fails to build with Sphinx 7.1 and docutils 0.20, both of which
are currently available in experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> http_proxy='http://127.0.0.1:9/' PYTHONPATH=. \
>       /usr/share/sphinx/scripts/python3/sphinx-build -N -q -E -b html docs/ \
>       debian/python-cherrypy3-doc/usr/share/doc/python-cherrypy3-doc/html/
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.__main__.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpchecker.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpcompat.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpconfig.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpdispatch.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cperror.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cplogging.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpmodpy.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpnative_server.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpreqbody.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cprequest.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpserver.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cptools.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cptree.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpwsgi.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._cpwsgi_server.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._helper.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy._json.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.daemon.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.auth_basic.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.auth_digest.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.caching.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.covercp.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.cpstats.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.cptools.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.encoding.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.gctools.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.httputil.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.jsontools.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.locking.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.profiler.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.reprconf.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.sessions.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.static.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.lib.xmlrpcutil.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.process.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.process.plugins.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.process.servers.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.process.win32.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.process.wspbus.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.scaffold.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test._test_decorators.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test._test_states_demo.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.benchmark.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.checkerdemo.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.helper.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.logtest.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.modfastcgi.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.modfcgid.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.modpy.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.modwsgi.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.sessiondemo.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_auth_basic.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_auth_digest.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_bus.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_caching.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_config.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_config_server.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_conn.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_core.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_dynamicobjectmapping.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_encoding.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_etags.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_http.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_httputil.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_iterator.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_json.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_logging.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_mime.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_misc_tools.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_native.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_objectmapping.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_params.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_plugins.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_proxy.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_refleaks.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_request_obj.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_routes.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_session.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_sessionauthenticate.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_states.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_static.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_tools.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_tutorials.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_virtualhost.rst.
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/sphinx/ext/extlinks.py", line 103, in 
> role
>     title = caption % part
>             ~~~~~~~~^~~~~~
> TypeError: not all arguments converted during string formatting
> The full traceback has been saved in /tmp/sphinx-err-pi2i47hg.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!
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_wsgi_ns.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_wsgi_unix_socket.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_wsgi_vhost.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_wsgiapps.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.test_xmlrpc.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.test.webtest.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut01_helloworld.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut02_expose_methods.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut03_get_and_post.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut04_complex_site.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut05_derived_objects.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut06_default_method.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut07_sessions.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut08_generators_and_yield.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut09_files.rst.
> Creating file 
> /<<PKGBUILDDIR>>/docs/pkg/cherrypy.tutorial.tut10_http_errors.rst.
> Creating file /<<PKGBUILDDIR>>/docs/pkg/modules.rst.
> make[1]: *** [debian/rules:37: execute_before_dh_sphinxdoc] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/cherrypy3_18.8.0-2_unstable_sphinx-exp.log

Please see [1] for Sphinx changelog and [2] for Docutils changelog.

Also see [3] for the list of deprecated/removed APIs in Sphinx and possible
alternatives to them.

Some notable changes in Sphinx 6 and Sphinx 7:

- Sphinx no longer includes jquery.js and underscore.js by default.
  Please use python3-sphinxcontrib.jquery package if you are using a custom
  template and it still needs jquery.

- The setup.py build_sphinx command was removed. Please instead call
  sphinx-build or "python3 -m sphinx" directly.

- For packages using the extlinks extension, the caption should contain
  exactly one "%s" placeholder (if caption is not None).

In case you have questions, please Cc sph...@packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]: 
https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.20.1:/RELEASE-NOTES.txt
[3]: 
https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx7.1;users=python-modules-t...@lists.alioth.debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx7.1&fusertaguser=python-modules-t...@lists.alioth.debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

Reply via email to