Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198754 - eclipse-ecj can't be emerged
Summary: eclipse-ecj can't be emerged
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-10 23:30 UTC by Dave O'Connor
Modified: 2007-11-11 05:50 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 Dave O'Connor 2007-11-10 23:30:49 UTC
when I try to emerge eclipse-ecj I get an error.

doc@greyskull ~ $  /home/doc/.gentoo/java-config-2/current-user-vm/bin/java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)


Reproducible: Always

Actual Results:  
    [javac] error: error reading /opt/sun-jdk-1.6.0.03/lib/ct.sym; error in opening zip file
    [javac] [search path for source files: /var/tmp/portage/dev-java/eclipse-ecj-3.2/work/eclipse-ecj-3.2/src]
    [javac] [search path for class files: /opt/sun-jdk-1.6.0.03/jre/lib/resources.jar,/opt/sun-jdk-1.6.0.03/jre/lib/rt.jar,/opt/sun-jdk-1.6.0.03/jre/lib/sunrsasign.jar,/opt/sun-jdk-1.6.0.03/jre/lib/jsse.jar,/opt/sun-jdk-1.6.0.03/jre/lib/jce.jar,/opt/sun-jdk-1.6.0.03/jre/lib/charsets.jar,/opt/sun-jdk-1.6.0.03/jre/classes,/opt/sun-jdk-1.6.0.03/jre/lib/ext/dnsns.jar,/opt/sun-jdk-1.6.0.03/jre/lib/ext/sunpkcs11.jar,/opt/sun-jdk-1.6.0.03/jre/lib/ext/sunjce_provider.jar,/opt/sun-jdk-1.6.0.03/jre/lib/ext/localedata.jar,/var/tmp/portage/dev-java/eclipse-ecj-3.2/work/eclipse-ecj-3.2/compiler,/usr/share/ant-core/lib/ant-launcher.jar,/opt/sun-jdk-1.6.0.03/lib/tools.jar,/var/tmp/portage/dev-java/eclipse-ecj-3.2/work/eclipse-ecj-3.2,/usr/share/commons-logging/lib/commons-logging.jar,/usr/share/bsf-2.3/lib/bsf.jar,/usr/share/xml-commons-resolver/lib/xml-commons-resolver.jar,/usr/share/xerces-2/lib/xercesImpl.jar,/usr/share/ant-junit/lib/ant-junit.jar,/usr/share/jzlib/lib/jzlib.jar,/usr/share/ant-jsch/lib/ant-jsch.jar,/usr/share/ant-antlr/lib/ant-antlr.jar,/usr/share/ant-trax/lib/ant-trax.jar,/usr/share/ant-nodeps/lib/ant-nodeps.jar,/usr/share/xalan/lib/xalan.jar,/usr/share/xalan/lib/xercesImpl.jar,/usr/share/xalan/lib/xml-apis.jar,/usr/share/xalan/lib/serializer.jar,/usr/share/ant-commons-logging/lib/ant-commons-logging.jar,/usr/share/servletapi-2.3/lib/servlet.jar,/usr/share/xml-commons-external-1.3/lib/xml-apis.jar,/usr/share/junit/lib/junit.jar,/usr/share/ant-apache-regexp/lib/ant-apache-regexp.jar,/usr/share/ant-jmf/lib/ant-jmf.jar,/usr/share/ant-apache-resolver/lib/ant-apache-resolver.jar,/usr/share/antlr/lib/antlr.jar,/usr/share/jakarta-regexp-1.3/lib/jakarta-regexp.jar,/usr/share/ant-apache-log4j/lib/ant-apache-log4j.jar,/usr/share/bcel/lib/bcel.jar,/usr/share/ant-apache-bcel/lib/ant-apache-bcel.jar,/usr/share/javacup/lib/javacup.jar,/usr/share/ant-commons-net/lib/ant-commons-net.jar,/usr/share/jakarta-oro-2.0/lib/jakarta-oro.jar,/usr/share/jakarta-regexp-1.4/lib/jakarta-regexp.jar,/usr/share/commons-logging/lib/commons-logging-api.jar,/usr/share/ant-swing/lib/ant-swing.jar,/usr/share/ant-apache-oro/lib/ant-apache-oro.jar,/usr/share/jsch/lib/jsch.jar,/usr/share/log4j/lib/log4j.jar,/usr/share/commons-logging/lib/commons-logging-adapters.jar,/usr/share/commons-net/lib/commons-net.jar,/usr/share/jdepend/lib/jdepend.jar,/usr/share/ant-jdepend/lib/ant-jdepend.jar,/usr/share/ant-apache-bsf/lib/ant-apache-bsf.jar,/usr/share/ant-core/lib/ant.jar,/usr/share/ant-core/lib/xjavac.jar,/usr/share/ant-core/lib/ant-bootstrap.jar,/usr/share/ant-core/lib/xml-apis.jar,/usr/share/ant-core/lib/xercesImpl.jar,/usr/share/ant-core/lib/xalan.jar]
    [javac] Fatal Error: Unable to find package java.lang in classpath or bootclasspath

BUILD FAILED
/var/tmp/portage/dev-java/eclipse-ecj-3.2/work/eclipse-ecj-3.2/compilejdtcorewithjavac.xml:30: Compile failed; see the compiler error output for details.

Total time: 4 seconds
 * 
 * ERROR: dev-java/eclipse-ecj-3.2 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_compile
 *                ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                ebuild.sh, line   44:  Called src_compile
 *   eclipse-ecj-3.2.ebuild, line   34:  Called die
 * The specific snippet of code:
 *      ant -f compilejdtcorewithjavac.xml || die "Failed to bootstrap build with javac"
 *  The die message:
 *   Failed to bootstrap build with javac
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-java/eclipse-ecj-3.2/temp/build.log'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.6.0.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


Expected Results:  





doc@greyskull ~ $ sudo emerge --info
Portage 2.1.3.19 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Fri, 09 Nov 2007 12:46:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage"
USE="X a52 aac acpi alsa amd64 apache2 audiofile bacula-clientonly bash-completion bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt ctype cups curl curlwrapper dbus dri dts dvb dvd dvdr dvdread eds eeprom emboss encode exif fam ffmpeg flac flash foomaticdb fortran ftp gd gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv icq imap imlib innodb ipv6 isdnlog jabber java javascript jikes jpeg jpeg2k junit libnotify lirc lm_sensors lzw lzw-tiff mad mbox mcal midi mmie mng motif mozilla mp3 mpeg mudflap mysql ncurses netboot nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pcre pdf perl php png posix postgres pppd python quicktime readline reflection rt61pci ruby samba sdl session sharedmem shorten simplexml soap sockets speex spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vhosts videos vorbis wxwindows xine xml xml2 xmlrpc xorg xosd xpm xsl xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="kbd mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
======================================================
doc@greyskull ~ $ echo $JAVA_HOME
/home/doc/.gentoo/java-config-2/current-user-vm
========================================
doc@greyskull ~ $  /home/doc/.gentoo/java-config-2/current-user-vm/bin/java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
==================================================
/etc/portage/package.keywords

media-video/nvidia-glx ~amd64
media-video/nvidia-kernel ~amd64
x11-themes/slim-themes ~amd64

dev-php5/phpdbg ~amd64
dev-php/phpdbg-client ~amd64
#media-plugins/gst-plugins-taglib ~amd64

x11-misc/xinput ~amd64

x11-misc/gpasman ~amd64
#sys-kernel/gentoo-sources ~amd64
net-www/gnash ~amd64
dev-libs/nspr ~amd64

media-video/dvdstyler ~amd64
media-tv/mythtv ~amd64
x11-themes/mythtv-themes ~amd64
net-misc/wol ~amd64
media-video/nvclock ~amd64
app-misc/baobab ~amd64 

games-strategy/triplea ~amd64
dev-java/commons-httpclient ~amd64

dev-java/ant-core ~amd64
dev-java/ant-tasks ~amd64
dev-java/ant ~amd64
dev-java/ant-commons-net ~amd64
dev-java/ant-swing ~amd64
dev-java/ant-jmf ~amd64
dev-java/ant-apache-resolver ~amd64
dev-java/ant-jsch ~amd64
dev-java/ant-apache-bcel ~amd64
dev-java/ant-nodeps ~amd64
dev-java/ant-junit ~amd64
dev-java/ant-apache-oro ~amd64
dev-java/ant-antlr ~amd64
dev-java/ant-apache-log4j ~amd64
dev-java/ant-apache-regexp ~amd64
dev-java/jakarta-regexp ~amd64
dev-java/ant-apache-bsf ~amd64
#dev-java/bsf ~amd64
dev-java/ant-commons-logging ~amd64 
dev-java/ant-trax ~amd64
dev-java/ant-jdepend ~amd64

#linphone stuff
net-voip/wengophone-bin ~amd64
media-tv/ivtv ~amd64
net-misc/kphone ~amd64
net-voip/linphone ~amd64
net-libs/libosip ~amd64
media-libs/libtheora ~amd64

media-gfx/f-spot ~amd64

dev-java/java-config ~amd64
#dev-java/java-config-wrapper ~amd64
dev-java/javatoolkit ~amd64
=dev-java/sun-jdk-1.4* ~amd64
=dev-java/sun-jdk-1.5* ~amd64
=dev-java/ibm-jdk-bin-1.4* ~amd64
=dev-java/ibm-jdk-bin-1.5* ~amd64
=dev-java/jrockit-jdk-bin-1.4* ~amd64
=dev-java/jrockit-jdk-bin-1.5* ~amd64
=dev-java/blackdown-jdk-1.4* ~amd64
dev-java/kaffe ~amd64
dev-php5/xdebug ~amd64
dev-php/xdebug-client ~amd64
dev-util/valkyrie ~amd64

net-wireless/ieee80211 ~amd64
net-wireless/rt2x00 ~amd64
net-wireless/wifi-radar ~amd64

=dev-java/sun-jre-bin-1.4* ~amd64
=dev-java/sun-jre-bin-1.5* ~amd64
=dev-java/ibm-jre-bin-1.4* ~amd64
=dev-java/blackdown-jre-1.4* ~amd64

#dev-cpp/gnome-vfsmm ~amd64

virtual/jdk ~amd64
virtual/jre ~amd64
dev-java/sun-jdk ~amd64

dev-java/jikes ~amd64

dev-java/lucene ~amd64
dev-util/subversion ~amd64
dev-util/eclipse-sdk ~amd64
dev-util/visual-regexp ~amd64

#gkrellm
x11-plugins/gkacpi ~amd64
x11-plugins/gkrellm-gnome ~amd64
x11-plugins/gkrellm-sensors ~amd64

app-forensics/magicrescue ~amd64
#tomcat
dev-java/sun-javamail ~amd64
dev-java/struts ~amd64
dev-java/commons-validator ~amd64
#dev-java/mx4j ~amd64
dev-java/mx4j-core ~amd64
dev-java/hessian ~amd64
dev-java/caucho-services ~amd64
dev-java/burlap ~amd64
dev-java/gnu-javamail ~amd64
dev-java/gnu-classpath-inetlib ~amd64
dev-java/jessie ~amd64
dev-java/commons-digester ~amd64
#dev-java/jaxen ~amd64
dev-java/sun-jaf ~amd64
dev-java/glassfish-servlet-api ~amd64

dev-db/dbdesigner ~amd64

games-simulation/dangerdeep ~amd64

app-backup/pybackpack~amd64

x11-plugins/gkrellmms ~amd64

sys-block/gparted ~amd64
dev-db/pgadmin3 ~amd64 
#gimp
media-gfx/exiv2 ~amd64 
media-gfx/ufraw ~amd64
media-libs/libexif ~amd64 

media-libs/win32codecs ~amd64
net-www/nspluginwrapper ~amd64

app-mobilephone/moto4lin ~amd64

app-backup/bacula ~amd64

x11-misc/grsync ~amd64

games-strategy/widelands ~amd64
games-strategy/lgeneral ~amd64
games-fps/sauerbraten ~amd64
app-misc/lirc ~amd64
Comment 1 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-11-11 05:50:33 UTC
Local problems with jdk install, closing as invalid