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

Bug 611244

Summary: dev-java/junit-3.8.2-r1 - ERROR: Couldn't find suitable VM. Possible invalid dependency string.
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2017-02-28 18:24:51 UTC
Seems the dependencies on java jre and sdk are missing from teh ebuild:



>>> Emerging (1 of 5) dev-java/junit-3.8.2-r1::gentoo
 * junit3.8.2.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                                                                                  [ ok ]
!!! ERROR: Couldn't find suitable VM. Possible invalid dependency string.
           Due to 
 * Unable to determine VM for building from dependencies:
NV_DEPEND: >=virtual/jdk-1.4
        app-arch/unzip >=dev-java/java-config-2.2.0-r3  source? ( app-arch/zip )  >=dev-java/ant-core-1.8.2
           
           
           >=dev-java/javatoolkit-0.3.0-r2
 * ERROR: dev-java/junit-3.8.2-r1::gentoo failed (setup phase):
 *   Failed to determine VM for building.
 * 
 * Call stack:
 *             ebuild.sh, line  115:  Called pkg_setup
 *             ebuild.sh, line  348:  Called java-pkg-2_pkg_setup
 *     java-pkg-2.eclass, line   48:  Called java-pkg_init
 *   java-utils-2.eclass, line 2195:  Called java-pkg_switch-vm
 *   java-utils-2.eclass, line 2657:  Called die
 * The specific snippet of code:
 *                                      die "Failed to determine VM for building."
 * 
 * If you need support, post the output of `emerge --info '=dev-java/junit-3.8.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/junit-3.8.2-r1::gentoo'`.
!!! 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 =junit-3.8.2
 * The complete build log is located at '/apps/gentoo/var/tmp/portage/dev-java/junit-3.8.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/apps/gentoo/var/tmp/portage/dev-java/junit-3.8.2-r1/temp/die.env'.
 * Working directory: '/apps/gentoo/var/tmp/portage/dev-java/junit-3.8.2-r1/homedir'
 * S: '/apps/gentoo/var/tmp/portage/dev-java/junit-3.8.2-r1/work/junit3.8.2'
Comment 1 Volkmar W. Pogatzki 2023-06-29 15:31:30 UTC
The affected versions of dev-java/junit and dev-java/javatoolkit are gone. Closing.