Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100044 - dev-java/gnu-jaxp-1.3 doesn't compile with Sun JDK
Summary: dev-java/gnu-jaxp-1.3 doesn't compile with Sun JDK
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 102625 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-23 10:54 UTC by Wulf Krueger (RETIRED)
Modified: 2005-09-10 11:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
configure & compile output (sun-j2sdk-1.4.2,22.71 KB, text/plain)
2005-07-23 11:52 UTC, Wulf Krueger (RETIRED)
Details
configure & compile output j2sdk5 (sun-jdk-1.5.0.02,10.34 KB, text/plain)
2005-07-23 11:54 UTC, Wulf Krueger (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wulf Krueger (RETIRED) gentoo-dev 2005-07-23 10:54:29 UTC
Compilation fails using:
- sun-jdk-1.5.0.02
- sun-jdk-1.4.2.08
- sun-j2sdk-1.4.2

I get lots of different errors using these.

It *does* compile using:
- blackdown-jdk-1.4.2.02

Why?

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r10 i686)
=================================================================
System uname: 2.6.11-gentoo-r10 i686 AMD Athlon(TM) XP 2800+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe -fprefetch-loop-arrays -mmmx
-msse -m3dnow -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe -fprefetch-loop-arrays
-mmmx -msse -m3dnow -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://mirror.switch.ch/mirror/gentoo/ http://gentoo.mirror.solnet.ch
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://gentoo.inode.at/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://gentoo.math.bme.hu http://gentoo.mirror.icd.hu/
http://ftp.heanet.ie/pub/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo
http://mirror.pudas.net/gentoo http://mirror.uni-c.dk/gentoo/
http://mir.zyrianes.net/gentoo/ http://mirror.uni-c.dk/gentoo/
http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub
http://linuv.uv.es/mirror/gentoo/ http://gentoo.osuosl.org/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
ftp://mirror.nutsmaas.nl/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/
ftp://ftp.solnet.ch/mirror/Gentoo
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://gentoo.inode.at/source/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo
ftp://mirror.pudas.net/gentoo ftp://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage
/usr/local/overlays/fluidportage/trunk /usr/local/overlays/bmg-main
/usr/local/overlays/gentoo-de /usr/local/overlays/gentoo-bugs
/usr/local/overlays/capella"
SYNC="rsync://mordor.mailstation.de/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 3ds S3TC X X509 Xaw3d a52 aac aalib acl alsa
apache2 apm arts artswrappersuid artworkextra async audiofile avi
bash-completion bdf berkdb bitmap-fonts bzip2 bzlib c++ caps cdb cdparanoia cdr
chroot client codecs cpdflib cracklib crypt css cups curl curlwrappers dga dio
divx4linux djbfft dts dvd dvdr emacs emacs-w3 emboss encode esd ethereal exif
extensions fam fame fastcgi fb fbcon flac fluidsynth font-server foomaticdb
foreign-package foreign-sysvinit fortran fpx freetype gd gdbm german gif gimp
gimpprint glut gnokii gnutls gpm graphviz gs gstreamer gtk gtk2 guile iconv idea
imagemagick imap imlib innodb ipv6 java jbig jce joystick jp2 jpeg jpeg2k junit
kde latex ldap leim libg++ libwww lzo lzw mad matroska mikmod milter mime mjpeg
mmap mmx mmxext mng monkey motif mozdevelop mozilla mozsvg mp3 mpeg mplayer mule
multi-tty mysql mysqli nas ncurses network nls nptl nptlonly ntlm odbc offensive
ogg oggvorbis openal opengl oss pam pcntl pcre pdflib perl php pic pie plotutils
png posix python qt quicktime readline real recode samba sasl scanner sdk sdl
shared sharedmem slang smime sndfile snmp sockets sox speex spell sse ssl svg
svga sysvipc tcltk tcpd tetex theora tiff timidity transcode truetype
truetype-fonts type1-fonts unicode usb v4l2 vcdimager videos vorbis win32codecs
wmf wxwindows xanim xchatdccserver xface xine xml2 xmlrpc xmms xpm xrandr
xscreensaver xsl xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-23 10:56:34 UTC
> I get lots of different errors using these.

That's not something a dev can work with. show us the error output and reopen
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2005-07-23 10:59:32 UTC
How about simply trying to emerge it yourself?

I can reproduce it on several machines so it shouldn't be too hard for you
either. Whoever is going to fix this will have to reproduce it on his/her own
anyway.  
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-23 11:07:58 UTC
How about you provide the information we need to be able todo something with 
this bug report? so you don't just waste your and our time?

It compiles just fine for me with sun-jdk
Comment 4 Wulf Krueger (RETIRED) gentoo-dev 2005-07-23 11:52:46 UTC
Created attachment 64148 [details]
configure & compile output

java version "1.4.2-gentoo"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2-gentoo-1102024040)
Java HotSpot(TM) Client VM (build 1.4.2-gentoo-1102024040, mixed mode)
Comment 5 Wulf Krueger (RETIRED) gentoo-dev 2005-07-23 11:54:04 UTC
Created attachment 64149 [details]
configure & compile output j2sdk5

java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode)
Comment 6 Wulf Krueger (RETIRED) gentoo-dev 2005-07-23 11:56:31 UTC
In contrast to my first statement sun-jdk-1.4.2.08 *does* compile it, too:

java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

I must have forgotten to update my environment. 

Anyway, now you have a reason and enough evidence, I hope, to waste your time.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-15 10:16:09 UTC
*** Bug 102625 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-08-15 10:17:14 UTC
Reopen wrt duplicate bug.
Comment 9 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-10 10:06:07 UTC
sun-j2sdk and sun-jdk 1.5 are not supported

use sun-jdk
or blackdown-jdk
Comment 10 Wulf Krueger (RETIRED) gentoo-dev 2005-09-10 10:44:13 UTC
Thomas, I'm afraid you confused some words... ;-)

Your sentence should obviously read: sun-j2sdk and sun-jdk 1.5 are NEEDED by many.

Thus, long after Java 5.0 has been released, "unsupported" is not really an
acceptable answer.
Comment 11 Petteri Räty (RETIRED) gentoo-dev 2005-09-10 10:52:36 UTC
(In reply to comment #10)
> Thomas, I'm afraid you confused some words... ;-)

He did not.

> 
> Your sentence should obviously read: sun-j2sdk and sun-jdk 1.5 are NEEDED by many.

It can be used as the user vm. System vm has problems. We already have a working
a solution which will hopefully be moved to the official tree soon.

> 
> Thus, long after Java 5.0 has been released, "unsupported" is not really an
> acceptable answer.

No, it is not but we the java herd is understaffed.
Comment 12 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-10 11:34:26 UTC
sun-jdk-1.5 is supported if you use this overlay:
http://gentooexperimental.org/svn/java/axxo-overlay/
(be carefull big changes)
in the normal tree it is not

dev-java/sun-j2sdk vm he was using is no longer in portage and buggy and not 
supported by us.

so use dev-java/sun-jdk
or some other vm in our tree