Talk:Circular dependencies

Fine article. Easy to understand and clear. But I don't seem to get what to USE="-XXX" in my case. Here:

myBox # emerge -avtuDN --with-bdeps=y  @world

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

Calculating dependencies... done!

[nomerge   ] media-video/projectx-0.91.0.02 [0.90.4.00_p33-r1] USE="X* mmx sse -doc -source"

[nomerge   ]  dev-java/commons-net-1.4.1-r1  USE="-doc -examples -source"

[nomerge   ]   virtual/jdk-1.7.0 [1.6.0]

[nomerge   ] dev-java/icedtea-7.2.0-r1  USE="nsplugin webstart -debug -doc -examples -jamvm -javascript -pulseaudio -systemtap -zero"

[ebuild N  ]  dev-java/icedtea-web-1.1.3-r7  USE="nsplugin -build -doc" 792 kB

[ebuild N  ]   dev-java/icedtea-7.2.0-r1  USE="nsplugin webstart -debug -doc -examples -jamvm -javascript -pulseaudio -systemtap -zero" 65,905 kB

[nomerge   ] dev-util/android-sdk-update-manager-13

[ebuild  R ]  dev-java/swt-3.5.2  USE="opengl* -cairo -gnome -xulrunner" 0 kB

[ebuild  R ] dev-java/swt-3.6.1  USE="opengl* -cairo -gnome -xulrunner" 0 kB

[ebuild U  ] media-video/projectx-0.91.0.02 [0.90.4.00_p33-r1] USE="X* mmx sse -doc -source" 756 kB

[nomerge   ] dev-java/icedtea-7.2.0-r1  USE="nsplugin webstart -debug -doc -examples -jamvm -javascript -pulseaudio -systemtap -zero"

[ebuild N  ]  dev-java/ant-nodeps-1.8.1  0 kB

[nomerge   ] media-video/projectx-0.91.0.02 [0.90.4.00_p33-r1] USE="X* mmx sse -doc -source"

[ebuild N  ]  dev-java/browserlauncher2-1.3  USE="-doc -source" 183 kB

[ebuild NS ]   virtual/jre-1.7.0 [1.6.0] 0 kB

[nomerge   ]   dev-java/ant-core-1.8.1  USE="-doc -source"

[ebuild NS ] virtual/jdk-1.7.0 [1.6.0] 0 kB

Total: 9 packages (1 upgrade, 4 new, 2 in new slots, 2 reinstalls), Size of downloads: 67,634 kB

* Error: circular dependencies:

(dev-java/ant-nodeps-1.8.1::gentoo, ebuild scheduled for merge) depends on (virtual/jdk-1.7.0::gentoo, ebuild scheduled for merge) (buildtime) (dev-java/icedtea-7.2.0-r1::gentoo, ebuild scheduled for merge) (runtime) (dev-java/ant-nodeps-1.8.1::gentoo, ebuild scheduled for merge) (buildtime)

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

Any advice? Thanks!

Matter of fact, neither, and even both of these flags below didn't budge me away from circular dependency, i.e., this:

myBox # USE="-nsplugin -webstart" emerge -avtuDN --with-bdeps=y  @world

didn't help.

Two days, or so, later. That circular dependency of mine gone. I don't know how, but, just it was possible to install one of the elements, after which the problem went away. I think I first installed:

myBox # emerge -avt dev-java/ant-nodeps

and circular dependency vanished afterwards.