Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139085 - java-config-2 system does not allow java 1.5 as build vm
Summary: java-config-2 system does not allow java 1.5 as build vm
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 14:01 UTC by Henning Rogge
Modified: 2006-07-05 07:32 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 Henning Rogge 2006-07-03 14:01:20 UTC
I have a package that MUST be compiled with java 1.5 or later (eclipse 3.2 to be exact). Before the update to the new java-config system I just changed my system VM to 1.5, compiled eclipse and switched back.

Now the system seems to be always using java 1.4 for portage, even if a 1.5 VM is set to sun-jdk-1.5.0.07.

I'm using an ebuild from this bugtracker for eclipse:
http://bugs.gentoo.org/show_bug.cgi?id=112537

# emerge eclipse-sdk
Calculating dependencies... done!

>>> Emerging (1 of 1) dev-util/eclipse-sdk-3.2_rc7 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking eclipse-sourceBuild-srcIncluded-3.2RC7.zip ;-)
 * Checking for at least 1024MBytes RAM ...                               [ ok ]
Detected a JDK < 1.5.0
Detected a JDK < 1.5.0
 * This package requires a Java VM version >= 1 5
 * Please use java-config -S to set the correct one

# emerge --info
Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1 i686)
=================================================================
System uname: 2.6.17-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fweb -ftracer -fpeel-loops -pipe"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -fweb -ftracer -fpeel-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de en"
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 /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bluetooth browserplugin bulib bzip2 cairo cdparanoia cli cpudetection crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread eds emboss encode esd ffmpeg fftw foomaticdb fortran freetype gdbm gif glitz gpm gstreamer gtk gtk2 hal imlib isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg mplayer mysql ncurses nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 quicktime readline real reflection s3tc sasl sdl session spell spl sse sse2 ssl svg tcpd theora truetype truetype-fonts type1-fonts udev usb userlocales v4l vcd vorbis win32codecs wxgtk wxgtk1 xcomposite xinerama xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de linguas_en userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

# java-config-2 -L
1) Sun JDK 1.4.2.12 [sun-jdk-1.4] (/usr/share/java-config-2/vm/sun-jdk-1.4)
*) Sun JDK 1.5.0.07 [sun-jdk-1.5] (/usr/share/java-config-2/vm/sun-jdk-1.5)
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-07-03 22:22:41 UTC
I wouldn't suggest using the ebuilds from that bug. I have ebuilds in our 'migration-packages' overlay that I plan on putting in the tree tomorrow that support the new Java system.
Comment 2 Henning Rogge 2006-07-03 23:37:38 UTC
Sounds good... I will try it as soon as the new package is in the tree.
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-07-04 08:07:51 UTC
Marking wontfix, because it is for ebuilds in bugzilla. Will see to adding the updated package as soon as reasonably possible.
Comment 4 Henning Rogge 2006-07-05 07:11:42 UTC
Okay... I really hope we will get eclipse Milestone/RC ebuilds in the future for Portage. Eclipse is a great tool and most milestones except the first few ones were a huge improvement over the latest stable version.
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2006-07-05 07:32:08 UTC
3.2_rc7 is in portage, package.mask'd for testing.