Source: isc-kea
Version: 2.0.2-1
Severity: important
Tags: ftbfs
User: mity...@debian.org
Usertags: sphinx5.0

Hi,

isc-kea fails to build with Sphinx 5.0 and docutils 0.18, both of which
are currently available in experimental.

Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/doc/sphinx'
> rm -f ./arm/platforms.rst
> cp ./../../platforms.rst ./arm/platforms.rst
> /usr/bin/sphinx-build -M html . ./_build -v -E -a -W -j 2 -c 
> "/<<PKGBUILDDIR>>/doc/sphinx"
> Running Sphinx v5.0.2
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 272, in 
> build_main
>     app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
>   File "/usr/lib/python3/dist-packages/sphinx/application.py", line 196, in 
> __init__
>     self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
>   File "/usr/lib/python3/dist-packages/sphinx/config.py", line 172, in read
>     logger.warning(__("Invalid configuration value found: 'language = None'. "
>   File "/usr/lib/python3.10/logging/__init__.py", line 1847, in warning
>     self.log(WARNING, msg, *args, **kwargs)
>   File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 122, in 
> log
>     super().log(level, msg, *args, **kwargs)
>   File "/usr/lib/python3.10/logging/__init__.py", line 1879, in log
>     self.logger.log(level, msg, *args, **kwargs)
>   File "/usr/lib/python3.10/logging/__init__.py", line 1547, in log
>     self._log(level, msg, args, **kwargs)
>   File "/usr/lib/python3.10/logging/__init__.py", line 1624, in _log
>     self.handle(record)
>   File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle
>     self.callHandlers(record)
>   File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
>     hdlr.handle(record)
>   File "/usr/lib/python3.10/logging/__init__.py", line 964, in handle
>     rv = self.filter(record)
>   File "/usr/lib/python3.10/logging/__init__.py", line 821, in filter
>     result = f.filter(record)
>   File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 425, in 
> filter
>     raise exc
> sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = 
> None'. Update your configuration to a valid langauge code. Falling back to 
> 'en' (English).
> 
> Warning, treated as error:
> Invalid configuration value found: 'language = None'. Update your 
> configuration to a valid langauge code. Falling back to 'en' (English).
> make[4]: *** [Makefile:902: html] Error 2


The full build log is available from:
http://qa-logs.debian.net/2022/06/23/isc-kea_2.0.2-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.

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.18.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=sphinx5.0;users=mity...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx5.0&fusertaguser=mity...@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