Source: sphinx-gallery
Version: 0.10.1-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/doc'
> sphinx-build -b html -d _build/doctrees   . _build/html
> Running Sphinx v7.2.6
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-gallery/build/sphinx_gallery/sphinx_compatibility.py:71:
>  RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is 
> deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES 
> for Sphinx API modifications.
>   status_iterator = sphinx.util.status_iterator
> making output directory... done
> [autosummary] generating autosummary for: advanced.rst, changes.rst, 
> configuration.rst, faq.rst, getting_started.rst, index.rst, maintainers.rst, 
> projects_list.rst, reference.rst, syntax.rst, utils.rst
> [autosummary] generating autosummary for: 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.backreferences.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.binder.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.directives.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.docs_resolv.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.downloads.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.gen_gallery.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.gen_rst.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.notebook.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.py_source_parser.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.scrapers.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.sorting.rst, 
> /<<PKGBUILDDIR>>/doc/gen_modules/sphinx_gallery.utils.optipng.rst
> loading intersphinx inventory from 
> /usr/share/doc/python3-doc/html/objects.inv...
> loading intersphinx inventory from 
> /usr/share/doc/python-numpy-doc/html/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory '/usr/share/doc/python-numpy-doc/html/objects.inv' not 
> fetchable due to <class 'FileNotFoundError'>: [Errno 2] No such file or 
> directory: '/usr/share/doc/python-numpy-doc/html/objects.inv'
> loading intersphinx inventory from 
> /usr/share/doc/python-matplotlib-doc/html/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory '/usr/share/doc/python-matplotlib-doc/html/objects.inv' 
> not fetchable due to <class 'FileNotFoundError'>: [Errno 2] No such file or 
> directory: '/usr/share/doc/python-matplotlib-doc/html/objects.inv'
> loading intersphinx inventory from 
> /usr/share/doc/python-sklearn-doc/html/objects.inv...
> loading intersphinx inventory from 
> /usr/share/doc/sphinx-doc/html/objects.inv...
> loading intersphinx inventory from 
> /usr/share/doc/python-pandas-doc/html/objects.inv...
> generating gallery...
> Matplotlib created a temporary config/cache directory at 
> /tmp/matplotlib-bmrzrl0y because the default path 
> (/sbuild-nonexistent/.config/matplotlib) is not a writable directory; it is 
> highly recommended to set the MPLCONFIGDIR environment variable to a writable 
> directory, in particular to speed up the import of Matplotlib and to better 
> support multiprocessing.
> Using Sphinx-Gallery to convert rst text blocks to markdown for .ipynb files.
> generating gallery for auto_examples... [  9%] local_module.py
> generating gallery for auto_examples... [ 18%] plot_0_sin.py
> generating gallery for auto_examples... [ 27%] plot_1_exp.py
> generating gallery for auto_examples... [ 36%] plot_2_seaborn.py
> generating gallery for auto_examples... [ 45%] plot_3_capture_repr.py
> generating gallery for auto_examples... [ 55%] plot_4_choose_thumbnail.py
> generating gallery for auto_examples... [ 64%] 
> plot_4b_provide_thumbnail.py
> generating gallery for auto_examples... [ 73%] 
> plot_5_unicode_everywhere.py
> generating gallery for auto_examples... [ 82%] 
> plot_6_function_identifier.py
> generating gallery for auto_examples... [ 91%] plot_7_sys_argv.py
> generating gallery for auto_examples... [100%] plot_9_plotly.py
> 
> generating gallery for auto_examples/no_output... [ 25%] just_code.py
> generating gallery for auto_examples/no_output... [ 50%] plot_raise.py
> /<<PKGBUILDDIR>>/examples/no_output/plot_raise.py failed to execute 
> correctly: Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/examples/no_output/plot_raise.py", line 27, in 
> <module>
>     iae
> NameError: name 'iae' is not defined
> 
> generating gallery for auto_examples/no_output... [ 75%] plot_strings.py
> generating gallery for auto_examples/no_output... [100%] 
> plot_syntaxerror.py
> /<<PKGBUILDDIR>>/examples/no_output/plot_syntaxerror.py failed to execute 
> correctly: Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/examples/no_output/plot_syntaxerror.py", line 13
>     Invalid Python code
>             ^^^^^^
> SyntaxError: invalid syntax
> 
> 
> generating gallery for tutorials... [100%] plot_parse.py
> 
> computation time summary:
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 11 source files that are out of date
> updating environment: [new config] 44 added, 0 changed, 0 removed
> reading sources... [  2%] advanced
> reading sources... [  5%] auto_examples/index
> reading sources... [  7%] auto_examples/local_module
> reading sources... [  9%] auto_examples/no_output/just_code
> reading sources... [ 11%] auto_examples/no_output/plot_raise
> reading sources... [ 14%] auto_examples/no_output/plot_strings
> reading sources... [ 16%] auto_examples/no_output/plot_syntaxerror
> reading sources... [ 18%] auto_examples/no_output/sg_execution_times
> reading sources... [ 20%] auto_examples/plot_0_sin
> reading sources... [ 23%] auto_examples/plot_1_exp
> reading sources... [ 25%] auto_examples/plot_2_seaborn
> reading sources... [ 27%] auto_examples/plot_3_capture_repr
> reading sources... [ 30%] auto_examples/plot_4_choose_thumbnail
> reading sources... [ 32%] auto_examples/plot_4b_provide_thumbnail
> reading sources... [ 34%] auto_examples/plot_5_unicode_everywhere
> reading sources... [ 36%] auto_examples/plot_6_function_identifier
> reading sources... [ 39%] auto_examples/plot_7_sys_argv
> reading sources... [ 41%] auto_examples/plot_9_plotly
> reading sources... [ 43%] auto_examples/sg_execution_times
> reading sources... [ 45%] changes
> reading sources... [ 48%] configuration
> reading sources... [ 50%] faq
> reading sources... [ 52%] gen_modules/sphinx_gallery.backreferences
> reading sources... [ 55%] gen_modules/sphinx_gallery.binder
> reading sources... [ 57%] gen_modules/sphinx_gallery.directives
> reading sources... [ 59%] gen_modules/sphinx_gallery.docs_resolv
> reading sources... [ 61%] gen_modules/sphinx_gallery.downloads
> reading sources... [ 64%] gen_modules/sphinx_gallery.gen_gallery
> reading sources... [ 66%] gen_modules/sphinx_gallery.gen_rst
> reading sources... [ 68%] gen_modules/sphinx_gallery.notebook
> reading sources... [ 70%] gen_modules/sphinx_gallery.py_source_parser
> reading sources... [ 73%] gen_modules/sphinx_gallery.scrapers
> reading sources... [ 75%] gen_modules/sphinx_gallery.sorting
> reading sources... [ 77%] gen_modules/sphinx_gallery.utils.optipng
> reading sources... [ 80%] getting_started
> reading sources... [ 82%] index
> reading sources... [ 84%] maintainers
> reading sources... [ 86%] projects_list
> reading sources... [ 89%] reference
> reading sources... [ 91%] syntax
> reading sources... [ 93%] tutorials/index
> reading sources... [ 95%] tutorials/plot_parse
> reading sources... [ 98%] tutorials/sg_execution_times
> reading sources... [100%] utils
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets... copying downloadable files... [  3%] 
> auto_examples/auto_examples_python.zip
> copying downloadable files... [  6%] 
> auto_examples/auto_examples_jupyter.zip
> copying downloadable files... [  8%] auto_examples/local_module.py
> copying downloadable files... [ 11%] auto_examples/local_module.ipynb
> copying downloadable files... [ 14%] auto_examples/no_output/just_code.py
> copying downloadable files... [ 17%] 
> auto_examples/no_output/just_code.ipynb
> copying downloadable files... [ 19%] auto_examples/no_output/plot_raise.py
> copying downloadable files... [ 22%] 
> auto_examples/no_output/plot_raise.ipynb
> copying downloadable files... [ 25%] 
> auto_examples/no_output/plot_strings.py
> copying downloadable files... [ 28%] 
> auto_examples/no_output/plot_strings.ipynb
> copying downloadable files... [ 31%] 
> auto_examples/no_output/plot_syntaxerror.py
> copying downloadable files... [ 33%] 
> auto_examples/no_output/plot_syntaxerror.ipynb
> copying downloadable files... [ 36%] auto_examples/plot_0_sin.py
> copying downloadable files... [ 39%] auto_examples/plot_0_sin.ipynb
> copying downloadable files... [ 42%] auto_examples/plot_1_exp.py
> copying downloadable files... [ 44%] auto_examples/plot_1_exp.ipynb
> copying downloadable files... [ 47%] auto_examples/plot_2_seaborn.py
> copying downloadable files... [ 50%] auto_examples/plot_2_seaborn.ipynb
> copying downloadable files... [ 53%] auto_examples/plot_3_capture_repr.py
> copying downloadable files... [ 56%] 
> auto_examples/plot_3_capture_repr.ipynb
> copying downloadable files... [ 58%] 
> auto_examples/plot_4_choose_thumbnail.py
> copying downloadable files... [ 61%] 
> auto_examples/plot_4_choose_thumbnail.ipynb
> copying downloadable files... [ 64%] 
> auto_examples/plot_4b_provide_thumbnail.py
> copying downloadable files... [ 67%] 
> auto_examples/plot_4b_provide_thumbnail.ipynb
> copying downloadable files... [ 69%] 
> auto_examples/plot_5_unicode_everywhere.py
> copying downloadable files... [ 72%] 
> auto_examples/plot_5_unicode_everywhere.ipynb
> copying downloadable files... [ 75%] 
> auto_examples/plot_6_function_identifier.py
> copying downloadable files... [ 78%] 
> auto_examples/plot_6_function_identifier.ipynb
> copying downloadable files... [ 81%] auto_examples/plot_7_sys_argv.py
> copying downloadable files... [ 83%] auto_examples/plot_7_sys_argv.ipynb
> copying downloadable files... [ 86%] auto_examples/plot_9_plotly.py
> copying downloadable files... [ 89%] auto_examples/plot_9_plotly.ipynb
> copying downloadable files... [ 92%] tutorials/plot_parse.py
> copying downloadable files... [ 94%] tutorials/tutorials_python.zip
> copying downloadable files... [ 97%] tutorials/tutorials_jupyter.zip
> copying downloadable files... [100%] tutorials/plot_parse.ipynb
> 
> copying static files... done
> copying extra files... done
> done
> writing output... [  2%] advanced
> writing output... [  5%] auto_examples/index
> writing output... [  7%] auto_examples/local_module
> writing output... [  9%] auto_examples/no_output/just_code
> writing output... [ 11%] auto_examples/no_output/plot_raise
> writing output... [ 14%] auto_examples/no_output/plot_strings
> writing output... [ 16%] auto_examples/no_output/plot_syntaxerror
> writing output... [ 18%] auto_examples/no_output/sg_execution_times
> writing output... [ 20%] auto_examples/plot_0_sin
> writing output... [ 23%] auto_examples/plot_1_exp
> writing output... [ 25%] auto_examples/plot_2_seaborn
> writing output... [ 27%] auto_examples/plot_3_capture_repr
> writing output... [ 30%] auto_examples/plot_4_choose_thumbnail
> writing output... [ 32%] auto_examples/plot_4b_provide_thumbnail
> writing output... [ 34%] auto_examples/plot_5_unicode_everywhere
> writing output... [ 36%] auto_examples/plot_6_function_identifier
> writing output... [ 39%] auto_examples/plot_7_sys_argv
> writing output... [ 41%] auto_examples/plot_9_plotly
> writing output... [ 43%] auto_examples/sg_execution_times
> writing output... [ 45%] changes
> writing output... [ 48%] configuration
> writing output... [ 50%] faq
> writing output... [ 52%] gen_modules/sphinx_gallery.backreferences
> writing output... [ 55%] gen_modules/sphinx_gallery.binder
> writing output... [ 57%] gen_modules/sphinx_gallery.directives
> writing output... [ 59%] gen_modules/sphinx_gallery.docs_resolv
> writing output... [ 61%] gen_modules/sphinx_gallery.downloads
> writing output... [ 64%] gen_modules/sphinx_gallery.gen_gallery
> writing output... [ 66%] gen_modules/sphinx_gallery.gen_rst
> writing output... [ 68%] gen_modules/sphinx_gallery.notebook
> writing output... [ 70%] gen_modules/sphinx_gallery.py_source_parser
> writing output... [ 73%] gen_modules/sphinx_gallery.scrapers
> writing output... [ 75%] gen_modules/sphinx_gallery.sorting
> writing output... [ 77%] gen_modules/sphinx_gallery.utils.optipng
> writing output... [ 80%] getting_started
> writing output... [ 82%] index
> writing output... [ 84%] maintainers
> writing output... [ 86%] projects_list
> writing output... [ 89%] reference
> writing output... [ 91%] syntax
> writing output... [ 93%] tutorials/index
> writing output... [ 95%] tutorials/plot_parse
> writing output... [ 98%] tutorials/sg_execution_times
> writing output... [100%] utils
> 
> /<<PKGBUILDDIR>>/doc/advanced.rst:301: WARNING: py:meth reference target not 
> found: matplotlib.figure.Figure.savefig
> /<<PKGBUILDDIR>>/doc/auto_examples/plot_6_function_identifier.rst:56: 
> WARNING: py:obj reference target not found: numpy.sin
> /<<PKGBUILDDIR>>/doc/auto_examples/plot_6_function_identifier.rst:56: 
> WARNING: py:obj reference target not found: numpy.exp
> /<<PKGBUILDDIR>>/doc/configuration.rst:410: WARNING: py:class reference 
> target not found: matplotlib.axes.Axes
> /<<PKGBUILDDIR>>/doc/configuration.rst:416: WARNING: py:obj reference target 
> not found: numpy.exp
> /<<PKGBUILDDIR>>/doc/configuration.rst:547: WARNING: py:func reference target 
> not found: matplotlib.pyplot.subplots
> /<<PKGBUILDDIR>>/doc/configuration.rst:548: WARNING: py:class reference 
> target not found: matplotlib.figure.Figure
> /<<PKGBUILDDIR>>/doc/configuration.rst:549: WARNING: py:class reference 
> target not found: matplotlib.axes.Axes
> /<<PKGBUILDDIR>>/doc/configuration.rst:550: WARNING: py:meth reference target 
> not found: matplotlib.axes.Axes.plot
> /<<PKGBUILDDIR>>/doc/configuration.rst:1180: WARNING: py:class reference 
> target not found: matplotlib.animation.Animation
> /<<PKGBUILDDIR>>/doc/configuration.rst:1191: WARNING: py:class reference 
> target not found: matplotlib.animation.ImageMagickWriter
> /<<PKGBUILDDIR>>/doc/configuration.rst:1204: WARNING: py:mod reference target 
> not found: matplotlib.pyplot
> /<<PKGBUILDDIR>>/doc/configuration.rst:1323: WARNING: py:func reference 
> target not found: matplotlib.pyplot.rcdefaults
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-gallery/build/sphinx_gallery/scrapers.py:docstring
>  of sphinx_gallery.scrapers.matplotlib_scraper:9: WARNING: py:meth reference 
> target not found: matplotlib.figure.Figure.savefig
> /<<PKGBUILDDIR>>/doc/projects_list.rst:19: WARNING: unknown document: 
> 'matplotlib:index'
> /<<PKGBUILDDIR>>/doc/projects_list.rst:19: WARNING: unknown document: 
> 'matplotlib:gallery/index'
> /<<PKGBUILDDIR>>/doc/projects_list.rst:19: WARNING: unknown document: 
> 'matplotlib:tutorials/index'
> generating indices... genindex py-modindex done
> highlighting module code... [  9%] sphinx_gallery.backreferences
> highlighting module code... [ 18%] sphinx_gallery.binder
> highlighting module code... [ 27%] sphinx_gallery.directives
> highlighting module code... [ 36%] sphinx_gallery.docs_resolv
> highlighting module code... [ 45%] sphinx_gallery.downloads
> highlighting module code... [ 55%] sphinx_gallery.gen_gallery
> highlighting module code... [ 64%] sphinx_gallery.gen_rst
> highlighting module code... [ 73%] sphinx_gallery.notebook
> highlighting module code... [ 82%] sphinx_gallery.py_source_parser
> highlighting module code... [ 91%] sphinx_gallery.scrapers
> highlighting module code... [100%] sphinx_gallery.sorting
> 
> writing additional pages... search done
> copying images... [  5%] 
> auto_examples/images/thumb/sphx_glr_local_module_thumb.png
> copying images... [ 10%] 
> auto_examples/images/thumb/sphx_glr_plot_0_sin_thumb.png
> copying images... [ 15%] 
> auto_examples/images/thumb/sphx_glr_plot_1_exp_thumb.png
> copying images... [ 20%] 
> auto_examples/images/thumb/sphx_glr_plot_2_seaborn_thumb.png
> copying images... [ 25%] 
> auto_examples/images/thumb/sphx_glr_plot_3_capture_repr_thumb.png
> copying images... [ 30%] 
> auto_examples/images/thumb/sphx_glr_plot_4_choose_thumbnail_thumb.png
> copying images... [ 35%] 
> auto_examples/images/thumb/sphx_glr_plot_4b_provide_thumbnail_thumb.png
> copying images... [ 40%] 
> auto_examples/images/thumb/sphx_glr_plot_5_unicode_everywhere_thumb.png
> copying images... [ 45%] 
> auto_examples/images/thumb/sphx_glr_plot_6_function_identifier_thumb.png
> copying images... [ 50%] 
> auto_examples/images/thumb/sphx_glr_plot_7_sys_argv_thumb.png
> copying images... [ 55%] 
> auto_examples/images/thumb/sphx_glr_plot_9_plotly_thumb.png
> copying images... [ 60%] 
> auto_examples/no_output/images/thumb/sphx_glr_just_code_thumb.png
> copying images... [ 65%] 
> auto_examples/no_output/images/thumb/sphx_glr_plot_raise_thumb.png
> copying images... [ 70%] 
> auto_examples/no_output/images/thumb/sphx_glr_plot_strings_thumb.png
> copying images... [ 75%] 
> auto_examples/no_output/images/thumb/sphx_glr_plot_syntaxerror_thumb.png
> copying images... [ 80%] auto_examples/images/binder_badge_logo.svg
> copying images... [ 85%] 
> auto_examples/no_output/images/binder_badge_logo.svg
> copying images... [ 90%] _static/demo.png
> copying images... [ 95%] 
> tutorials/images/thumb/sphx_glr_plot_parse_thumb.png
> copying images... [100%] tutorials/images/binder_badge_logo.svg
> 
> dumping search index in English (code: en)... done
> dumping object inventory... done
> copying binder requirements...
> copying binder notebooks...[ 50%] auto_examples
> copying binder notebooks...[100%] tutorials
> 
> Examples failing as expected:
> /<<PKGBUILDDIR>>/examples/no_output/plot_syntaxerror.py failed leaving 
> traceback:
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/examples/no_output/plot_syntaxerror.py", line 13
>     Invalid Python code
>             ^^^^^^
> SyntaxError: invalid syntax
> 
> /<<PKGBUILDDIR>>/examples/no_output/plot_raise.py failed leaving traceback:
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/examples/no_output/plot_raise.py", line 27, in 
> <module>
>     iae
> NameError: name 'iae' is not defined
> 
> 
> Sphinx-Gallery successfully executed 12 out of 14 files subselected by:
> 
>     gallery_conf["filename_pattern"] = '/plot'
>     gallery_conf["ignore_pattern"]   = '__init__\\.py'
> 
> after excluding 0 files that had previously been run (based on MD5).
> 
> embedding documentation hyperlinks...
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-gallery/build/sphinx_gallery/docs_resolv.py:145:
>  RemovedInSphinx80Warning:
> 
> Sphinx 8 will drop support for representing paths as strings. Use 
> "pathlib.Path" or "os.fspath" instead.
> 
> 
> Extension error:
> Documentation options could not be found in index.
> make[1]: *** [Makefile:76: html] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/sphinx-gallery_0.10.1-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to