Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174395 - Please mark dev-java/msv-20050627-r1 stable
Summary: Please mark dev-java/msv-20050627-r1 stable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 09:08 UTC by Petteri Räty (RETIRED)
Modified: 2007-04-15 22:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-04-13 09:08:15 UTC
A generation 2 migration.
Comment 1 Peter Weller (RETIRED) gentoo-dev 2007-04-13 19:41:38 UTC
amd64 done
Comment 2 nixnut (RETIRED) gentoo-dev 2007-04-15 12:07:46 UTC
Stable on ppc
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2007-04-15 19:26:40 UTC
ppc64 stable
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2007-04-15 21:31:43 UTC
leela ~ # echo =dev-java/msv-20050627-r1 >>/etc/portage/package.keywords 
leela ~ # emerge -av msv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-java/relaxng-datatype-1.0  USE="-doc -jikes -source" 0 kB 
[ebuild  N    ] dev-java/iso-relax-20050331-r1  USE="-source" 681 kB 
[ebuild  N    ] dev-java/xsdlib-20050627  USE="-doc -jikes -source" 786 kB 
[ebuild  N    ] dev-java/msv-20050627-r1  USE="-doc -source" 3,703 kB 

Total: 4 packages (4 new), Size of downloads: 5,169 kB

Would you like to merge these packages? [Yes/No] 
>>> starting parallel fetching

>>> Emerging (1 of 4) dev-java/relaxng-datatype-1.0 to /
 * relaxngDatatype-1.0.zip RMD160 ;-) ...                                         [ ok ]
 * relaxngDatatype-1.0.zip SHA1 ;-) ...                                           [ ok ]
 * relaxngDatatype-1.0.zip SHA256 ;-) ...                                         [ ok ]
 * relaxngDatatype-1.0.zip size ;-) ...                                           [ ok ]
 * checking ebuild checksums ;-) ...                                              [ ok ]
 * checking auxfile checksums ;-) ...                                             [ ok ]
 * checking miscfile checksums ;-) ...                                            [ ok ]
 * checking relaxngDatatype-1.0.zip ;-) ...                                       [ ok ]

 * There was a problem determining which VM to use for generation-1
 * This is because the way Java is handled on Gentoo has drastically changed.
 * There does not seem to be a 1.4 or 1.3 JDK installed.
 * You should probably install =virtual/jdk-1.4* or =virtual/jdk-1.3*
 * It is important to have either a 1.4 or 1.3 JDK installed
 * in order for the old and new Java systems to coexist
 * Details about this can be found at:
 * 	http://overlays.gentoo.org/proj/java/wiki/Why_We_Need_Java14
 * If you wonder why we can't just depend on the needed JDK version,
 * then read https://bugs.gentoo.org/show_bug.cgi?id=144240

 * You should run, and follow the advice of:
 * 	/usr/bin/java-check-environment
 * You will also likely want to follow the Java Upgrade Guide:
 * 	http://www.gentoo.org/proj/en/java/java-upgrade.xml
 * If you have problems with the guide, please see:
 * 	http://overlays.gentoo.org/proj/java/wiki/Common_Problems

!!! ERROR: dev-java/relaxng-datatype-1.0 failed.
Call stack:
  ebuild.sh, line 1630:   Called dyn_setup
  ebuild.sh, line 702:   Called qa_call 'pkg_setup'
  ebuild.sh, line 38:   Called pkg_setup
  ebuild.sh, line 1304:   Called java-pkg_pkg_setup
  java-pkg.eclass, line 61:   Called die

!!! Expected VMHANDLE to be defined in the env
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/dev-java:relaxng-datatype-1.0:20070415-212918.log'.



Shouldn't all dependencies be of generation 2 as well? Looks like my box only has a generation-2 VM.

leela ~ # /usr/bin/java-check-environment
 * === Java Environment Checker ===
 * The purpose of this script is to check the sanity of your Java Environment.
 * We have significantly changed and improved the way Java is handled in many respects.
 * Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details

 * Checking vm_environment_files ...                                              [ ok ]

 * Checking user_settings ...
 * Running as root. Don't need to check user settings.                            [ ok ]

 * Checking generation_1_system_vm ...
 * No Generation-1 System VM is set! (no /etc/env.d/20java)
 * It doesn't look like java-config-1 sees any installed VMs.
 * It is most likely because you don't have a 1.4 JDK installed
 * This is required for generation-1 to work properly.
 * You will want to emerge =virtual/jdk-1.4*                                      [ !! ]

 * Some problems were found. Please follow the instructions above, and rerun java-check-environment


leela ~ # eix ^jdk$
[I] virtual/jdk
     Available versions:  
	(1.4)	1.4.1 1.4.2
	(1.5)	1.5.0
	(1.6)	~1.6.0
     Installed versions:  1.5.0(1.5)(23:37:51 03/04/07)
     Homepage:            http://java.sun.com/
     Description:         Virtual for JDK

leela ~ # java-config-1 -f    
leela ~ # java-config-1 -L
The following JDKs are available for generation-1:
leela ~ # 
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2007-04-15 21:53:54 UTC
(In reply to comment #4)
> 
>  * There was a problem determining which VM to use for generation-1
>  * This is because the way Java is handled on Gentoo has drastically changed.
>  * There does not seem to be a 1.4 or 1.3 JDK installed.
>  * You should probably install =virtual/jdk-1.4* or =virtual/jdk-1.3*
>  * It is important to have either a 1.4 or 1.3 JDK installed
>  * in order for the old and new Java systems to coexist
>  * Details about this can be found at:
>  *      http://overlays.gentoo.org/proj/java/wiki/Why_We_Need_Java14
>  * If you wonder why we can't just depend on the needed JDK version,
>  * then read https://bugs.gentoo.org/show_bug.cgi?id=144240
> 

Just do bug 174397 and you don't need a generation 1 JDK any more.
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2007-04-15 22:22:04 UTC
Thanks. x86 done here.