Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234445 - dev-java/tomcat-servlet-api-5.5.26 compilation failure
Summary: dev-java/tomcat-servlet-api-5.5.26 compilation failure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: William L. Thomson Jr. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-11 05:44 UTC by junk_siu
Modified: 2008-08-16 04:47 UTC (History)
1 user (show)

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 junk_siu 2008-08-11 05:44:44 UTC
dev-java/tomcat-servlet-api-5.5.26 compliation failure.

Reproducible: Always

Steps to Reproduce:
1.sudo emerge -avt eclipse-sdk
2.
3.

Actual Results:  
sudo emerge -avt eclipse-sdk
WARNING: repository at /mnt/sdb3/x86_64/portage/overlay-js is missing a repo_name entry

These are the packages that would be merged, in reverse order:

Calculating dependencies \
... done!
[ebuild  N    ] dev-util/eclipse-sdk-3.4-r2  USE="java6 -doc" 0 kB 
[ebuild  NS   ]  dev-java/tomcat-servlet-api-5.5.26 [4.1.36] USE="-doc -java5 -source" 0 kB 

Total: 2 packages (1 new, 1 in new slot), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) dev-java/tomcat-servlet-api-5.5.26
 * apache-tomcat-5.5.26-src.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                             [ ok ]
 * Using: kaffe
>>> Unpacking source...
>>> Unpacking apache-tomcat-5.5.26-src.tar.gz to /mnt/sdb3/x86_64/portage/tmp/portage/dev-java/tomcat-servlet-api-5.5.26/work
>>> Source unpacked.
>>> Compiling source in /mnt/sdb3/x86_64/portage/tmp/portage/dev-java/tomcat-servlet-api-5.5.26/work/apache-tomcat-5.5.26-src/servletapi ...
Rewriting attributes
Rewriting ./jsr154/build.xml
Rewriting ./jsr152/build.xml
 * Disabling all optional ANT_TASKS
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/StackOverflowError
This error may occur because the stack size is not sufficient. 
Try to increase the stack size using 'ulimit -s' or with the '-ss'
option on kaffe.
/mnt/sdb3/x86_64/portage/tmp/portage/dev-java/tomcat-servlet-api-5.5.26/temp/environment: line 860:  8581 Segmentation fault      ant ${antflags} "${@}"
 * 
 * ERROR: dev-java/tomcat-servlet-api-5.5.26 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4111:  Called eant 'jar' '-f' 'jsr154/build.xml'
 *             environment, line  957:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *  The die message:
 *   eant failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/sdb3/x86_64/portage/log/dev-java:tomcat-servlet-api-5.5.26:20080811-051314.log'.
 * The ebuild environment file is located at '/mnt/sdb3/x86_64/portage/tmp/portage/dev-java/tomcat-servlet-api-5.5.26/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=kaffe  CLASSPATH="" JAVA_HOME="/opt/kaffe-1.1.7"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info



emerge --info
WARNING: repository at /mnt/sdb3/x86_64/portage/overlay-js is missing a repo_name entry
Portage 2.2_rc7 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-rc9 x86_64)
=================================================================
System uname: Linux-2.6.26-rc9-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6700_@_2.66GHz-with-glibc2.2.5
Timestamp of tree: Sun, 10 Aug 2008 18:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -pipe -mmmx -msse -msse2 -msse3 -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=native -march=native -O2 -pipe -mmmx -msse -msse2 -msse3 -mno-tls-direct-seg-refs"
DISTDIR="/mnt/sdb3/x86_64/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US zh_TW"
MAKEOPTS="-j13"
PKGDIR="/mnt/sdb3/x86_64/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/sdb3/x86_64/portage/tmp"
PORTDIR="/mnt/sdb3/x86_64/portage/portage"
PORTDIR_OVERLAY="/mnt/sdb3/x86_64/portage/overlay/desktop-effects /mnt/sdb3/x86_64/portage/overlay/sunrise /mnt/sdb3/x86_64/portage/overlay/java-overlay /mnt/sdb3/x86_64/portage/overlay-js"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 16bit-indices 3ds 3m 64bit 7zip X X509 Xaw3d a52 aac ace acl acpi additions admin administrator adns aften aim alias aliaschain alisp allegro alsa amarok amd amd64 amr amrnb amrwb animgif ao apache2 applet aqua_theme ar archive ares artworkextra aspnet aspnet2 aspnetedit async asyncns athena atmo audacious audiofile audit auth authfile auto-completion autocreate autoipd automount autoreplace autosieve autostart avahi avalon-framework avalon-logkit avfs avg background backtrace bash-completion bbdb bcmath bcp bdf berkdb bgpclassless bidi big-iron big-tables bigpatch binary-drivers bind-mysql bittorrent bjam bl blas blender-game bonjour bookmarks boost branding bsf builder bzip2 c++ c3p0 cairo cal3d canna caps carbone_theme catalogs cblas ccache cdaudio cdda cddb cdio cdparanoia cdr cegui cg cgc cgi charconv chardet checkpath chm chroot ciao cisco cjk clearpasswd cli clock-screen clucene cluster cmdctrl cmdsubmenu cmkopt cnamefix color-console colordiff command-args commons-digester commonslogging commonsnet compress config-log config_wizard console consolekit contentcache contrib cpio cpudetection cpufreq cpulimit cpusets cracklib crypt cscope css csv ctrlmenu ctype cube cups curl curlwrappers cursors custom-cflags custom-cpuopts custom-optimization custom-smtp-reject cutterlimit cutterqueue cuttime cvs cvsgraph cxx d daap daemon dbi dbus dbx ddepgentry deskbar devhelp device-mapper devil dga dict directfb disassembler discard-path disk-partition diskio distribution divx djbfft djvu dlz dmi dmx dnd dnotify dnsdb dolby-record-switch dolbyinrec domainkeys double-precision dovecot-sasl dri dssi dts dv dvb dvbplayer dvbsetup dvd dvdarchive dvdchapjump dvdr dvdread dvi dvlfriendlyfnames dvlrecscriptaddon dvlvidprefer dxr3-audio-denoise dynamic dynamicplugin dynscaler eb eds elf elisp emboss emerald emoticon emovix enca encode enscript eolconv equalizer erandom evo exif expat experimental extensions extra extra-algorithms extraengine extras faillog fam fastbuild fastcgi fasttrack fat fax fbcon ffmpeg fftw file file-icons filter finger firefox fix-connected-rt flac flash flatfile flexresp flexresp2 fltk fluidsynth flup flv fmod font-server fontconfig foomaticdb force-cgi-redirect force-reg fortran fping fpx freetts freewnn ftp ftpd fuse fusion fwdonly fwdzone gadu gajim galago gcc-libffi gcrypt gd gdbm gdl gdm gecko gedit general genericjb geoip geos ggi gif gimp ginac git gkrellm glgd glib glibc-compat20 glibc-omitfp glitz gloox glut gmedia gml gmp gnet gnome gnome-keyring gnome-print gnomecanvas gnomecd gnuplot gnutls gpac gpg gpib grace graphtft graphviz gre gre-extreme-debug groupwise grub gsf gsl gstreamer gtk gtkhtml guidexml guile gzip h323 hal hardlinkcutter hash hddtemp hdf hdf5 hdri hesiod heterogeneous high-ints highlight highvolume hipe hlapi howl-compat hpn html htmlhandbook http httpd hub hvm hwmixer hybrid hybrid-auth hyperestraier hyperwave-api hyphenation ical icap-client icecast icons iconv icp icq icu id3 id3tag idea ident idle idled idn ieee1394 ifp ifsession ilbc image imagemagick imap imlib imlib2 imq inherit-graph inifile injection inkjar inline innkeywords innodb inntaggedhash inode inotify int64 interpreter intl iodbc ipalias ipf-transparent ipfilter iproute2 ipsec iptc iptv irc iris irixpasswd isdnlog iso14755 ithreads ivtv jabber jai java java-external java6 javacomm javamail javascript jbig jce jdepend jikes jimi jingle jmf jms jmx jni john jpeg jpeg2k jsapi jsch json jumpplay justify kaspersky kdeenablefinal kdtree kerberos key-screen keyscrub kpathsea kpoll krb4 l7filter lapack lash latex ldap ldap-sasl leim libburn libgcrypt libgda liblockfile libnotify libs libsamplerate libssh2 libtommath libvisual libwww libyaml lids liemikuutio lilo linux-smp-stats linuxkeys linuxthreads-tls lircsettings live livebuffer llvm lm_sensors lnbshare lnbsharing log4j login-watch logrotate logwatch long-double lua lyrics lzma lzo m17n-lib mad mainmenuhooks management masquerade math matroska matrox max-idx-128 maya-shaderlibrary mbox mcal md5sum mdb mdnsresponder-compat meanwhile memcache menu-plugin menubar menuorg messages metric mgetty mhash midi mikmod mime mimencode ming mixer mjpeg mmap mmx mmxext mng mnogosearch mod_irc mod_muc mod_pubsub mod_python mode-force mode-owner mode-paranoid modperl modplug module mongrel mounts-check mouse mozdevelop mozdom mozembed mozilla mozsha1 mp2 mp3 mp3rtp mp4 mp4live mpd mpe mpe-sdk mpeg mpeg2 mpi mpi_njtree mplayer msn mtp mudflap muine mule multilib multipath multipleip multiprocess multiuser munin-apache munin-dhcp munin-irc munin-squid munin-surfboard musepack music musicbrainz mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nano-syntax nas nat nautilus ncap2 ncurses neXt nemesi neon net netbeans netboot netcdf netjack netpbm network network-cron networking new-clx new-interface new-login new-reg-alloc nextaw nfconntrack nforce2 nfs nids nis njb nls nntp nodrm normalize normalizemime nptl nptlonly nsplugin nspr nss ntfs ntlm ntp numarray numeric nut nuv nvidia nxclient objc objc++ objc-gc ode offensive office ofx ogdi ogg openal opendoc openexr opengl openid openmp openssl opensslcrypt openstreetmap opera oro oscar osdmaxitems otr ots pae pager pam pam_nuauth pango parse-clocks paste64 patch patented pcap pcapnav pch pcntl pcre pcsc-lite pdf pdo perfprofiling perl pf-transparent php physfs pidgin pike pinplugin pipe pixmaps pkcs11 plaintext player plib plotutils plugins pmu png pnm policykit polling pop3d portaudio posix postfix postgis postproc postscript ppds pppd prediction prelude pri prime print priority procmail proj projectx ps pstricks pulseaudio pvfs2 pvr pyste python pyx pyzord q32 qos qq query-browser quicktime quotas radio rar raw rc5 rdesktop react readline realmedia recode reflection regex regexp remix remote replaygain replication replytolist resolvconf resolver rewrite rfc2307 rfc822 rfkill rhythmbox rle romio roundrobin rpc rplay rpm rrdcgi rss rtc rtsp ruby samba sasl scintilla screen script scripting sdl sdl-image sdl-sound sdlaudio seamless-hbars search semanticfix server servletapi session setup setup-plugin sftp sge shaper sharedext sharedmem shorten shout sieve silc silvercity simplexml sitemisc skins slang slp smi smp smpeg sms smtp smux sndfile snortsam soap sockets socks5 softquota sortrecords sound soundex soundtouch sourcecaps sourceview sox speech speedo speex spell spf spl spoof-source sqlite sqlite3 srp srt srv sse sse2 ssl ssse3 startup-notification stats stlport stream stroke submenu subtitles subversion suexec suhosin suidcheck svg svgz svk svm svn-mirror svnserve swat sylpheed syncearly sysfs syslog system-libvncserver sysvipc szip t1lib taglib tcl tcpd teletext tetex tex text tftp tga tgif themes theora thesaurus threads threadsafe threadsonly thumbnail thunderbird tidy tiff timercmd timerinfo timestats timidity tk tokenizer toolbar toolkit-scroll-bars tools tordns tos totem trace transcode transparent-proxy trash-plugin trayicon truetype tse3 tta tv_check tv_combiner tv_pick_cgi twolame type1 ucs4 ui underscores unicode unzip urandom usb userfiles userlocales utils uudeview uuencode v4l v4l2 validinput vcd vcdx vda vdr verse vhosts video videos vim vim-pager vim-syntax vim-with-x vinum visual visualization vlm vnc voice volctrl vorbis vorbis-psy vroot wareagleicon wav wavpack wddx weather web webdav webinstall webinterface wifi winbind wireshark withsamplescripts wma wmf wmp wordexp workbench wxwindows x11vnc x264 xalan xanim xattr xcb xcf xcomposite xemacs xext xforms xft xgetdefault xhtml xim xine xinetd xiph xml xmldoclet xmlreader xmlrpc xmlwriter xmp xorg xosd xpm xrandr xrender xscreensaver xsettings xsl xslt xspf xtended xterm xulrunner xv xvid xvmc yaepg yahoo yaz yp yv12 zephyr ziffy zip zlib zoran zrtp zsh-completion zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh_TW" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-08-12 05:58:28 UTC
I do not believe we are supporting building stuff with jikes/kaffe anymore. So this will likely be closed as won't fix.
Comment 2 junk_siu 2008-08-13 07:19:40 UTC
Well, actually all I want is eclipse to play/learn some java.

If eclipse can use sun jdk vm, I will be even happier. But the current ebuild/dependency pull in lots of stuff, including kaffe, I don't understand (since I am complete newbi in java).
Comment 3 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-08-13 22:31:07 UTC
Something is off on your system or in env. Jikes and kaffe should not be pulled in and used at all. I would drop jikes use flag, update world, and see if the problem remains.

This is not a direct dependency, so something enabled, emerged, or some change in system settings is causing it to pull in an use kaffe vs another jdk/javac
Comment 4 junk_siu 2008-08-14 04:45:29 UTC
I think I located my problem as follow:
(1) I has java-overlay
(2) I disabled USE flag java5

A little detail as follow:
------ With java-overlay and "-java5", kaffe is being pulled in:

sudo emerge -avt dev-util/eclipse-sdk

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] dev-util/eclipse-sdk-3.4-r3  USE="java6 -doc -source" 0 kB [1]
[ebuild  NS   ]  dev-java/junit-4.4-r1 [3.8.2-r1] USE="-doc -examples -source -test" 0 kB 
[ebuild  N    ]   dev-java/hamcrest-core-1.1  USE="-source" 0 kB 
[ebuild  N    ]    dev-java/jarjar-0.9  USE="-doc -source -test" 0 kB 
[ebuild  N    ]     dev-java/gnu-regexp-1.1.4-r2  USE="-doc -source" 0 kB 
[ebuild  N    ]     dev-java/java-getopt-1.0.13  USE="-doc -source" 0 kB 
[ebuild  N    ]     dev-java/asm-2.0-r1  USE="-doc -source" 0 kB 
[ebuild  N    ]    dev-java/qdox-1.6.3  USE="-doc -source" 0 kB 
[ebuild  NS   ]  dev-java/tomcat-servlet-api-5.5.26 [4.1.36, 6.0.18] USE="-doc -java5 -source" 0 kB 
[ebuild  NS   ]   virtual/jdk-1.4.2-r1 [1.5.0, 1.6.0-r1] 0 kB [1]
[ebuild  N    ]    dev-java/kaffe-1.1.7-r4  USE="gmp gtk nls -alsa -esd" 0 kB 
[ebuild  N    ]     dev-java/jikes-1.22-r13  0 kB 
[ebuild  N    ]  dev-java/lucene-analyzers-1.9.1-r1  USE="-source" 0 kB 
[ebuild  N    ]  dev-java/asm-3.1  USE="-doc -source" 670 kB 
[ebuild  N    ]  dev-java/sat4j-pseudo-2.0.1  USE="-doc -source" 184 kB [1]
[ebuild  N    ]  dev-java/ant-eclipse-ecj-3.4  0 kB [1]
[ebuild  N    ]  dev-java/lucene-1.9.1  USE="-doc -source -test" 0 kB 
[ebuild  N    ]  dev-java/commons-el-1.0-r2  USE="-source" 0 kB 
[ebuild  N    ]  dev-java/cldc-api-1.1  0 kB 
[nomerge      ] dev-java/asm-2.0-r1  USE="-doc -source" 
[ebuild  N    ]  dev-java/ant-owanttask-1.1-r12  0 kB 
[nomerge      ] dev-java/sat4j-pseudo-2.0.1  USE="-doc -source" [1]
[ebuild  N    ]  dev-java/sat4j-core-2.0.1  USE="-doc -source" 344 kB [1]

Total: 21 packages (18 new, 3 in new slots), Size of downloads: 1,197 kB
Portage tree and overlays:
 [0] /mnt/sdb3/x86_64/portage/portage
 [1] /mnt/sdb3/x86_64/portage/overlay/java-overlay

Would you like to merge these packages? [Yes/No] n

Quitting.

------ No java-overlay, but with "-java5", kaffe is gone but come in the blackdown-jdk:

sudo emerge -avt dev-util/eclipse-sdk

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] dev-util/eclipse-sdk-3.4-r2  USE="java6 -doc" 0 kB 
[ebuild  NS   ]  dev-java/junit-4.4-r1 [3.8.2-r1] USE="-doc -examples -source -test" 0 kB 
[ebuild  N    ]   dev-java/hamcrest-core-1.1  USE="-source" 0 kB 
[ebuild  N    ]    dev-java/jarjar-0.9  USE="-doc -source -test" 0 kB 
[ebuild  N    ]     dev-java/asm-2.0-r1  USE="-doc -source" 0 kB 
[ebuild  N    ]      dev-java/ant-owanttask-1.1-r12  0 kB 
[ebuild  N    ]     dev-java/gnu-regexp-1.1.4-r2  USE="-doc -source" 0 kB 
[ebuild  N    ]     dev-java/java-getopt-1.0.13  USE="-doc -source" 0 kB 
[ebuild  N    ]    dev-java/qdox-1.6.3  USE="-doc -source" 0 kB 
[ebuild  NS   ]  dev-java/tomcat-servlet-api-5.5.26 [4.1.36, 6.0.18] USE="-doc -java5 -source" 0 kB 
[ebuild  NS   ]   virtual/jdk-1.4.2 [1.5.0, 1.6.0-r1] 0 kB 
[ebuild  N    ]  dev-java/lucene-analyzers-1.9.1-r1  USE="-source" 0 kB 
[ebuild  N    ]  dev-java/commons-el-1.0-r2  USE="-source" 0 kB 
[ebuild  N    ]  dev-java/ant-eclipse-ecj-3.4  0 kB 
[ebuild  N    ]  dev-java/lucene-1.9.1  USE="-doc -source -test" 0 kB 
[ebuild  N    ]  dev-java/cldc-api-1.1  0 kB 
[nomerge      ] dev-java/tomcat-servlet-api-5.5.26 [4.1.36, 6.0.18] USE="-doc -java5 -source" 
[ebuild  N    ]  dev-java/blackdown-jdk-1.4.2.03-r16  USE="X alsa -doc -examples (-nsplugin) -odbc" 33,201 kB 

Total: 17 packages (14 new, 3 in new slots), Size of downloads: 33,201 kB

Would you like to merge these packages? [Yes/No] n

Quitting.

--- No java-overlay, with "java5" enabled, much cleaner dep-tree:

sudo emerge -avt dev-util/eclipse-sdk

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] dev-util/eclipse-sdk-3.4-r2  USE="java6 -doc" 0 kB 
[ebuild  NS   ]  dev-java/junit-4.4-r1 [3.8.2-r1] USE="-doc -examples -source -test" 0 kB 
[ebuild  N    ]   dev-java/hamcrest-core-1.1  USE="-source" 0 kB 
[ebuild  N    ]    dev-java/jarjar-0.9  USE="-doc -source -test" 0 kB 
[ebuild  N    ]     dev-java/asm-2.0-r1  USE="-doc -source" 0 kB 
[ebuild  N    ]      dev-java/ant-owanttask-1.1-r12  0 kB 
[ebuild  N    ]     dev-java/gnu-regexp-1.1.4-r2  USE="-doc -source" 0 kB 
[ebuild  N    ]     dev-java/java-getopt-1.0.13  USE="-doc -source" 0 kB 
[ebuild  N    ]    dev-java/qdox-1.6.3  USE="-doc -source" 0 kB 
[ebuild  N    ]  dev-java/lucene-analyzers-1.9.1-r1  USE="-source" 0 kB 
[ebuild  NS   ]  dev-java/tomcat-servlet-api-5.5.26 [4.1.36, 6.0.18] USE="java5 -doc -source" 0 kB 
[ebuild  N    ]  dev-java/commons-el-1.0-r2  USE="-source" 0 kB 
[ebuild  N    ]  dev-java/ant-eclipse-ecj-3.4  0 kB 
[ebuild  N    ]  dev-java/lucene-1.9.1  USE="-doc -source -test" 0 kB 
[ebuild  N    ]  dev-java/cldc-api-1.1  0 kB 

Total: 15 packages (13 new, 2 in new slots), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

-------

With the above result, I have to say it is my own fault, and not a bug in the portage repository. I will closed the bug as "INVALID".

Also have to thank  William L. Thomson Jr. for helping in this case.
Comment 5 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-08-14 05:23:10 UTC
Looks like the 1.4 virtual in the java-overlay is pulling in and using kaffe. I will see about correcting that.
Comment 6 Andrew John Hughes 2008-08-15 22:37:45 UTC
This is still a bug, given that the kaffe jdk is listed as a 1.4 alternative but doesn't actually work when people use it.

Kaffe/GNU Classpath is capable of building Eclipse SDK so this is some issue with the Gentoo JDK setup.
Comment 7 junk_siu 2008-08-16 04:44:20 UTC
Maybe my comment#4 is not clear due to the length.

- "kaffe" is pulled in only when I use java-overlay, and failed
So this seems to do with overlay.

- "blackdown" is pulled in when I removed java-overlay, but have USE flag java5 disabled. This one I did not test as I don't want another java vm.

- Finally, with "java5" enabled, no java-overlay, eclipse-sdk emerge with dependency correctly and working.

So I am not sure if this bug should stay, or re-open with modified title to indicate it is java-overlay related.
Comment 8 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-08-16 04:47:10 UTC
The problem is not in the overlay, but with kaffe. However changes to a virtual in the java-overlay exposed this problem. That had yet to be run into either out of lack of user interest in kaffe, and/or lack of interest by gentoo java devs :)

Bug can stay closed, ideally a new one would be opened on kaffe. But we could change summary on this to be a bug for kaffe. If anyone cares or will do anything about kaffe's issues ;)