Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242130 - dev-java/antlr-2.7.7 w/python-2.6 cannot determine the VM
Summary: dev-java/antlr-2.7.7 w/python-2.6 cannot determine the VM
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 01:19 UTC by Markus Peloquin
Modified: 2008-10-15 18:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,4.95 KB, text/plain)
2008-10-15 01:19 UTC, Markus Peloquin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Peloquin 2008-10-15 01:19:19 UTC
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]
Comment 1 Markus Peloquin 2008-10-15 01:19:51 UTC
Created attachment 168500 [details]
emerge --info

emerge --info
Comment 2 Markus Peloquin 2008-10-15 01:29:20 UTC
I see the exact same error with pdflib-7.0.2_p8 and subversion-1.5.2.
Comment 3 Rafał Mużyło 2008-10-15 13:50:15 UTC
This is probably invalid.
You need to emerge dev-java/java-config-2.1.6-r1.
Comment 4 Markus Peloquin 2008-10-15 18:01:12 UTC
Whoops.  I should have thought of that.  Thanks.