Source: pympress
Version: 1.7.1-3
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx7.1
Hi,
pympress 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
> Using setuptools.setup():
> running build
> running build_py
> running compile_catalog
> 151 of 255 messages (59%) translated in
> pympress/share/locale/pl/LC_MESSAGES/pympress.po
> compiling catalog pympress/share/locale/pl/LC_MESSAGES/pympress.po to
> pympress/share/locale/pl/LC_MESSAGES/pympress.mo
> 195 of 255 messages (76%) translated in
> pympress/share/locale/es/LC_MESSAGES/pympress.po
> compiling catalog pympress/share/locale/es/LC_MESSAGES/pympress.po to
> pympress/share/locale/es/LC_MESSAGES/pympress.mo
> 251 of 255 messages (98%) translated in
> pympress/share/locale/fr/LC_MESSAGES/pympress.po
> compiling catalog pympress/share/locale/fr/LC_MESSAGES/pympress.po to
> pympress/share/locale/fr/LC_MESSAGES/pympress.mo
> 166 of 255 messages (65%) translated in
> pympress/share/locale/de/LC_MESSAGES/pympress.po
> compiling catalog pympress/share/locale/de/LC_MESSAGES/pympress.po to
> pympress/share/locale/de/LC_MESSAGES/pympress.mo
> 197 of 255 messages (77%) translated in
> pympress/share/locale/cs/LC_MESSAGES/pympress.po
> compiling catalog pympress/share/locale/cs/LC_MESSAGES/pympress.po to
> pympress/share/locale/cs/LC_MESSAGES/pympress.mo
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/app.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/document.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/dialog.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/builder.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/ui.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/pointer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/surfacecache.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/editable_label.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/config.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/extras.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/talk_time.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> copying pympress/scribble.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/media_overlays
> copying pympress/media_overlays/base.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/media_overlays
> copying pympress/media_overlays/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/media_overlays
> copying pympress/media_overlays/vlc_backend.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/media_overlays
> copying pympress/media_overlays/gif_backend.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/media_overlays
> copying pympress/media_overlays/gst_backend.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/media_overlays
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share
> copying pympress/share/defaults.conf ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> copying pympress/share/xml/shortcuts.glade ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> copying pympress/share/xml/layout_dialog.glade ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> copying pympress/share/xml/content.glade ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> copying pympress/share/xml/time_report_dialog.glade ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> copying pympress/share/xml/media_overlay.glade ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> copying pympress/share/xml/presenter.glade ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> copying pympress/share/xml/highlight.glade ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> copying pympress/share/xml/autoplay.glade ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> copying pympress/share/xml/menu_bar.xml ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/xml
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/css
> copying pympress/share/css/default.css ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/css
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pympress-64.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/marker_fill_3.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pympress-16.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pointer_red.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pympress.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pympress-22.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pointer_blue.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pointer_green.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pympress-32.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/eraser.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/marker_1.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pympress-24.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/marker_fill_1.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/marker_2.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/pympress-48.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/marker_3.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> copying pympress/share/pixmaps/marker_fill_2.png ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/pixmaps
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/pl
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/pl/LC_MESSAGES
> copying pympress/share/locale/pl/LC_MESSAGES/pympress.mo ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/pl/LC_MESSAGES
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/es
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/es/LC_MESSAGES
> copying pympress/share/locale/es/LC_MESSAGES/pympress.mo ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/es/LC_MESSAGES
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/fr
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/fr/LC_MESSAGES
> copying pympress/share/locale/fr/LC_MESSAGES/pympress.mo ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/fr/LC_MESSAGES
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/de
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/de/LC_MESSAGES
> copying pympress/share/locale/de/LC_MESSAGES/pympress.mo ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/de/LC_MESSAGES
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/cs
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/cs/LC_MESSAGES
> copying pympress/share/locale/cs/LC_MESSAGES/pympress.mo ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pympress/build/pympress/share/locale/cs/LC_MESSAGES
> PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html # HTML generator
> Running Sphinx v7.1.1
> making output directory... done
> WARNING: html_static_path entry '_static' does not exist
> myst v2.0.0: MdParserConfig(commonmark_only=False, gfm_only=False,
> enable_extensions=set(), disable_syntax=[], all_links_external=False,
> url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None,
> fence_as_directive=set(), number_code_blocks=[], title_to_header=False,
> heading_anchors=0, heading_slug_func=None, html_meta={},
> footnote_transition=True, words_per_minute=200, substitutions={},
> linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True,
> dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True,
> mathjax_classes='tex2jax_process|mathjax_process|math|output_area',
> enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
> loading intersphinx inventory from
> /usr/share/doc/python3.11/html/objects.inv...
> loading intersphinx inventory from
> /usr/share/doc/python3-cairo/html/objects.inv...
> building [mo]: targets for 0 po files that are out of date
> writing output...
> building [html]: targets for 4 source files that are out of date
> updating environment: [new config] 4 added, 0 changed, 0 removed
> [2Kreading sources... [ 25%] README
> [2Kreading sources... [ 50%] index
> [2Kreading sources... [ 75%] options
> [2Kreading sources... [100%] pympress
>
> /<<PKGBUILDDIR>>/docs/README.md:128: WARNING: Non-consecutive header level
> increase; H1 to H3 [myst.header]
> /<<PKGBUILDDIR>>/docs/README.md:234: WARNING: Non-consecutive header level
> increase; H1 to H3 [myst.header]
> /<<PKGBUILDDIR>>/docs/README.md:261: WARNING: Non-consecutive header level
> increase; H1 to H3 [myst.header]
> /<<PKGBUILDDIR>>/docs/README.md:269: WARNING: Non-consecutive header level
> increase; H1 to H3 [myst.header]
> WARNING: autodoc: failed to import module '__main__' from module 'pympress';
> the following exception was raised:
> Traceback (most recent call last):
> File "/usr/lib/python3.11/pathlib.py", line 1117, in mkdir
> os.mkdir(self, mode)
> FileNotFoundError: [Errno 2] No such file or directory:
> '/sbuild-nonexistent/.cache'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line
> 66, in import_module
> return importlib.import_module(modname)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 940, in exec_module
> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/pympress/__main__.py", line 39, in <module>
> logging.basicConfig(filename=util.get_log_path(), level=logging.DEBUG)
> ^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/pympress/util.py", line 211, in get_log_path
> base_dir.mkdir(parents=True)
> File "/usr/lib/python3.11/pathlib.py", line 1121, in mkdir
> self.parent.mkdir(parents=True, exist_ok=True)
> File "/usr/lib/python3.11/pathlib.py", line 1117, in mkdir
> os.mkdir(self, mode)
> PermissionError: [Errno 13] Permission denied: '/sbuild-nonexistent'
>
> WARNING: autodoc: failed to import module 'app' from module 'pympress'; the
> following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'ui' from module 'pympress'; the
> following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'document' from module 'pympress';
> the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'builder' from module 'pympress';
> the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'surfacecache' from module
> 'pympress'; the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'scribble' from module 'pympress';
> the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'pointer' from module 'pympress';
> the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'editable_label' from module
> 'pympress'; the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'talk_time' from module 'pympress';
> the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'config' from module 'pympress';
> the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'extras' from module 'pympress';
> the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'base' from module
> 'pympress.media_overlays'; the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'gif_backend' from module
> 'pympress.media_overlays'; the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'gst_backend' from module
> 'pympress.media_overlays'; the following exception was raised:
> No module named 'gi'
> WARNING: autodoc: failed to import module 'vlc_backend' from module
> 'pympress.media_overlays'; the following exception was raised:
> No module named 'vlc'
> 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... [ 25%] README
> /<<PKGBUILDDIR>>/docs/README.md:6: WARNING: 'myst' cross-reference target not
> found: 'functionalities' [myst.xref_missing]
> /<<PKGBUILDDIR>>/docs/README.md:80: WARNING: 'myst' cross-reference target
> not found: 'dependencies' [myst.xref_missing]
> /<<PKGBUILDDIR>>/docs/README.md:88: WARNING: 'myst' cross-reference target
> not found: 'dependencies' [myst.xref_missing]
> /<<PKGBUILDDIR>>/docs/README.md:270: WARNING: 'myst' cross-reference target
> not found: 'installing' [myst.xref_missing]
> /<<PKGBUILDDIR>>/docs/README.md:328: WARNING: 'myst' cross-reference target
> not found: 'installing-' [myst.xref_missing]
>
> Theme error:
> An error happened in rendering the page README.
> Reason: UndefinedError("'logo' is undefined")
> make[1]: *** [debian/rules:18: override_dh_auto_build] Error 2
The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/pympress_1.7.1-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