After installing Python 2.6, I cannot rebuild antlr-2.7.7. It cannot determine the JVM, but this may be related to the line preceding the JVM error line. Here's probably the most important error messages: !!! ERROR: _formatwarning() takes exactly 4 arguments (5 given) * Unable to determine VM for building from dependencies: ... Reproducible: Always Steps to Reproduce: Build python-2.6, build antlr-2.7.7. >>> Emerging (1 of 1) dev-java/antlr-2.7.7 * antlr-2.7.7.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] !!! ERROR: _formatwarning() takes exactly 4 arguments (5 given) * Unable to determine VM for building from dependencies: NV_DEPEND: >=virtual/jdk-1.3 mono? ( dev-lang/mono ) python? ( dev-lang/python ) script? ( !dev-util/pccts ) source? ( app-arch/zip ) >=dev-java/java-config-2.0.33-r1 >=sys-apps/portage-2.1.2.7 virtual/python VNEED: * * ERROR: dev-java/antlr-2.7.7 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * ebuild.sh, line 1291: Called java-pkg-2_pkg_setup * java-pkg-2.eclass, line 61: Called java-pkg_init * java-utils-2.eclass, line 2098: Called java-pkg_switch-vm * java-utils-2.eclass, line 2524: Called die * The specific snippet of code: * die "Failed to determine VM for building." * The die message: * Failed to determine VM for building. * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-java/antlr-2.7.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/antlr-2.7.7/temp/die.env'. * !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="." JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info # eselect java-vm list [1] blackdown-jdk-1.4.2 [2] sun-jdk-1.5 [3] sun-jdk-1.6 system-vm user-vm [4] sun-jre-bin-1.6 # java-config -L The following VMs are available for generation-2: 1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] 2) Sun JDK 1.5.0.15 [sun-jdk-1.5] *) Sun JDK 1.6.0.07 [sun-jdk-1.6] 4) Sun JRE 1.6.0.07 [sun-jre-bin-1.6]
Created attachment 168500 [details] emerge --info emerge --info
I see the exact same error with pdflib-7.0.2_p8 and subversion-1.5.2.
This is probably invalid. You need to emerge dev-java/java-config-2.1.6-r1.
Whoops. I should have thought of that. Thanks.