Source: pygtkspellcheck
Version: 4.0.5-3
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx7.1
Hi,
pygtkspellcheck 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
> /<<PKGBUILDDIR>>/setup.py:21: DeprecationWarning: The distutils package is
> deprecated and slated for removal in Python 3.12. Use setuptools or check PEP
> 632 for potential alternatives
> import distutils.cmd
> /<<PKGBUILDDIR>>/src/gtkspellcheck/spellcheck.py:59: PyGIWarning: Gtk was
> imported without specifying a version first. Use gi.require_version('Gtk',
> '3.0') before import to ensure that the right version gets loaded.
> from gi.repository import Gtk as gtk
> /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution
> option: 'install_requires'
> warnings.warn(msg)
> /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution
> option: 'extras_require'
> warnings.warn(msg)
> build_sphinx command is unavailable, please install Sphinx to solve this
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/gtkspellcheck
> copying src/gtkspellcheck/oxt_extract.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/gtkspellcheck
> copying src/gtkspellcheck/spellcheck.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/gtkspellcheck
> copying src/gtkspellcheck/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/gtkspellcheck
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pylocales
> copying src/pylocales/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pylocales
> copying src/pylocales/locales.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pylocales
> copying src/pylocales/locales.db ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pylocales
> python3 setup.py build_sphinx
> /<<PKGBUILDDIR>>/setup.py:21: DeprecationWarning: The distutils package is
> deprecated and slated for removal in Python 3.12. Use setuptools or check PEP
> 632 for potential alternatives
> import distutils.cmd
> /<<PKGBUILDDIR>>/src/gtkspellcheck/spellcheck.py:59: PyGIWarning: Gtk was
> imported without specifying a version first. Use gi.require_version('Gtk',
> '3.0') before import to ensure that the right version gets loaded.
> from gi.repository import Gtk as gtk
> /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution
> option: 'install_requires'
> warnings.warn(msg)
> /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution
> option: 'extras_require'
> warnings.warn(msg)
> build_sphinx command is unavailable, please install Sphinx to solve this
> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> or: setup.py --help [cmd1 cmd2 ...]
> or: setup.py --help-commands
> or: setup.py cmd --help
>
> error: invalid command 'build_sphinx'
> make[1]: *** [debian/rules:10: override_dh_auto_build] Error 1
The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/pygtkspellcheck_4.0.5-3_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