Source: mutagen
Version: 1.46.0-2
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx7.1

Hi,

mutagen 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>>'
> PYTHONPATH=. \
>    http_proxy='127.0.0.1:9' \
>    https_proxy='127.0.0.1:9' \
>    python3 -m sphinx -N -b html docs/ /<<PKGBUILDDIR>>/.pybuild/docs/html/
> Running Sphinx v7.1.1
> making output directory... done
> loading intersphinx inventory from /usr/share/doc/python3/html/objects.inv...
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 47 source files that are out of date
> updating environment: [new config] 47 added, 0 changed, 0 removed
> reading sources... [  2%] api/aac
> reading sources... [  4%] api/ac3
> reading sources... [  6%] api/aiff
> reading sources... [  9%] api/ape
> reading sources... [ 11%] api/asf
> reading sources... [ 13%] api/base
> reading sources... [ 15%] api/dsdiff
> reading sources... [ 17%] api/dsf
> reading sources... [ 19%] api/flac
> reading sources... [ 21%] api/id3
> reading sources... [ 23%] api/index
> reading sources... [ 26%] api/monkeysaudio
> reading sources... [ 28%] api/mp3
> reading sources... [ 30%] api/mp4
> reading sources... [ 32%] api/musepack
> reading sources... [ 34%] api/ogg
> reading sources... [ 36%] api/oggflac
> reading sources... [ 38%] api/oggopus
> reading sources... [ 40%] api/oggspeex
> reading sources... [ 43%] api/oggtheora
> reading sources... [ 45%] api/oggvorbis
> reading sources... [ 47%] api/optimfrog
> reading sources... [ 49%] api/smf
> reading sources... [ 51%] api/tak
> reading sources... [ 53%] api/trueaudio
> reading sources... [ 55%] api/vcomment
> reading sources... [ 57%] api/wave
> reading sources... [ 60%] api/wavpack
> reading sources... [ 62%] changelog
> /<<PKGBUILDDIR>>/docs/api/id3.rst:10: WARNING: toctree contains reference to 
> nonexisting document 'api/id3_frames'
> 
> 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-pao2ypeg.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[1]: *** [debian/rules:20: execute_after_dh_auto_build] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/mutagen_1.46.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 [email protected] 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;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx7.1&[email protected]&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