When emerging dev-python/sphinx-2.0.1-r1, I get the following error that stops the installation: dot command 'dot' cannot be run (needed for graphviz output), check the graphviz_dot setting * ERROR: dev-python/sphinx-2.0.1-r1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2928: Called distutils-r1_src_compile * environment, line 1008: Called _distutils-r1_run_common_phase 'python_compile_all' * environment, line 460: Called multibuild_foreach_variant 'distutils-r1_run_phase' 'python_compile_all' * environment, line 1845: Called _multibuild_run 'distutils-r1_run_phase' 'python_compile_all' * environment, line 1843: Called distutils-r1_run_phase 'python_compile_all' * environment, line 996: Called python_compile_all * environment, line 2083: Called esetup.py 'build_sphinx' * environment, line 1389: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; Reproducible: Always
Created attachment 613858 [details] build.log
Created attachment 613860 [details] emerge --info '=dev-python/sphinx-2.0.1-r1::gentoo'
Created attachment 613862 [details] emerge -pqv '=dev-python/sphinx-2.0.1-r1::gentoo'
Removing the ‘doc’ use flag allows installation to complete. So I guess graphviz is only needed for the documentation. (It is unclear to me which wrapper sphinx uses.)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff009401e3aeace9248575904a639dd6914feb4 commit 5ff009401e3aeace9248575904a639dd6914feb4 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-03-02 20:28:15 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-03-02 20:30:05 +0000 dev-python/sphinx: USE=doc requires graphviz Closes: https://bugs.gentoo.org/709658 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/sphinx/sphinx-2.4.3.ebuild | 1 + 1 file changed, 1 insertion(+)