Created attachment 725380 [details] The build log dev-java/antlr-3.5.2-r1 depends on dev-java/stringtemplate:4, which is also registered to depend on antlr-runtime.jar from antlr-3.5. This circular dependency can be broken down in emerge's dependency resolution thanks to PDEPEND in stringtemplate's ebuild, but it still causes an issue for the java-pkg-simple_getclasspath eclass function when antlr is being merged. This function calls java-pkg_getjars with the '--with-dependencies' option (as shown in the build log), so in the antlr ebuild, a classpath for stringtemplate and its dependencies will be generated. But antlr, as a dependency of stringtemplate, is yet to be installed on the system, resulting in a "Package antlr-3.5 was not found" error. Hence the dev-java/antlr-3.5.2-r1 package cannot be compiled.
Created attachment 725383 [details] 'emerge --info' output
Created attachment 725386 [details] 'emerge -pqv' output
Created attachment 725389 [details] The eclass debug log
Just found another bug ticket for stringtemplate which should be for the same issue but did not show up to me in the bug submission interface. I guess this can be marked as a duplicate of that ticket. Sorry for any inconvenience or surprise! *** This bug has been marked as a duplicate of bug 742554 ***