Blender generating API documentation failed Reproducible: Always
Created attachment 651006 [details] emerge info
Created attachment 651008 [details] build short output
Created attachment 651010 [details] sphinx log
Can you include the full build.log too? Thanks.
(In reply to Sam James from comment #4) > Can you include the full build.log too? Thanks. it is 12 Mb ;)
https://1drv.ms/u/s!AolLiU3fMaHMittA8F0YZpIE9VpeFw?e=LBASJs
when I downgrade sphinx-2.0.1-r1 to it is working see below: /var/tmp/portage/media-gfx/blender-2.79b-r2/work/blender-2.79b/doc/python_api/sphinx-in/conf.py:39: RemovedInSphinx30Warning: app.override_domain() is deprecated. Use app.add_domain() with override option instead. sphinx.override_domain(PatchedPythonDomain) Log file: ------------- RNA Warning: Current value "0" matches no enum in 'EnumProperty', 'clip', 'default' RNA Warning: Current value "0" matches no enum in 'EnumProperty', 'scene', 'default' RNA Warning: Current value "0" matches no enum in 'EnumProperty', 'name', 'default' Error: Not freed memory blocks: 124, total unfreed memory 0.030273 MB Running Sphinx v2.0.1 making output directory... done /var/tmp/portage/media-gfx/blender-2.79b-r2/work/blender-2.79b/doc/python_api/sphinx-in/conf.py:39: RemovedInSphinx30Warning: app.override_domain() is deprecated. Use app.add_domain() with override option instead. sphinx.override_domain(PatchedPythonDomain) loading intersphinx inventory from https://docs.blender.org/manual/en/dev/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.blender.org/manual/en/dev/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='docs.blender.org', port=443): Max retries exceeded with url: /manual/en/dev/objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1548ad76d8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) building [mo]: targets for 0 po files that are out of date building [html]: targets for 1281 source files that are out of date updating environment: 1281 added, 0 changed, 0 removed /usr/lib64/python3.6/site-packages/sphinx/util/nodes.py:149: FutureWarning: The iterable returned by Node.traverse() will become an iterator instead of a list in Docutils > 0.16. for classifier in reversed(node.parent.traverse(nodes.classifier)):
So we need <Sphinx-3.0.0 for Blender
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c91980424ee69c2431b2df109ea608c89335f63 commit 5c91980424ee69c2431b2df109ea608c89335f63 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2020-12-03 07:31:34 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-12-03 07:32:13 +0000 profiles/base/package.use.mask: mask blender[doc] Bug: https://bugs.gentoo.org/734104 Signed-off-by: Joonas Niilola <juippis@gentoo.org> profiles/base/package.use.mask | 4 ++++ 1 file changed, 4 insertions(+)
this could be similar problem as in https://bugs.gentoo.org/743874 due to wrong default python interpreter. See https://bugs.gentoo.org/743874#c12 So maybe problem is if you have older python3 and newer Sphings then blender's doc are not generated properly. But with newer python3 maybe it will work... just my guess...
Is this still happening with recent 2.83 or 2.9x version?
With 2.93 and python38 I didn't see it any more
Could anyone test and report for 2.83 too, so that we can close this ticket?
Looks like 2.83.15-r1 is fine Installed versions: 2.83.15-r1(2.83)^t(03:08:39 AM 11/02/2021)(bullet collada color-management cycles dds fftw fluid jemalloc jpeg2k nls openal openexr openimageio openmp opensubdiv sdl sndfile system-numpy system-python tbb tiff -alembic -cuda -debug -doc -ffmpeg -headless -jack -man -ndof -opencl -openvdb -osl -standalone -test -valgrind PYTHON_SINGLE_TARGET="python3_8") But even I have in /etc/portage/package.use: media-gfx/blender collada cycles doc fftw jemalloc jpeg2k openimageio opensubdiv openal player sndfile doc USE is not enable in installed version.
(In reply to Michal Plichta from comment #14) > Looks like 2.83.15-r1 is fine > > Installed versions: 2.83.15-r1(2.83)^t(03:08:39 AM 11/02/2021)(bullet > collada color-management cycles dds fftw fluid jemalloc jpeg2k nls openal > openexr openimageio openmp opensubdiv sdl sndfile system-numpy system-python > tbb tiff -alembic -cuda -debug -doc -ffmpeg -headless -jack -man -ndof > -opencl -openvdb -osl -standalone -test -valgrind > PYTHON_SINGLE_TARGET="python3_8") > > > But even I have in /etc/portage/package.use: > > media-gfx/blender collada cycles doc fftw jemalloc jpeg2k openimageio > opensubdiv openal player sndfile > > doc USE is not enable in installed version. The doc use flag has been masked by the commit in comment 9. You need to unmask it to be able to build the documentation.
(In reply to Bernd from comment #15) > (In reply to Michal Plichta from comment #14) > > Looks like 2.83.15-r1 is fine > > > > Installed versions: 2.83.15-r1(2.83)^t(03:08:39 AM 11/02/2021)(bullet > > collada color-management cycles dds fftw fluid jemalloc jpeg2k nls openal > > openexr openimageio openmp opensubdiv sdl sndfile system-numpy system-python > > tbb tiff -alembic -cuda -debug -doc -ffmpeg -headless -jack -man -ndof > > -opencl -openvdb -osl -standalone -test -valgrind > > PYTHON_SINGLE_TARGET="python3_8") > > > > > > But even I have in /etc/portage/package.use: > > > > media-gfx/blender collada cycles doc fftw jemalloc jpeg2k openimageio > > opensubdiv openal player sndfile > > > > doc USE is not enable in installed version. > > The doc use flag has been masked by the commit in comment 9. You need to > unmask it to be able to build the documentation. fill like idiot... how to do it?? /etc/portage/package.use.unmask or package.unmask ???
jesus... I just remove whole: /etc/portage/profile/package.use.mask .... what now...
See https://wiki.gentoo.org/wiki//etc/portage/profile/use.mask
Created attachment 749142 [details] blender-2.83.15-r1-build.log
Created attachment 749145 [details] blender-2.83.15-r1-build.log.bz2
blender-2.83.15-r1 with +doc and python3.8 failed see build logs: blender-2.83.15-r1-build.log.bz2 blender-2.83.15-r1-build.log Note: since I'm at python3.9 blender:2.83 force me to add to packages.use: >=dev-python/requests-2.26.0 python_targets_python3_8 >=dev-python/numpy-1.21.2-r1 python_targets_python3_8 >=app-doc/doxygen-1.9.1 dot >=dev-python/sphinx-4.2.0-r1 latex >=dev-python/certifi-10001-r1 python_targets_python3_8 >=dev-python/charset_normalizer-2.0.6 python_targets_python3_8 >=dev-python/idna-3.2 python_targets_python3_8 >=dev-python/urllib3-1.26.7 python_targets_python3_8 >=dev-python/setuptools-57.5.0 python_targets_python3_8 >=dev-python/setuptools_scm-6.3.2 python_targets_python3_8 >=dev-python/packaging-21.0 python_targets_python3_8 >=dev-python/tomli-1.2.1 python_targets_python3_8 >=dev-python/pyparsing-2.4.7-r1 python_targets_python3_8 >=dev-python/PySocks-1.7.1-r1 python_targets_python3_8 >=dev-python/cython-0.29.24-r1 python_targets_python3_8
(In reply to Jonas Stein from comment #13) > Could anyone test and report for 2.83 too, so that we can close this ticket? Done, https://bugs.gentoo.org/822465
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4acd154d75e1e0f16f641bf3d882039d5370914 commit a4acd154d75e1e0f16f641bf3d882039d5370914 Author: Sebastian Parborg <darkdefende@gmail.com> AuthorDate: 2021-12-03 14:05:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-03 22:40:32 +0000 media-gfx/blender: Fix building docs Closes: https://bugs.gentoo.org/822465 Closes: https://bugs.gentoo.org/734104 Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/23161 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/blender/blender-2.93.6.ebuild | 59 ++++++++++++++++----------------- media-gfx/blender/blender-3.0.0.ebuild | 59 ++++++++++++++++----------------- media-gfx/blender/blender-9999.ebuild | 59 ++++++++++++++++----------------- profiles/base/package.use.mask | 5 --- 4 files changed, 87 insertions(+), 95 deletions(-)