Source: pygame
Version: 2.1.2+dfsg-6
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx7.1
Hi,
pygame 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>>'
> python3 setup.py docs -f
> Running Sphinx v7.1.1
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> writing output...
> building [html]: targets for 90 source files that are out of date
> updating environment: [new config] 90 added, 0 changed, 0 removed
> [2Kreading sources... [ 1%] c_api
> [2Kreading sources... [ 2%] c_api/base
> [2Kreading sources... [ 3%] c_api/bufferproxy
> [2Kreading sources... [ 4%] c_api/cdrom
> [2Kreading sources... [ 6%] c_api/color
> [2Kreading sources... [ 7%] c_api/display
> [2Kreading sources... [ 8%] c_api/event
> [2Kreading sources... [ 9%] c_api/freetype
> [2Kreading sources... [ 10%] c_api/mixer
> [2Kreading sources... [ 11%] c_api/rect
> [2Kreading sources... [ 12%] c_api/rwobject
> [2Kreading sources... [ 13%] c_api/slots
> [2Kreading sources... [ 14%] c_api/surface
> [2Kreading sources... [ 16%] c_api/surflock
> [2Kreading sources... [ 17%] c_api/version
> [2Kreading sources... [ 18%] filepaths
> [2Kreading sources... [ 19%] index
> [2Kreading sources... [ 20%] ref/bufferproxy
> [2Kreading sources... [ 21%] ref/camera
> [2Kreading sources... [ 22%] ref/cdrom
> [2Kreading sources... [ 23%] ref/color
> [2Kreading sources... [ 24%] ref/color_list
> [2Kreading sources... [ 26%] ref/cursors
> [2Kreading sources... [ 27%] ref/display
> [2Kreading sources... [ 28%] ref/draw
> [2Kreading sources... [ 29%] ref/event
> [2Kreading sources... [ 30%] ref/examples
> [2Kreading sources... [ 31%] ref/fastevent
> [2Kreading sources... [ 32%] ref/font
> [2Kreading sources... [ 33%] ref/freetype
> [2Kreading sources... [ 34%] ref/gfxdraw
> [2Kreading sources... [ 36%] ref/image
> [2Kreading sources... [ 37%] ref/joystick
> [2Kreading sources... [ 38%] ref/key
> [2Kreading sources... [ 39%] ref/locals
> [2Kreading sources... [ 40%] ref/mask
> [2Kreading sources... [ 41%] ref/math
> [2Kreading sources... [ 42%] ref/midi
> [2Kreading sources... [ 43%] ref/mixer
> [2Kreading sources... [ 44%] ref/mouse
> [2Kreading sources... [ 46%] ref/music
> [2Kreading sources... [ 47%] ref/overlay
> [2Kreading sources... [ 48%] ref/pixelarray
> [2Kreading sources... [ 49%] ref/pixelcopy
> [2Kreading sources... [ 50%] ref/pygame
> [2Kreading sources... [ 51%] ref/rect
> [2Kreading sources... [ 52%] ref/scrap
> [2Kreading sources... [ 53%] ref/sdl2_controller
> [2Kreading sources... [ 54%] ref/sdl2_video
> [2Kreading sources... [ 56%] ref/sndarray
> [2Kreading sources... [ 57%] ref/sprite
> [2Kreading sources... [ 58%] ref/surface
> [2Kreading sources... [ 59%] ref/surfarray
> [2Kreading sources... [ 60%] ref/tests
> [2Kreading sources... [ 61%] ref/time
> [2Kreading sources... [ 62%] ref/touch
> [2Kreading sources... [ 63%] ref/transform
> [2Kreading sources... [ 64%] tut/CameraIntro
> [2Kreading sources... [ 66%] tut/ChimpLineByLine
> [2Kreading sources... [ 67%] tut/DisplayModes
> [2Kreading sources... [ 68%] tut/ImportInit
> [2Kreading sources... [ 69%] tut/MakeGames
> [2Kreading sources... [ 70%] tut/MoveIt
> [2Kreading sources... [ 71%] tut/PygameIntro
> [2Kreading sources... [ 72%] tut/SpriteIntro
> [2Kreading sources... [ 73%] tut/SurfarrayIntro
> [2Kreading sources... [ 74%] tut/chimp.py
> [2Kreading sources... [ 76%] tut/en/Red_or_Black/1.Prolog/introduction
> [2Kreading sources... [ 77%] tut/en/Red_or_Black/2.Print_text/Basic TEMPLATE
> and OUTPUT
> [2Kreading sources... [ 78%] tut/en/Red_or_Black/3.Move_text/Basic PROCESS
> [2Kreading sources... [ 79%] tut/en/Red_or_Black/4.Control_text/Basic INPUT
> [2Kreading sources... [ 80%] tut/en/Red_or_Black/5.HP_bar/Advanced OUTPUT
> with Advanced PROCESS
> [2Kreading sources... [ 81%] tut/en/Red_or_Black/6.Buttons/Advanced INPUT
> with Advanced OUTPUT
> [2Kreading sources... [ 82%] tut/en/Red_or_Black/7.Game_board/Advanced
> OUTPUT and plus alpha
> [2Kreading sources... [ 83%] tut/en/Red_or_Black/8.Epilog/Epilog
> [2Kreading sources... [ 84%] tut/ko/빨간블록 검은블록/1.프롤로그/소개
> [2Kreading sources... [ 86%] tut/ko/빨간블록 검은블록/2.텍스트 출력/기초 템플릿과 출력
> [2Kreading sources... [ 87%] tut/ko/빨간블록 검은블록/3.텍스트 이동/기초 처리
> [2Kreading sources... [ 88%] tut/ko/빨간블록 검은블록/4.텍스트 조종/기초 입력
> [2Kreading sources... [ 89%] tut/ko/빨간블록 검은블록/5.HP바/심화 출력 그리고 심화 처리
> [2Kreading sources... [ 90%] tut/ko/빨간블록 검은블록/6.버튼들/심화 입력 그리고 심화 출력
> [2Kreading sources... [ 91%] tut/ko/빨간블록 검은블록/7.게임판/심화 출력 그리고 조금 더
> [2Kreading sources... [ 92%] tut/ko/빨간블록 검은블록/8.에필로그/에필로그
> [2Kreading sources... [ 93%] tut/ko/빨간블록 검은블록/overview
> [2Kreading sources... [ 94%] tut/newbieguide
> [2Kreading sources... [ 96%] tut/tom_games2
> [2Kreading sources... [ 97%] tut/tom_games3
> [2Kreading sources... [ 98%] tut/tom_games4
> [2Kreading sources... [ 99%] tut/tom_games5
> [2Kreading sources... [100%] tut/tom_games6
>
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets... copying static files... done
> copying extra files... done
> done
> [2Kwriting output... [ 1%] c_api
>
> Theme error:
> An error happened in rendering the page c_api.
> Reason: UndefinedError("'logo' is undefined")
> Executing sphinx in subprocess with args: ['/usr/bin/python3', '-m',
> 'sphinx', '-b', 'html', '-d', 'docs/generated/doctrees', '-D',
> 'headers_dest=src_c/doc', '-D', 'headers_mkdirs=0', 'docs/reST',
> 'docs/generated', '-E']
> Using python: /usr/bin/python3
>
> ---
> For help with compilation see:
> https://www.pygame.org/wiki/Compilation
> To contribute to pygame development see:
> https://www.pygame.org/contribute.html
> ---
>
> Failed to build documentation
> make[1]: *** [debian/rules:47: override_dh_installdocs] Error 1
The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/pygame_2.1.2+dfsg-6_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