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
> reading sources... [  1%] c_api
> reading sources... [  2%] c_api/base
> reading sources... [  3%] c_api/bufferproxy
> reading sources... [  4%] c_api/cdrom
> reading sources... [  6%] c_api/color
> reading sources... [  7%] c_api/display
> reading sources... [  8%] c_api/event
> reading sources... [  9%] c_api/freetype
> reading sources... [ 10%] c_api/mixer
> reading sources... [ 11%] c_api/rect
> reading sources... [ 12%] c_api/rwobject
> reading sources... [ 13%] c_api/slots
> reading sources... [ 14%] c_api/surface
> reading sources... [ 16%] c_api/surflock
> reading sources... [ 17%] c_api/version
> reading sources... [ 18%] filepaths
> reading sources... [ 19%] index
> reading sources... [ 20%] ref/bufferproxy
> reading sources... [ 21%] ref/camera
> reading sources... [ 22%] ref/cdrom
> reading sources... [ 23%] ref/color
> reading sources... [ 24%] ref/color_list
> reading sources... [ 26%] ref/cursors
> reading sources... [ 27%] ref/display
> reading sources... [ 28%] ref/draw
> reading sources... [ 29%] ref/event
> reading sources... [ 30%] ref/examples
> reading sources... [ 31%] ref/fastevent
> reading sources... [ 32%] ref/font
> reading sources... [ 33%] ref/freetype
> reading sources... [ 34%] ref/gfxdraw
> reading sources... [ 36%] ref/image
> reading sources... [ 37%] ref/joystick
> reading sources... [ 38%] ref/key
> reading sources... [ 39%] ref/locals
> reading sources... [ 40%] ref/mask
> reading sources... [ 41%] ref/math
> reading sources... [ 42%] ref/midi
> reading sources... [ 43%] ref/mixer
> reading sources... [ 44%] ref/mouse
> reading sources... [ 46%] ref/music
> reading sources... [ 47%] ref/overlay
> reading sources... [ 48%] ref/pixelarray
> reading sources... [ 49%] ref/pixelcopy
> reading sources... [ 50%] ref/pygame
> reading sources... [ 51%] ref/rect
> reading sources... [ 52%] ref/scrap
> reading sources... [ 53%] ref/sdl2_controller
> reading sources... [ 54%] ref/sdl2_video
> reading sources... [ 56%] ref/sndarray
> reading sources... [ 57%] ref/sprite
> reading sources... [ 58%] ref/surface
> reading sources... [ 59%] ref/surfarray
> reading sources... [ 60%] ref/tests
> reading sources... [ 61%] ref/time
> reading sources... [ 62%] ref/touch
> reading sources... [ 63%] ref/transform
> reading sources... [ 64%] tut/CameraIntro
> reading sources... [ 66%] tut/ChimpLineByLine
> reading sources... [ 67%] tut/DisplayModes
> reading sources... [ 68%] tut/ImportInit
> reading sources... [ 69%] tut/MakeGames
> reading sources... [ 70%] tut/MoveIt
> reading sources... [ 71%] tut/PygameIntro
> reading sources... [ 72%] tut/SpriteIntro
> reading sources... [ 73%] tut/SurfarrayIntro
> reading sources... [ 74%] tut/chimp.py
> reading sources... [ 76%] tut/en/Red_or_Black/1.Prolog/introduction
> reading sources... [ 77%] tut/en/Red_or_Black/2.Print_text/Basic TEMPLATE 
> and OUTPUT
> reading sources... [ 78%] tut/en/Red_or_Black/3.Move_text/Basic PROCESS
> reading sources... [ 79%] tut/en/Red_or_Black/4.Control_text/Basic INPUT
> reading sources... [ 80%] tut/en/Red_or_Black/5.HP_bar/Advanced OUTPUT 
> with Advanced PROCESS
> reading sources... [ 81%] tut/en/Red_or_Black/6.Buttons/Advanced INPUT 
> with Advanced OUTPUT
> reading sources... [ 82%] tut/en/Red_or_Black/7.Game_board/Advanced 
> OUTPUT and plus alpha
> reading sources... [ 83%] tut/en/Red_or_Black/8.Epilog/Epilog
> reading sources... [ 84%] tut/ko/빨간블록 검은블록/1.프롤로그/소개
> reading sources... [ 86%] tut/ko/빨간블록 검은블록/2.텍스트 출력/기초 템플릿과 출력
> reading sources... [ 87%] tut/ko/빨간블록 검은블록/3.텍스트 이동/기초 처리
> reading sources... [ 88%] tut/ko/빨간블록 검은블록/4.텍스트 조종/기초 입력
> reading sources... [ 89%] tut/ko/빨간블록 검은블록/5.HP바/심화 출력 그리고 심화 처리
> reading sources... [ 90%] tut/ko/빨간블록 검은블록/6.버튼들/심화 입력 그리고 심화 출력
> reading sources... [ 91%] tut/ko/빨간블록 검은블록/7.게임판/심화 출력 그리고 조금 더
> reading sources... [ 92%] tut/ko/빨간블록 검은블록/8.에필로그/에필로그
> reading sources... [ 93%] tut/ko/빨간블록 검은블록/overview
> reading sources... [ 94%] tut/newbieguide
> reading sources... [ 96%] tut/tom_games2
> reading sources... [ 97%] tut/tom_games3
> reading sources... [ 98%] tut/tom_games4
> reading sources... [ 99%] tut/tom_games5
> reading 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
> writing 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

Reply via email to