-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GDAL 3.1.0 fails to build with Sphinx 3.0.4 #2725
Comments
gdal/gdal/doc/requirements.txt Lines 3 to 4 in 4d2a82e
|
From a distribution point of view, you cannot be limited to specific versions of deps. |
This might be a Breathe issue according to breathe-doc/breathe#534 . Try upgrading to Breathe v4.19.2 (For the purpose of doc building, one possibility would be to build in a Python venv with versions of the modules different from the one shipped by the distributon) |
I use Breathe v4.19.1, so I will try to upgrade to Breathe v4.19.2. |
About building in venv, its just not possible. The secure build made on openSUSE is done in a one time build vm which once setup (all needed packages and deps declared in the spec files loaded) will not have network access for obvious reason and build is done with an unprivileged user. I guess that if the majority of the doc would benefit to a separate build (we could organize another spec) if there's a dedicated doc tar gz build for. We need (to satisfy quality rules) to provide the man for each binary. But even thoses I'm not sure every binary or script published in /usr/bin has one corresponding man file. |
There should be. There were a few missing in 3.1.0 for new utilities (gdalmdminfo, gdalmdimtranslate), but this has been adressed in 3.1.1RC1. The man pages are already generated in the tarball. And there's a pre generated for .0 versions when it is not convenient for people to build the HTML docs by themselves (http://download.osgeo.org/gdal/3.1.0/gdal310doc.zip) |
@rouault excellent news for the man and the doc. This will allow us to minimize the BuildRequirement of the spec and thus make it more robust to software changes happening all the time in TW. Also this will decrease the number of rebuild. |
On this Windows side I've also had to separate the doc build process from the GDAL source build steps, it's the only way to keep your sanity each build time for GDAL 3 :) |
Closing assuming it is a now resolved Breathe issue |
I confirm that breathe v4.19.2 fixes the problem! Thanks. |
Expected behavior and actual behavior.
GDAL 3.1.0 fails to build with Sphinx 3.0.4 with the following error:
Steps to reproduce the problem.
Try to build GDAL 3.1.0, with patch from #2678, with Sphinx 3.0.4.
Operating system
openSUSE Tumbleweed
GDAL version and provenance
3.1.0 from openSUSE, with patch from #2678
The text was updated successfully, but these errors were encountered: