Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 309969

Summary: dev-python/sphinx circular dependency
Product: Gentoo Linux Reporter: Stephen Lewis <lewis+gentoo>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stephen Lewis 2010-03-17 16:50:55 UTC
I cannot emerge dev-python/sphinx because it depends on dev-python/jinja2 which
depends on dev-python/sphinx...

Reproducible: Always

Steps to Reproduce:
1.emerge dev-python/sphinx
2.
3.

Actual Results:  
emerge -p dev-python/sphinx

These are the packages that would be merged, in order:

Calculating dependencies... done!


[nomerge      ] dev-python/sphinx-0.6.3  USE="doc -test" 
[ebuild  N    ]  dev-python/jinja2-2.2.1  USE="doc -examples -i18n -test" 
[ebuild  N    ]   dev-python/sphinx-0.6.3  USE="doc -test" 

 * Error: circular dependencies:

('ebuild', '/', 'dev-python/jinja2-2.2.1', 'merge') depends on
  ('ebuild', '/', 'dev-python/sphinx-0.6.3', 'merge') (buildtime)
('ebuild', '/', 'dev-python/sphinx-0.6.3', 'merge') depends on
  ('ebuild', '/', 'dev-python/jinja2-2.2.1', 'merge') (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.


Expected Results:  
emerge to build, install dev-python/sphinx

is there a workaround? I am unsure how to fix this...
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2010-03-17 16:55:23 UTC
Turn off doc useflag
Comment 2 Stephen Lewis 2010-03-17 17:32:50 UTC
(In reply to comment #1)
> Turn off doc useflag
> 

Thank you. The following worked:

USE="-doc" emerge dev-python/jinja2
USE="doc" emerge dev-python/sphinx
USE="doc" emerge dev-python/jinja2

Now have both and documentation installed, I'm a bit new at this...

Comment 3 Doktor Notor 2010-03-18 11:17:40 UTC
Duplicate of Bug 175808
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2010-03-21 16:40:32 UTC

*** This bug has been marked as a duplicate of bug 175808 ***