Source: mopidy
Version: 3.4.1-1
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx7.1

Hi,

mopidy 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>>'
> dh_auto_build
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/httpclient.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/zeroconf.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/ext.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/mixer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/backend.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/listener.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/commands.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/timer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/playlists.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/validation.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/deps.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/versioning.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/http.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/process.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/log.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/path.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/xdg.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/formatting.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/network.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/storage.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/jsonrpc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/gi.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> copying mopidy/internal/deprecation.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/internal
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/audio
> copying mopidy/audio/scan.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/audio
> copying mopidy/audio/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/audio
> copying mopidy/audio/actor.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/audio
> copying mopidy/audio/constants.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/audio
> copying mopidy/audio/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/audio
> copying mopidy/audio/tags.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/audio
> copying mopidy/audio/listener.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/audio
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/models
> copying mopidy/models/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/models
> copying mopidy/models/fields.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/models
> copying mopidy/models/immutable.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/models
> copying mopidy/models/serialize.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/models
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/m3u
> copying mopidy/m3u/playlists.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/m3u
> copying mopidy/m3u/translator.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/m3u
> copying mopidy/m3u/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/m3u
> copying mopidy/m3u/backend.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/m3u
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/file
> copying mopidy/file/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/file
> copying mopidy/file/backend.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/file
> copying mopidy/file/library.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/file
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/stream
> copying mopidy/stream/actor.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/stream
> copying mopidy/stream/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/stream
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/softwaremixer
> copying mopidy/softwaremixer/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/softwaremixer
> copying mopidy/softwaremixer/mixer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/softwaremixer
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/config
> copying mopidy/config/types.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/config
> copying mopidy/config/schemas.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/config
> copying mopidy/config/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/config
> copying mopidy/config/keyring.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/config
> copying mopidy/config/validators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/config
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/http
> copying mopidy/http/handlers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/http
> copying mopidy/http/actor.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/http
> copying mopidy/http/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/http
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> copying mopidy/core/playlists.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> copying mopidy/core/actor.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> copying mopidy/core/tracklist.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> copying mopidy/core/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> copying mopidy/core/history.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> copying mopidy/core/mixer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> copying mopidy/core/playback.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> copying mopidy/core/library.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> copying mopidy/core/listener.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/core
> running egg_info
> writing Mopidy.egg-info/PKG-INFO
> writing dependency_links to Mopidy.egg-info/dependency_links.txt
> writing entry points to Mopidy.egg-info/entry_points.txt
> writing requirements to Mopidy.egg-info/requires.txt
> writing top-level names to Mopidy.egg-info/top_level.txt
> reading manifest file 'Mopidy.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'docs/_build'
> no previously-included directories found matching 'docs/.doctrees'
> adding license file 'LICENSE'
> writing manifest file 'Mopidy.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:201: _Warning: 
> Package 'mopidy.http.data' is absent from the `packages` configuration.
> !!
> 
>         
> ********************************************************************************
>         ############################
>         # Package would be ignored #
>         ############################
>         Python recognizes 'mopidy.http.data' as an importable package[^1],
>         but it is absent from setuptools' `packages` configuration.
> 
>         This leads to an ambiguous overall configuration. If you want to 
> distribute this
>         package, please make sure that 'mopidy.http.data' is explicitly added
>         to the `packages` configuration field.
> 
>         Alternatively, you can also rely on setuptools' discovery methods
>         (for example by using `find_namespace_packages(...)`/`find_namespace:`
>         instead of `find_packages(...)`/`find:`).
> 
>         You can read more about "package discovery" on setuptools 
> documentation page:
> 
>         - 
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
> 
>         If you don't want 'mopidy.http.data' to be distributed and are
>         already explicitly excluding 'mopidy.http.data' via
>         `find_namespace_packages(...)/find_namespace` or 
> `find_packages(...)/find`,
>         you can try to use `exclude_package_data`, or 
> `include-package-data=False` in
>         combination with a more fine grained `package-data` configuration.
> 
>         You can read more about "package data files" on setuptools 
> documentation page:
> 
>         - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
> 
> 
>         [^1]: For Python, any directory (with suitable naming) can be 
> imported,
>               even if it does not contain any `.py` files.
>               On the other hand, currently there is no concept of package data
>               directory, all directories are treated like packages.
>         
> ********************************************************************************
> 
> !!
>   check.warn(importable)
> copying mopidy/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy
> copying mopidy/m3u/ext.conf -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/m3u
> copying mopidy/file/ext.conf -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/file
> copying mopidy/stream/ext.conf -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/stream
> copying mopidy/softwaremixer/ext.conf -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/softwaremixer
> copying mopidy/config/default.conf -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/config
> copying mopidy/http/ext.conf -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/http
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/http/data
> copying mopidy/http/data/clients.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/http/data
> copying mopidy/http/data/favicon.ico -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/http/data
> copying mopidy/http/data/mopidy.css -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/mopidy/http/data
> PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html
> Running Sphinx v7.1.1
> making output directory... done
> loading intersphinx inventory from 
> /usr/share/doc/python3-doc/html/objects.inv...
> loading intersphinx inventory from 
> /usr/share/doc/python3-pykka/html/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory '/usr/share/doc/python3-doc/html/objects.inv' not 
> fetchable due to <class 'FileNotFoundError'>: [Errno 2] No such file or 
> directory: '/usr/share/doc/python3-doc/html/objects.inv'
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 53 source files that are out of date
> updating environment: [new config] 53 added, 0 changed, 0 removed
> reading sources... [  2%] api/architecture
> reading sources... [  4%] api/audio
> reading sources... [  6%] api/backend
> reading sources... [  8%] api/commands
> reading sources... [  9%] api/config
> reading sources... [ 11%] api/core
> reading sources... [ 13%] api/ext
> reading sources... [ 15%] api/frontend
> reading sources... [ 17%] api/http
> reading sources... [ 19%] api/http-server
> reading sources... [ 21%] api/httpclient
> reading sources... [ 23%] api/index
> reading sources... [ 25%] api/js
> reading sources... [ 26%] api/mixer
> reading sources... [ 28%] api/models
> reading sources... [ 30%] api/zeroconf
> reading sources... [ 32%] audiosinks
> reading sources... [ 34%] authors
> reading sources... [ 36%] changelog
> 
> 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-wbonmx4i.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:19: override_dh_auto_build] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/mopidy_3.4.1-1_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