Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309969 - dev-python/sphinx circular dependency
Summary: dev-python/sphinx circular dependency
Status: RESOLVED DUPLICATE of bug 175808
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-17 16:50 UTC by Stephen Lewis
Modified: 2010-03-21 16:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***