Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 145542

Summary: dev-util/eclipse-sdk-3.1.2-r3 will not find System VM after update to java-config-1.3.3
Product: Gentoo Linux Reporter: Alistair Bush (RETIRED) <ali_bush>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to convert eclipse-3.1 to gen-2

Description Alistair Bush (RETIRED) gentoo-dev 2006-08-29 18:00:19 UTC
After updating to java-config-1.3.3 eclipse-3.1.2 is unable to find the SystemVM and therefore fails upon emerge.

>>> Emerging (6 of 7) dev-util/eclipse-sdk-3.1.2-r3 to /
 * eclipse-sourceBuild-srcIncluded-3.1.2.zip MD5 ;-) ...                  [ ok ]
 * eclipse-sourceBuild-srcIncluded-3.1.2.zip RMD160 ;-) ...               [ ok ]
 * eclipse-sourceBuild-srcIncluded-3.1.2.zip SHA1 ;-) ...                 [ ok ]
 * eclipse-sourceBuild-srcIncluded-3.1.2.zip SHA256 ;-) ...               [ ok ]
 * eclipse-sourceBuild-srcIncluded-3.1.2.zip size ;-) ...                 [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking eclipse-sourceBuild-srcIncluded-3.1.2.zip ;-) ...             [ ok ]
 * Using Generation-1 System VM: blackdown-jdk-1.4.2                      [ ok ]
 * Checking for at least 768MBytes RAM ...                                [ ok ]
 * A full JDK is needed by this package. You currently have no Java VM active or only a JRE
 * Please use java-config -S to set your system vm to a JDK

!!! ERROR: dev-util/eclipse-sdk-3.1.2-r3 failed.
Call stack:
  ebuild.sh, line 1559:   Called dyn_setup
  ebuild.sh, line 666:   Called pkg_setup
  eclipse-sdk-3.1.2-r3.ebuild, line 54:   Called java-utils_pkg_setup
  java-utils.eclass, line 23:   Called java-utils_ensure-jdk
  java-utils.eclass, line 44:   Called die

!!! Active VM is not a JDK
!!! If you need support, post the topmost build error, and the call stack if relevant.

ALISTAIRSERVER alistair # java-config -L
*) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] (/usr/share/java-config-2/vm/blackdown-jdk-1.4.2)
2) Sun JDK 1.5.0.08 [sun-jdk-1.5] (/usr/share/java-config-2/vm/sun-jdk-1.5)
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2006-08-29 19:40:13 UTC
Created attachment 95430 [details, diff]
patch to convert eclipse-3.1 to gen-2

This patch will revbump the ebuild and convert it to use java's generation 2 system which will allow it to compile
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-30 01:02:18 UTC
I don't see why are you redoing work that's been already done in 3.2... Reopen if eclipse-sdk-3.2 doesn't work for you.