selfexplenation: localhost user # emerge -avDu world These are the packages that would be merged, in order: Calculating world dependencies... done! [ebuild UD] dev-java/ant-core-1.6.2-r5 [1.6.5-r13] USE="-doc -source" 0 kB [ebuild U ] dev-java/ant-tasks-1.6.2-r10 [1.6.2-r9] USE="-javamail -noantlr -nobcel -nobeanutils -nobsf% -nobsh -nocommonslogging -nocommonsnet -nojdepend -nojsch -nojython -nolog4j -nooro -noregexp -norhino -noxalan -noxerces" 0 kB [ebuild N ] dev-java/lucene-1.4.3 USE="junit -doc -jikes -source" 0 kB [ebuild U ] dev-java/ant-tasks-1.6.5-r2 [1.6.2-r9] USE="-javamail -noantlr -nobcel -nobeanutils -nobsf% -nobsh -nocommonslogging -nocommonsnet -nojdepend -nojsch -nojython -nolog4j -nooro -noregexp -norhino -noxalan -noxerces" 0 kB [ebuild NS ] dev-util/eclipse-sdk-3.2 USE="gnome opengl -cairo -no-seamonkey" 0 kB and lucene doesn`t depend on ant-tasks, so why there is double update, which need downgrade ant-core? emerge -p lucene These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-java/lucene-1.4.3 USE="junit -doc -jikes -source" 0 kB Total size of downloads: 0 kB localhost user # emerge -up ant-tasks These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-java/ant-tasks-1.6.5-r2 [1.6.2-r9] USE="-javamail -noantlr -nobcel -nobeanutils -nobsf% -nobsh -nocommonslogging -nocommonsnet -nojdepend -nojsch -nojython -nolog4j -nooro -noregexp -norhino -noxalan -noxerces" 0 kB Total size of downloads: 0 kB
Because you can't mix different ant-core and ant-tasks versions; read the dev-java/ant-tasks ebuild. Either stick both into package.keywords or none.
(In reply to comment #1) > Because you can't mix different ant-core and ant-tasks versions; read the > dev-java/ant-tasks ebuild. Either stick both into package.keywords or none. > BUT I have same keywords! both have ~x86 after I upgrade manualy ant-tasks to 1.6.5. it write this! why downgrade both??? and the greatest bug is that eclipse-sdk-3.2 depends on >=dev-java/ant-core-1.6.5 >=dev-java/ant-tasks-1.6.5 so portage downgrade ant-core/tasks and then emerge eclipse which need greatter version! localhost user # emerge -avDu world These are the packages that would be merged, in order: Calculating world dependencies... done! [ebuild UD] dev-java/ant-core-1.6.2-r5 [1.6.5-r13] USE="-doc -source" 0 kB [ebuild UD] dev-java/ant-tasks-1.6.2-r10 [1.6.5-r2] USE="-javamail -noantlr -nobcel -nobeanutils -nobsf -nobsh -nocommonslogging -nocommonsnet -nojdepend -nojsch -nojython -nolog4j -nooro -noregexp -norhino -noxalan -noxerces" 0 kB [ebuild N ] dev-java/lucene-1.4.3 USE="junit -doc -jikes -source" 0 kB [ebuild NS ] dev-util/eclipse-sdk-3.2 USE="gnome opengl -cairo -no-seamonkey" 0 kB Total size of downloads: 0 kB my keywords java packages frem packages.keywords #java packages dev-java/ant-core ~x86 dev-util/eclipse-sdk ~x86 dev-java/javatoolkit ~x86 dev-java/java-config-wrapper ~x86 dev-java/java-config ~x86 dev-java/sun-jdk ~x86 dev-java/ant-tasks ~x86 virtual/jdk ~x86 dev-java/blackdown-jdk ~x86
(In reply to comment #2) > BUT I have same keywords! both have ~x86 > after I upgrade manualy ant-tasks to 1.6.5. it write this! why downgrade > both??? Because the versions need to match, already explained above. Find out what depends on ant-{core,tasks}-1.6.2 (p.mask <1.6.5 to see). This is not a portage bug, it just follows the dependencies correctly.
I think that it`s still bug in portage(but I know that I haven`t ant ~x86), because after masking it write ------ These are the packages that would be merged, in order: Calculating world dependencies / !!! All ebuilds that could satisfy "=dev-java/ant-tasks-1.6.2*" have been masked. !!! One of the following masked packages is required to complete your request: - dev-java/ant-tasks-1.6.2-r10 (masked by: package.mask) - dev-java/ant-tasks-1.6.2-r9 (masked by: package.mask) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by "dev-java/ant-1.6.2-r6" [ebuild]) !!! Problem resolving dependencies for dev-util/eclipse-sdk !!! Depgraph creation failed. ------ but this is dependency for eclipse 3.1.2!!! and portage at first downgrade ant-core/tasks to 1.6.2 for eclipse-3.1.2 and then emerge eclipse 3.2 with bad version of ant-core/tasks. I think that it`s bug in dependencies, because it must count with new version of eclipse and not with old and then emerge new.
You need to p.mask <dev-java/ant-1.6.5 as well to get any useful result for what's the real dependency. (And, I hope you don't have the dev-java/ant-1.6.2 metabuild mixed w/ dev-java/ant-{tasks,core}-1.6.5.
(In reply to comment #5) > You need to p.mask <dev-java/ant-1.6.5 as well to get any useful result for > what's the real dependency. (And, I hope you don't have > the dev-java/ant-1.6.2 metabuild mixed w/ dev-java/ant-{tasks,core}-1.6.5. > this is useful report, because it is write that`s for eclipse and eclipse3.2 doesn`t depenf on ant so it`s eclipse 3.1.2(depndencies lower) and if I have ant only x86 then it collides (so i add ant to ~x86 and it works). But still is valid my comment #4 for bad building dependency tree. ----- eclipse-3.1.2-dependencies DEPEND="${RDEPEND} >=virtual/jdk-1.4.2 jikes? ( >=dev-java/jikes-1.21 ) >=dev-java/ant-1.6.2 >=dev-java/ant-core-1.6.2-r4 >=sys-apps/findutils-4.1.7 app-arch/unzip app-arch/zip"
Upssss, my mistake I overlook, that eclipse is slotted, so old eclipse is still valid. OK, all works.
Please, don't mix stable and ~arch packages in future if you can't cope with the dependencies.