* Messages for package media-gfx/blender-2.90.1-r1: * ERROR: media-gfx/blender-2.90.1-r1::gentoo failed (compile phase): * sphinx failed. * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 3429: Called die * The specific snippet of code: * "${BUILD_DIR}"/bin/blender --background --python doc/python_api/sphinx_doc_gen.py -noaudio || die "sphinx failed.";
Created attachment 665765 [details] build.log
Possible duplicate of or related to Bug 741664.
Not totally related. I had problem with previous version of blender-2.79b-r2 with sphinx as well (see https://bugs.gentoo.org/734104). When I downgrade to dev-python/sphinx-2.0.1-r1 or dev-python/sphinx-2.4.4, blender-2.79b-r2 start compile successfully. In this case with both sphinx-2.4.4 and sphinx-3.2.1, blender-2.83.4-r1 fail in the same manner.
something similar in 2.91: ERROR (bpy.rna): /var/tmp/portage/media-gfx/blender-2.91.0/work/blender-2.91.0/source/blender/python/intern/bpy_rna.c:7251 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types'
Requires USE="doc" to reproduce.
* Generating (BPY) Blender Python API docs ... Blender 4.2.1 LTS bpy: couldn't find 'scripts/modules', blender probably won't start. Freestyle: couldn't find 'scripts/freestyle/modules', Freestyle won't work properly. ModuleNotFoundError: No module named 'bpy_types' ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.cc:7435 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.cc:7435 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.cc:7435 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.cc:7435 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.cc:7435 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.cc:7435 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.cc:7435 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.cc:7435 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.cc:7435 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy' Error: dropbox with unknown operator: WM_OT_drop_blend_file ModuleNotFoundError: No module named 'bpy' ERROR: this script must run from inside Blender API dump in RST files --------------------- Run this script from Blender's root path once you have compiled Blender blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py This will generate python files in doc/python_api/sphinx-in/ providing ./blender is or links to the blender executable To choose sphinx-in directory: blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py -- --output=../python_api For quick builds: blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py -- --partial=bmesh.* Sphinx: HTML generation ----------------------- After you have built doc/python_api/sphinx-in (see above), generate html docs by running: sphinx-build doc/python_api/sphinx-in doc/python_api/sphinx-out Sphinx: PDF generation ---------------------- After you have built doc/python_api/sphinx-in (see above), generate the pdf doc by running: sphinx-build -b latex doc/python_api/sphinx-in doc/python_api/sphinx-out cd doc/python_api/sphinx-out make ModuleNotFoundError: No module named 'addon_utils' Application error: Не удалось найти исходный каталог (/var/tmp/portage/media-gfx/blender-4.2.1/work/blender-4.2.1/doc/python_api/sphinx-in) * ERROR: media-gfx/blender-4.2.1::gentoo failed (install phase): * sphinx failed. * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 3850: Called die * The specific snippet of code: * sphinx-build sphinx-in BPY_API || die "sphinx failed."; * * If you need support, post the output of `emerge --info '=media-gfx/blender-4.2.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/blender-4.2.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-gfx/blender-4.2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-4.2.1/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/blender-4.2.1/work/blender-4.2.1/doc/python_api' * S: '/var/tmp/portage/media-gfx/blender-4.2.1/work/blender-4.2.1' >>> Failed to emerge media-gfx/blender-4.2.1,