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

Bug 151459

Summary: dev-java/blackdown-jre-1.4.2.03-r13 does not require java-config-1
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ta2002 2006-10-15 05:29:40 UTC
I just emerged the latest stable version of blackdown-jre, which required dev-java/java-config-2.0.30 and dev-java/java-config-wrapper-0.12.


# 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 ...
/usr/bin/java-check-environment: line 191: java-config-1: command not found
 * No Generation-1 System VM is set! (no java-config-1 -f output)
 * Run 'java-config-1 -L' to see a list of available VMs
 * Then run 'java-config-1 -S <VM choice>'
 * Then run 'env-update && source /etc/profile                                                                                          [ !! ]

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


# equery list java
[ Searching for package 'java' in all categories among: ]
 * installed packages
[I--] [  ] dev-java/java-config-2.0.30 (2)
[I--] [  ] dev-java/java-config-wrapper-0.12 (0)


# emerge -p --info
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 Pentium III (Coppermine)
Gentoo Base System version 1.12.5
Last Sync: Sun, 15 Oct 2006 03:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -mfpmath=sse"
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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LINGUAS="en ru"
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/sunrise"
SYNC="rsync://baron/gentoo-portage"
USE="x86 X aac aalib acpi alsa arts audiofile berkdb bitmap-fonts bzip2 caps cdparanoia cjk crypt css cups dbus dga directfb dlloader dri elibc_glibc encode exif expat fbcon ffmpeg flac gcj ggi gif glibc-omitfp gmp gphoto2 gpm gstreamer hal i8x0 idea imagemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 javascript jbig joystick jpeg kde kernel_linux lcms libcaca libwww linguas_en linguas_ru live mad matroska mbox memlimit mmx mng mp3 mpeg mysql nas ncurses network nls no-old-linux nodrm nptl nptlonly ogg opengl pcre pdflib perl png ppds qt3 quicktime readline real rtc samba scanner sdl silc sndfile speex spell sse ssl sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales utf8 vcd video_cards_i810 vorbis win32codecs xinerama xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

I don't know how java-check-environment should behave, but referencing a non-installed package doesn't seem right to me.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-10-15 09:18:42 UTC
Fixed in CVS. You could either wait a few hours, emerge --sync, and remerge... or you could just emerge --oneshot =java-config-1.3* to get it right away.