Here it is folks. We think we're about ready to stabilize the new Java system. Our target date is around the weekend of October 14th. We're doing the bug now so people have enough time to test things. We should be done with the last of version/revision bumps to packages involving the new system. So, what packages does this include? It is the list of keywords in the java upgrade guide, http://www.gentoo.org/proj/en/java/java-upgrade.xml Here is my proposed ordering, but feel free to correct me: dev-java/javatoolkit dev-java/java-config-wrapper dev-java/java-config (1.3.x and 2.0.x) dev-java/java-sdk-docs all slots of all jdks virtual/jdk virtual/jre dev-java/ant-core dev-java/ant-tasks dev-java/ant dev-java/eclipse-ecj (3.1.x and 3.2.x) dev-java/jikes For the above packages, the packages are pretty tightly coupled, so they will need to be keyworded pretty closely together to avoid oddities occuring. For example, the new java-configs will only recognize VMs that are using the new eclasses. A few packages were updated to use new eclasses, where generation-1 didn't work: dev-java/lucene dev-java/gnu-jaxp A few have optional support, which need latest revision to work properly: dev-util/subversion sys-libs/db Let's try to keep this bug clear, so for any issues that come up, please file separate bugs, and block this one.
Adding target archs for stablization.
Tips for testing: JAVA_PKG_FORCE_VM="blackdown-jdk-1.4.2" emerge foo This will force use of blackdown-jdk-1.4.2 for the emerge. Other valid values are the 'handle' that java-config-2 -L would list. This only affects packages using new eclasses. JAVA_PKG_FORCE_COMPILER="jikes" emerge foo This will force use of jikes for the emrge. Other valid values are ecj-3.1, ecj-3.2, and javac (the default). Again, only effects packages using new eclasses.
Adding last bug/feature we plan to add to java-config-2.
*** Bug 146309 has been marked as a duplicate of this bug. ***
*** Bug 146310 has been marked as a duplicate of this bug. ***
Adding kdejava and qtjava bugs as blockers - need to be commited and stable with (before) new java system to be compatible with it.
Here is a specific list of packages/versions we would like stablized for this. The only one missing is sys-lib/db, which I still have to figure out (it's a little tricky since it's slotted and there are tons of versions). =dev-java/java-config-1.3.7 =dev-java/java-config-2.0.30 =dev-java/java-config-wrapper-0.12 =dev-java/javatoolkit-0.1.9 =dev-java/blackdown-jdk-1.4.2.03-r12 =dev-java/blackdown-jre-1.4.2.03-r13 =dev-java/ibm-jdk-bin-1.5.0.2 =dev-java/ibm-jdk-bin-1.4.2.6-r4 =dev-java/ibm-jre-bin-1.4.2.6-r4 =dev-java/jrockit-jdk-bin-1.4.2.11 =dev-java/jrockit-jdk-bin-1.5.0.06-r1 =dev-java/sun-jdk-1.4.2.12-r2 =dev-java/sun-jdk-1.5.0.08 =dev-java/sun-jre-bin-1.4.2.12-r2 =dev-java/sun-jre-bin-1.5.0.08-r1 =dev-java/kaffe-1.1.7-r2 =dev-java/java-sdk-docs-1.5.0-r1 =virtual/jdk-1.4.1 =virtual/jdk-1.4.2 =virtual/jdk-1.5.0 =virtual/jre-1.4.1 =virtual/jre-1.4.2 =virtual/jre-1.5.0 =dev-java/ant-core-1.6.5-r14 =dev-java/ant-tasks-1.6.5-r2 =dev-java/ant-1.6.5 =dev-java/eclipse-ecj-3.1-r13 =dev-java/eclipse-ecj-3.2 =dev-java/jikes-1.22-r13 =dev-java/lucene-1.4.3-r2 =dev-java/gnu-jaxp-1.3-r1 =dev-util/subversion-1.3.2-r3
kaffe has been updated to 1.1.7-r3 to fix a bug, so please stabilize that version.
Adding arch teams.
=dev-java/ant-core-1.6.5-r14 =dev-java/ant-tasks-1.6.5-r2 =dev-java/blackdown-jdk-1.4.2.03-r12 =dev-java/blackdown-jre-1.4.2.03-r13 =dev-java/eclipse-ecj-3.2 =dev-java/java-config-1.3.7 =dev-java/java-config-2.0.30 =dev-java/java-config-wrapper-0.12 =dev-java/javatoolkit-0.1.9 =dev-java/sun-jdk-1.5.0.08 =dev-java/sun-jre-bin-1.5.0.08-r1 =virtual/jdk-1.4.2 =virtual/jdk-1.5.0 =virtual/jre-1.4.2 =virtual/jre-1.5.0 emerge fine on amd64, passes collision-test and multilib-strict and work for some time now packages left for amd64: =dev-java/ant-1.6.5 =dev-java/bcel-5.1-r3 =dev-java/eclipse-ecj-3.1-r13 =dev-java/gnu-jaxp-1.3-r1 =dev-java/ibm-jdk-bin-1.4.2.6-r4 =dev-java/ibm-jdk-bin-1.5.0.2 =dev-java/ibm-jre-bin-1.4.2.6-r4 =dev-java/java-sdk-docs-1.5.0-r1 =dev-java/jikes-1.22-r13 =dev-java/jrockit-jdk-bin-1.4.2.11 =dev-java/jrockit-jdk-bin-1.5.0.06-r1 =dev-java/kaffe-1.1.7-r3 =dev-java/lucene-1.4.3-r2 =dev-java/sun-jdk-1.4.2.12-r2 =dev-java/sun-jre-bin-1.4.2.12-r2 =dev-util/subversion-1.3.2-r3 =virtual/jdk-1.4.1 =virtual/jre-1.4.1
For db we need to stabilize: =sys-libs/db-3.2.9-r11 (see bug 132690) =sys-libs/db-4.2.52_p4-r2 (see bug 142965) Other slots weren't migrated yet :/
javatoolkit-0.1.9 installs docs in /usr/share/doc/javatoolkit-9.9.9. looks like it's set in makedefs.mak
=dev-java/kaffe-1.1.7-r3 throws a test error on x86. Method Constant Pool: soft_fixup_trampoline(): return 0x817a120 Internal error: caught an unexpected exception. Please check your CLASSPATH and your installation. java/lang/Throwable /bin/sh: line 1: 29949 Aborted env TEST_CLASSES="ConstMethods.class ConstMathMethods.class ParameterizedMethods.class ParameterizedMathMethods.class ParameterizedLogicalMethods.class ParameterizedBitwiseMethods.class ControlFlowMethods.class StaticMethodCall.class TypeConversion.class StaticFields.class PrimitiveArrays.class ObjectFields.class MethodOptimizations.class NativeMethodCall.class Exceptions.class VirtualMethod.class" `. ../../BUILD_ENVIRONMENT; BOOTCLASSPATH=.:\${BOOTCLASSPATH}; export BOOTCLASSPATH; sed 's/.*export \(.*\)/echo \1=$\1/' < ../../BUILD_ENVIRONMENT | sh` ${dir}$tst FAIL: jitBasic ================================ 1 of 1 tests failed
everything on the list and their dependencies seem to build correctly and work with these VM's on x86. =dev-java/blackdown-jdk-1.4.2.03-r12 =dev-java/blackdown-jre-1.4.2.03-r13 =dev-java/sun-jdk-1.4.2.12-r2 =dev-java/sun-jdk-1.5.0.08 =dev-java/sun-jre-bin-1.4.2.12-r2 =dev-java/sun-jre-bin-1.5.0.08-r1 =dev-java/kaffe-1.1.7-r3 doesn't seem to be able to build anything without an internal error. from what i read that might be the expected result at this point in it's development. it does build though. Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) D CPU 3.00GHz Gentoo Base System version 1.12.5 Last Sync: Sun, 24 Sep 2006 03:00:08 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident" CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident -fvisibility-inlines-hidden" FEATURES="autoconfig ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test" LDFLAGS="-Wl,-O1" LINGUAS="" MAKEOPTS="-j3" USE="x86 X a52 aac acpi alsa audiofile bash-completion berkdb bzip2 cdr crypt dbus dri dts dvd dvdr elibc_glibc encode exif expat fam ffmpeg fftw firefox flac fortran ftp gdbm gif glut gmp gnutls gphoto2 graphviz gtk hal imagemagick imlib input_devices_keyboard input_devices_mouse java jikes jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux logrotate mad mime mmap mmx mp3 mpeg mpi ncurses nptl nsplugin ogg opengl pam pdf perl pic png python qdbm quicktime readline ruby sndfile sqlite sse sse2 ssl startup-notification svg symlink tcl tcltk tcpd test threads tk truetype usb userland_GNU vcd video_cards_radeon vorbis win32codecs wxwindows xine xml xv xvid zlib"
=sys-libs/db-3.2.9-r11 emerges fine on amd64, passes collision-test, passes multilib-strict and works. For db-4 I use =sys-libs/db-4.3.29-r2 which also emerges fine on amd64, passes collision-test, passes multilib-strict and works. Maybe that version will do too, but I'll test =sys-libs/db-4.2.52_p4-r2 anyways later this day.
Fixed the javatoolkit issue in 0.1.9-r1. As for the kaffe issue, I talked to the maintainer, and he pointed me at some patches debian is using which should fix the issue. So it's a matter of extracting them and getting them applied.
Created attachment 98295 [details] java.keywords 2006/09/28 List of packages to be stabled for new Java system.
I emerged all of the packages from java.keywords 2006/09/28, used the Upgrad Guide, tested them by emerging some Java apps, switched VMs using eselect, java-config for system and user and played around with defining other compilers and much more you don't want to know. No obvious problems be it emerging or using, so I have not much to report, except that this new system is cool, and your guides well made. I will use it the next days and report all occuring problems. 1) No file collisions. 2) ibm-jre-bin: QA Security Notice: - /opt/ibm-jre-bin-1.4.2.6/javaws/javaws will be a world writable file. - This may or may not be a security problem, most of the time it is one. - Please double check that ibm-jre-bin-1.4.2.6-r4 really needs a world writeable bit and file bugs accordingly. 3) I won't tell about texrels etc. in the -bin packages, for you cannot do anything about that. 4) If existent, test suites are passed except a) kaffe has been compiled with FEATURES="-test", as it isn't ready yet for that. b) db-4* fails, but not you concern (has been reported) Some "errors" in sys-libs/db have been fixed immediately by robbat2! Really great. Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.12.5 Last Sync: Thu, 28 Sep 2006 05:20:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage" USE="x86 3dnow 3dnowext X Xaw3d a52 alsa artworkextra asf audiofile bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds elibc_glibc emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jikes jpeg jpeg2k kde kernel_linux ldap leim libg++ linguas_de lm_sensors mad maildir matroska mbox mhash mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mule nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg opengl pam pcre pdf perl plotutils pmu png ppds pppd preview-latex print python qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff truetype truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_fbdev video_cards_radeon video_cards_vesa videos vorbis win32codecs wmf wxwindows xine xml xorg xosd xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #18) > 2) ibm-jre-bin: > QA Security Notice: > - /opt/ibm-jre-bin-1.4.2.6/javaws/javaws will be a world writable file. Fixed in dev-java/ibm-jre-bin-1.4.2.6-r4 (so update your keywording list), thanks for reporting. My bad :( > 3) I won't tell about texrels etc. in the -bin packages, for you cannot do > anything about that. You can report it (in some separate bugs) because we can at least suppress it with QA_ variables.
Created attachment 98361 [details] java.keywords 2006/09/29 ibm-jre-bin updated to -r5
(In reply to comment #19) > (In reply to comment #18) > > 2) ibm-jre-bin: > > QA Security Notice: > > - /opt/ibm-jre-bin-1.4.2.6/javaws/javaws will be a world writable file. > Fixed in dev-java/ibm-jre-bin-1.4.2.6-r4 (so update your keywording list), > thanks for reporting. My bad :( You mean -r5. Emerges fine and works. Thanks. > > 3) I won't tell about texrels etc. in the -bin packages, for you cannot do > > anything about that. > You can report it (in some separate bugs) because we can at least suppress it > with QA_ variables. Maybe. :)
Breaking news! The following packages can be keyworded on amd64: =dev-java/ant-1.6.5 =dev-java/bcel-5.1-r3 =dev-java/eclipse-ecj-3.1-r13 =dev-java/gnu-jaxp-1.3-r1 =dev-java/jikes-1.22-r13 =dev-java/kaffe-1.1.7-r3 =dev-java/lucene-1.4.3-r2 =dev-java/sun-jdk-1.4.2.12-r2 =dev-java/sun-jre-bin-1.4.2.12-r2 =dev-util/subversion-1.3.2-r3 =virtual/jdk-1.4.1 =virtual/jre-1.4.1 - they all emerge fine - pass collision-test - pass multilib-strict - kaffe is the only one that doesn't pass test suite - they all work Left for amd64: =dev-java/ibm-jdk-bin-1.4.2.6-r4 =dev-java/ibm-jdk-bin-1.5.0.2 =dev-java/ibm-jre-bin-1.4.2.6-r5 =dev-java/java-sdk-docs-1.5.0-r1 =dev-java/jrockit-jdk-bin-1.4.2.11 =dev-java/jrockit-jdk-bin-1.5.0.06-r1 =dev-java/sun-jdk-1.4.2.12-r2 =dev-java/sun-jre-bin-1.4.2.12-r2 PS: sun-jdk-1.4* and sun-jre-bin-1.4* are not keyworded for amd64 at all (-*), do you still want them to go stable? PPS: I could test the remaining packages, if someone could give me better download locations. Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-ck1 x86_64) ================================================================= System uname: 2.6.18-ck1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.5 Last Sync: Mon, 02 Oct 2006 21:50:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildsyspkg ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ " LANG="en_US.ISO-8859-1" LC_ALL="en_US.ISO-8859-1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa amr avi berkdb bitmap-fonts branding bzip2 cairo cdinstall cdparanoia cdr cli crypt cups dbus divx dlloader dri dvd dvdr dvdread elibc_glibc emboss encode expat fam ffmpeg firefox foomaticdb fortran gdbm gif glut gnutls gpm gstreamer gtk gtk2 hal imagemagick input_devices_evdev input_devices_keyboard isdnlog jpeg kernel_linux lcms ldap libg++ lirc lirc_devices_inputlirc logrotate mad mikmod mng mp3 mpeg musicbrainz ncurses nls nptl nptlonly offensive ogg opengl pam pcre pdflib php png ppds pppd quicktime readline reflection reiserfs rtc sdl session socks5 spl ssl svg symlink tcpd test tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales v4l v4l2 video_cards_fglrx vim-with-x vorbis wmp xcomposite xfs xine xinerama xml xorg xv xvid zlib zvbi" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS
Point of clarification: For JDKs and JREs, they should be marked stable for the archs that they are already marked testing. So for example, sun-jdk-1.4 is only marked ~x86, so should only marked stable on x86.
We should replace dev-java/ibm-jdk-bin-1.5.0.2 in keywords list with 1.5.0.3 although it was bumped only recently, because IBM now doesn't provide download link for 1.5.0.2 anywhere.
Created attachment 99242 [details] java.keywords 2006/10/10 New ibm-jdk-bin Do you know any other packages that have been updated (I just checked, but maybe I have missed one).
=dev-java/gnu-jaxp-1.3-r1 is having some issues when being built IBM's JDK, so please remove from the list.
x86 should be done I think ^.^
Done on ppc64.
Done on amd64.
Done on ia64.
ppc also done.
All archs done. Marking fixed.