dev-python/jinja2-2.1.1 with USE="doc" depends on dev-python/sphinx =dev-python/sphinx-0.6.1 depends on dev-python/jinja2 Reproducible: Always Steps to Reproduce: 1. emerge -C jinja2 dev-python/sphinx 2. USE="doc" emerge dev-python/sphinx 3. Actual Results: Calculating dependencies... done! [nomerge ] dev-python/sphinx-0.6.1 USE="doc -test" [ebuild N ] dev-python/jinja2-2.1.1 USE="doc examples i18n -test" [ebuild N ] dev-python/sphinx-0.6.1 USE="doc -test" * Error: circular dependencies: ('ebuild', '/', 'dev-python/sphinx-0.6.1', 'merge') depends on ('ebuild', '/', 'dev-python/jinja2-2.1.1', 'merge') (buildtime) ('ebuild', '/', 'dev-python/jinja2-2.1.1', 'merge') depends on ('ebuild', '/', 'dev-python/sphinx-0.6.1', 'merge') (buildtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. to avoid this problem jinja2 will be splitted into two packages: jinja2 and jinja2-doc
*** Bug 278168 has been marked as a duplicate of this bug. ***
Portage will hopefully somewhen support resolution of circular dependencies.
*** Bug 285937 has been marked as a duplicate of this bug. ***
*** Bug 286311 has been marked as a duplicate of this bug. ***
It's apparently not acceptable to do without these packages anymore, so therefore this bug must be fixed. I tried rm -rf /usr/portage/dev-python/sphinx [mini][12:58:13 PM] emerge -avuND system These are the packages that would be merged, in order: Calculating dependencies... done! emerge: there are no ebuilds to satisfy ">=dev-python/sphinx-0.6". (dependency required by "dev-python/pycairo-1.8.8" [ebuild]) (dependency required by "dev-python/pygtk-2.14.1-r1" [installed]) (dependency required by "gnome-extra/libgsf-1.14.11" [installed]) (dependency required by "gnome-base/librsvg-2.22.3" [installed]) (dependency required by "app-editors/emacs-23.1" [installed]) (dependency required by "dev-util/gtk-doc-1.11" [ebuild]) (dependency required by "dev-libs/glib-2.20.5" [ebuild]) (dependency required by "gnome-base/libglade-2.6.4" [installed])
USE="doc" shouldn't be enabled globally as it is known to cause many circular dependencies (not only between jinja2 and sphinx). Users might run: USE="-doc" emerge -1 jinja2 sphinx emerge -1 jinja2 sphinx
You are right that USE=-doc works.
>Users might run: >USE="-doc" emerge -1 jinja2 sphinx >emerge -1 jinja2 sphinx This is ugly workaround, not solution...
(In reply to comment #8) There is no solution which could be made in ebuilds. *** This bug has been marked as a duplicate of bug 175808 ***
*** Bug 294121 has been marked as a duplicate of this bug. ***
*** Bug 297605 has been marked as a duplicate of this bug. ***