[Python-modules-team] Bug#955119: pygame: FTBFS with Sphinx 2.4: KeyError: 'versionextended'

Lucas Nussbaum lucas at debian.org
Fri Mar 27 14:50:18 GMT 2020


Source: pygame
Version: 1.9.6+dfsg-2
Severity: important
Tags: ftbfs
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx2.4

Hi,

pygame fails to build with Sphinx 2.4, currently available in
experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python3 setup.py build_sphinx
> running build_sphinx
> Running Sphinx v2.4.3
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 68 source files that are out of date
> updating environment: [new config] 68 added, 0 changed, 0 removed
> reading sources... [  1%] c_api
> reading sources... [  2%] c_api/base
> reading sources... [  4%] c_api/bufferproxy
> reading sources... [  5%] c_api/cdrom
> reading sources... [  7%] c_api/color
> reading sources... [  8%] c_api/display
> reading sources... [ 10%] c_api/event
> reading sources... [ 11%] c_api/freetype
> reading sources... [ 13%] c_api/mixer
> reading sources... [ 14%] c_api/rect
> reading sources... [ 16%] c_api/rwobject
> reading sources... [ 17%] c_api/surface
> reading sources... [ 19%] c_api/surflock
> reading sources... [ 20%] c_api/version
> reading sources... [ 22%] filepaths
> reading sources... [ 23%] index
> reading sources... [ 25%] ref/bufferproxy
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/sphinx/domains/changeset.py", line 84, in run
>     classes = ['versionmodified', versionlabel_classes[self.name]]
> KeyError: 'versionextended'
> The full traceback has been saved in /tmp/sphinx-err-ukg47f_0.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!
> ---
> For help with compilation see:
>     https://www.pygame.org/wiki/Compilation
> To contribute to pygame development see:
>     https://www.pygame.org/contribute.html
> ---
> make[1]: *** [debian/rules:47: override_dh_installdocs] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/03/26/pygame_1.9.6+dfsg-2_unstable_sphinx243.log

Please see [1] for Sphinx changelog, which may give a hint of what changes in
Sphinx caused this error.

Also see [2] for the list of deprecated/removed APIs and possible alternatives
to them.

Sphinx 2.4 is going to be uploaded to unstable in a couple of weeks. When that
happens, the severity of this bug will be bumped to serious.

In case you have questions, please Cc sphinx at packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/2.0/changes.html
[2]: https://www.sphinx-doc.org/en/2.0/extdev/deprecated.html#dev-deprecated-apis

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list