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

Bug 112057

Summary: eclipse-sdk-3.1.1 fails
Product: Gentoo Linux Reporter: Patrizio Bassi <patrizio.bassi>
Component: [OLD] DevelopmentAssignee: Development Tools Team <dev-tools>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrizio Bassi 2005-11-10 02:06:32 UTC
* Checking for sufficient physical RAM 
 
 * To build Eclipse, at least 768MB of RAM is recommended. 
 * Your machine has less RAM. Continuing anyway. If the build 
 * stops with an error about invalid memory, increase your swap. 
 
 * Checking for bad CFLAGS 
 * Found offending option -fomit-frame-pointer in your CFLAGS 
 
 * One or more potentially gruesome CFLAGS detected. When you run into trouble, 
 * please edit /etc/make.conf and remove all offending flags, then recompile 
 * Eclipse and all its dependencies before submitting a bug report. 
 
 * In particular, gtk+ is extremely sensitive to which which flags it was 
 * compiled with. 
 
 * Tip: use equery depgraph "=eclipse-sdk-3.1.1" to list all dependencies. 
 
/usr/portage/eclass/java-utils.eclass: line 26: [: too many arguments 
/usr/portage/eclass/java-utils.eclass: line 90: [: too many arguments 
/usr/portage/eclass/java-utils.eclass: line 93: [: too many arguments 
Detected a JDK < 1.4.2 
 * This package requires a Java VM version >= 1 4 2 
 * Please use java-config -S to set the correct one 
 
!!! ERROR: dev-util/eclipse-sdk-3.1.1 failed. 
!!! Function java-utils_ensure-vm-version-ge, Line 73, Exitcode 0 
!!! Active Java VM too old 
!!! If you need support, post the topmost build error, NOT this status message. 
 
 
 
java-config -L 
[javacc] "JavaCC 3.2" (/etc/env.d/java/22javacc) * 
[sun-jdk-1.5.0.05] "Sun JDK 1.5.0.05" (/etc/env.d/java/20sun-jdk-1.5.0.05) * 
[sun-jre-bin-1.5.0.05] "Sun JRE 1.5.0.05" (/etc/env.d/java/20sun-jre-bin-1.5.0.05) 
root@blight patrizio # java-config -S sun-jdk-1.5.0.05 
System Virtual Machine set 
You may want to update your enviroment by running: 
        "/usr/sbin/env-update && source /etc/profile" 
root@blight patrizio # /usr/sbin/env-update && source /etc/profile 
>>> Regenerating /etc/ld.so.cache... 
 
 
emerge info 
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-git4 i686) 
================================================================= 
System uname: 2.6.14-git4 i686 Pentium III (Katmai) 
Gentoo Base System version 1.12.0_pre10 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
ccache version 2.4 [disabled] 
dev-lang/python:     2.4.2 
sys-apps/sandbox:    1.2.13 
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-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /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/bind /var/qmail/control /var/run/dspam" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.ngi.it 
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" 
LANG="it_IT@euro" 
LC_ALL="it_IT@euro" 
LINGUAS="it" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/mnt/Dati/Gentoo/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns alsa apache2 apm 
arts audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bootsplash browserplugin 
bzip2 cairo caps cdb cdda cddb cdio cdparanoia cdr cgi chroot clamav cli client codecs crypt 
css cups curl dba dbus dga dhcp directfb djbfft dri edl eds emboss encode ethereal exif expat 
extraengine faac faad fam fbcon ffmpeg fftw flac flash foomaticdb foreign-package fortran freetds 
gcj gd gdbm geometry ggi gif gimp gimpprint glut glx gmp gnokii gnome gnutls gphoto2 gpm 
graphviz gs gstreamer gtk gtk2 gtkhtml guile hal iconv idea idn imagemagick imap imlib innodb 
irda irmc jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kerberos 
kqemu lcd lcms ldap libcaca libclamav libg++ libgda libusb libwww lirc live lm_sensors lua lzo mad 
mailwrapper matroska md5sum mdb mhash mikmod mime ming mmx mmx2 mmxext mng mono 
motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer 
mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui 
nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin oav odbc ogg oggvorbis 
opengl operanom2 oss pam pcre pda pdf pdflib pdo pear perl php png pnp postgres ppds 
pthreads python qemu-fast qhull qt quicktime quotas readline real recode rrdtool rtc ruby samba 
scanner sdl server session sftplogging sguil slang slp snortsam soap sockets socks5 softmmu 
softquota spamassassin speex spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga 
theora tiff tokenizer truetype truetype-fonts trusted type1-fonts udev usb userlocales vidix vorbis 
win32codecs wmf wsconvert wxwindows xanim xchatdccserver xchattext xine xinerama xml 
xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvm xvmc zlib linguas_it userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2005-11-10 04:19:56 UTC
The problem depends on JavaCC. Portage recognizes is as <1.4.2 because the 
version number of JavaCC has just two numbers (3.2 in this case) 
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2005-11-11 15:21:21 UTC
it shouldn't list javacc

do you have a really old version of java-config?

try updating it
Comment 3 Patrizio Bassi 2005-11-12 00:08:19 UTC
java-config --version 
Gentoo java-config version 1.2.11 
 
 
should be lastest 
Comment 4 Patrizio Bassi 2006-02-01 05:32:05 UTC
i recompiled this yesterday, seems fixed.

i'm closing, reopen if you think it's not fixed