Bug#1042687: ycm-cmake-modules: FTBFS with Sphinx 7.1, docutils 0.20: TypeError: not all arguments converted during string formatting

Lucas Nussbaum lucas at debian.org
Sun Jul 30 19:27:12 BST 2023


Source: ycm-cmake-modules
Version: 0.13.0-2
Severity: important
Tags: ftbfs
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx7.1

Hi,

ycm-cmake-modules fails to build with Sphinx 7.1 and docutils 0.20, both of which
are currently available in experimental.

Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 87%] Files from KDE Extra CMake Modules git repository (ref v5.79.0) downloaded
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/find-modules && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/find-modules/CMakeFiles/find-modules.dir/ycm_localinstall-complete
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/build-modules && /usr/bin/cmake -E echo_append
> cd /<<PKGBUILDDIR>>/3rdparty && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/3rdparty/CMakeFiles/3rdparty-ecm.dir/ycm_target-complete
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/build-modules && /usr/bin/cmake -E echo_append
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules && /usr/bin/cmake -E echo_append
> [ 87%] Built target deprecated
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/build-modules && /usr/bin/cmake -E echo_append
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules && /usr/bin/cmake -E echo_append
> [ 89%] sphinx-build html: see /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/docs/docs/build-html.log
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules && /usr/bin/cmake -E echo_append
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/build-modules && /usr/bin/cmake -E echo_append
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/docs && /usr/bin/sphinx-build -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/docs -d /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/docs/doctrees -b html /<<PKGBUILDDIR>>/help /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/docs/html > build-html.log
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/build-modules && /usr/bin/cmake -E echo_append
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules && /usr/bin/cmake -E echo_append
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules && /usr/bin/cmake -E echo_append
> [ 89%] Built target 3rdparty-ecm
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules && /usr/bin/cmake -E echo_append
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules && /usr/bin/cmake -E echo_append
> cd /<<PKGBUILDDIR>>/build-modules && /usr/bin/cmake -P /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/build-modules/CMakeFiles/build-modules.dir/ycm_localinstall__ee93a30a_11_files.cmake
> [ 92%] Files from find-modules installed in CMake build directory
> cd /<<PKGBUILDDIR>>/find-modules && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/find-modules/CMakeFiles/find-modules.dir/ycm_target-complete
> cd /<<PKGBUILDDIR>>/style-modules && /usr/bin/cmake -P /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules/CMakeFiles/style-modules.dir/ycm_localinstall__a4831d43_8_files.cmake
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/build-modules && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/build-modules/CMakeFiles/build-modules.dir/ycm_localinstall-complete
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules/CMakeFiles/style-modules.dir/ycm_localinstall-complete
> [ 92%] Built target find-modules
> [ 94%] Files from build-modules installed in CMake build directory
> cd /<<PKGBUILDDIR>>/build-modules && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/build-modules/CMakeFiles/build-modules.dir/ycm_target-complete
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 97%] Files from style-modules installed in CMake build directory
> cd /<<PKGBUILDDIR>>/style-modules && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/style-modules/CMakeFiles/style-modules.dir/ycm_target-complete
> [ 97%] Built target build-modules
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 97%] Built target style-modules
> WARNING: favicon file 'ycm-favicon.ico' does not exist
> 
> 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-o3geempv.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[4]: *** [docs/CMakeFiles/documentation.dir/build.make:77: docs/doc_format_html] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/ycm-cmake-modules_0.13.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 sphinx at 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-team@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-team@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



More information about the debian-science-maintainers mailing list