On Mon, 29 Mar 2021 at 15:17, Marc-André Lureau <marcandre.lur...@gmail.com> wrote: > > Hi > > On Mon, Mar 29, 2021 at 5:54 PM Peter Maydell <peter.mayd...@linaro.org> > wrote: >> >> This produces a backtrace from sphinx-build which nonetheless doesn't >> cause a build failure: >> >> >> Program sphinx-build found: YES >> ../docs/meson.build:30: WARNING: /usr/bin/sphinx-build: >> Configuration error: >> There is a programable error in your configuration file: >> >> Traceback (most recent call last): >> File "conf.py", line 154, in <module> >> import sphinx_rtd_theme >> ModuleNotFoundError: No module named 'sphinx_rtd_theme' >> >> During handling of the above exception, another exception occurred: >> >> Traceback (most recent call last): >> File "/usr/lib/python3/dist-packages/sphinx/config.py", line 157, in >> __init__ >> execfile_(filename, config) >> File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line >> 150, in execfile_ >> exec_(code, _globals) >> File "conf.py", line 157, in <module> >> 'The Sphinx \'sphinx_rtd_theme\' HTML theme was not found.\n' >> sphinx.errors.ConfigError: The Sphinx 'sphinx_rtd_theme' HTML theme >> was not found. >> > > > ../docs/meson.build:30: WARNING: /usr/bin/sphinx-build-3: > Configuration error: > The Sphinx 'sphinx_rtd_theme' HTML theme was not found. > > ../docs/meson.build:32:6: ERROR: Problem encountered: Install a Python 3 > version of python-sphinx and the readthedoc theme
So why do you get that message, and I see the above? Older sphinx-build ? Also, if this isn't fatal (the build does continue), meson shouldn't print ERROR here, ideally. >> Program python3 found: YES (/usr/bin/python3) >> >> >> In particular I see that on all the BSD VMs. If we're going to >> require rtd that means we need to ensure it's present on all >> the VM configs, docker configs, everything the CI uses, etc. >> You should also flag up new build-deps in the pullreq cover >> letter. > > > I updated all docker configs. We don't have sphinx in the BSD VMs apparently, > am I wrong? We must do, because trying to build this merge in the VMs produces errors from sphinx-build... -- PMM