Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709658 - dev-python/sphinx-2.0.1-r1 - Warning, treated as error: dot command 'dot' cannot be run (needed for graphviz output), check the graphviz_dot setting
Summary: dev-python/sphinx-2.0.1-r1 - Warning, treated as error: dot command 'dot' can...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-14 20:28 UTC by Erik Quaeghebeur
Modified: 2020-03-02 20:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (sphinx-2.0.1-r1:20200214-195930.log,96.08 KB, text/plain)
2020-02-14 20:29 UTC, Erik Quaeghebeur
Details
emerge --info '=dev-python/sphinx-2.0.1-r1::gentoo' (emerge--info.txt,6.62 KB, text/plain)
2020-02-14 20:30 UTC, Erik Quaeghebeur
Details
emerge -pqv '=dev-python/sphinx-2.0.1-r1::gentoo' (emerge-pqv.txt,4.47 KB, text/plain)
2020-02-14 20:31 UTC, Erik Quaeghebeur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2020-02-14 20:28:51 UTC
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
Comment 1 Erik Quaeghebeur 2020-02-14 20:29:48 UTC
Created attachment 613858 [details]
build.log
Comment 2 Erik Quaeghebeur 2020-02-14 20:30:57 UTC
Created attachment 613860 [details]
emerge --info '=dev-python/sphinx-2.0.1-r1::gentoo'
Comment 3 Erik Quaeghebeur 2020-02-14 20:31:41 UTC
Created attachment 613862 [details]
emerge -pqv '=dev-python/sphinx-2.0.1-r1::gentoo'
Comment 4 Erik Quaeghebeur 2020-02-19 21:05:48 UTC
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.)
Comment 5 Larry the Git Cow gentoo-dev 2020-03-02 20:30:24 UTC
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(+)