Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145171 - sun-jdk-1.5.0.08 fails to install /etc/env.d/java/*
Summary: sun-jdk-1.5.0.08 fails to install /etc/env.d/java/*
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-26 05:47 UTC by Vladimir Pouzanov
Modified: 2006-08-26 07:35 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 Vladimir Pouzanov 2006-08-26 05:47:34 UTC
ebuild doesn't create a config for sun-jdk making java installation broken. It seems that set_java_env() form java eclass isn't called at all, however I'm not an experienced portage developer to be sure.

USE flags: dev-java/sun-jdk-1.5.0.08  USE="X alsa nsplugin -doc -examples -jce"

Info:
$ emerge --info
Portage 2.1.1_rc1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r6 i686)
=================================================================
System uname: 2.6.17-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.4
Last Sync: Sat, 26 Aug 2006 12:00:09 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
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: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
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/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo ftp://ftp.gentoo.org.ua/"
LANG="ru_RU.KOI8-R"
LINGUAS="en ru"
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 /usr/portage/local/layman/ecatmur /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org.ua/gentoo-portage"
USE="x86 7zip X acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cscope cups curl dbus dlloader dri eds elibc_glibc emboss encode esd fbcon foomaticdb gd gdbm gif glut gpm gtk gtk2 hal iconv imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog javascript jpeg kde kdeenablefinal kernel_linux libg++ libwww linguas_en linguas_ru lm_sensors mad mikmod mmap mmx mng motif mp3 mpeg multitarget mysql ncurses nls no-htdocs nptl nptlonly nsplugin offensive ogg oggvorbis openal openexr opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl subversion svg tcpd theora tidy truetype truetype-fonts type1-fonts udev userland_GNU video_cards_nv video_cards_nvidia vorbis win32codecs xcomposite xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vladimir Pouzanov 2006-08-26 06:05:49 UTC
JAVA_VM_NO_GENERATION1=false fixes the problem.. but that's probably not the best solution
Comment 2 UncleOwen 2006-08-26 06:48:47 UTC
Only 1.3 and 1.4 jdks are supposed to be backward compatible to generation 1 (and that only for the transition period), 1.5 jdks are generation 2 only. So I guess this is INVALID.
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-08-26 07:35:02 UTC
This is by design, as described by UncleOwen. See:
http://overlays.gentoo.org/proj/java/wiki/Common_Problems#IhaveJava1.5JDKinstalledbutitisntlistedbyjavaconfig1L