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

Bug 73701

Summary: dev-java/sun-jdk-1.4.2.06 (32bit) works on amd64
Product: Gentoo Linux Reporter: Vladimir Korenev <vkorenev>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vladimir Korenev 2004-12-07 11:44:04 UTC
It may be needed on amd64 because:
1. it has 32bit netscape java plugin,
2. it has -client jvm, which sometimes faster than -server. For my tasks blackdown server JDK on amd64 was too much slower than sun client JDK on x86.
So I think it would be great to add ~amd64 keyword to ebuild.
Sun 32bit JDK works fine for me, I added amd64 keyword and modified RDEPEND in sun-jdk-1.4.2.06.ebuild:
RDEPEND="x86? ( sys-libs/lib-compat )
        amd64? ( app-emulation/emul-linux-x86-compat )"


Reproducible: Always
Steps to Reproduce:




Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.7
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://www.gigaload.org/gentoo.org/ http://mirror.uni-c.dk/gentoo/
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa avi berkdb bitmap-fonts crypt cups encode esd f77 fam
flac foomaticdb fortran gcj gif gnome gpm gstreamer gtk gtk2 imagemagick imlib
java javamail javascript jp2 jpeg junit kde kerberos ldap lzw lzw-tiff mng
mozdevelop mozilla mpeg multilib ncurses nls nptl objc offensive oggvorbis
opengl oss pam perl png ppds python qt quicktime readline samba sdl slang spell
ssl svg tcltk tcpd tiff truetype unicode usb userlocales winbind wmf xml2 xmms
xpm xrandr xv zlib linguas_en linguas_ru linguas_uk"
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-05-08 11:29:23 UTC
The 32-bit netscape java plugin doesn't work.  It installs it into /usr/lib64 (which is wrong), but even after I link it in to /usr/lib32, it causes firefox-bin to fail to load.  I think this should stay masked.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-05-22 02:17:55 UTC
see comment #1