Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51953 - eclipse 3 crashes on startup, complains of not finding framework
Summary: eclipse 3 crashes on startup, complains of not finding framework
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-24 15:56 UTC by Joseph Booker
Modified: 2004-05-26 15:51 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 Joseph Booker 2004-05-24 15:56:00 UTC
AFter emerging eclipse-sdk-3.0.0_pre8-r2 (after adding it to packages.unmask of course), it properly installs itself and everything, how ever, after runing it i get the same error about checking a file in .eclipse for the error, this is that file:

[05:47:14][tty1][joe@Athena joe]$ cat .eclipse/configuration/1085438689802.log
!SESSION ----------------------------------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 May 24, 2004 17:44:50.130
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
        at org.eclipse.core.launcher.Main.getBootPath(Main.java:425)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:256)
        at org.eclipse.core.launcher.Main.run(Main.java:692)
        at org.eclipse.core.launcher.Main.main(Main.java:676)
 
I tried looking in the cvs respitories at http://dev.eclipse.org/viewcvs/index.cgi but org.eclipse.core.launcher wasn't there

this bug should be a blocker or critical, but seeing that the package was hard masked i suppose it isn't that big a deal currently

Reproducible: Always
Steps to Reproduce:
1.run eclipse-3

Actual Results:  
it crashes on the error

Expected Results:  
it should run

[05:48:19][tty1][joe@Athena joe]$ emerge info
Portage 2.0.50-r6 (hardened-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.6-love5)
=================================================================
System uname: 2.6.6-love5 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.15
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mfpmath=sse,387 -msse -mmmx -O3 -pipe
-fomit-frame-pointer -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mfpmath=sse,387 -msse -mmmx -O3 -pipe
-fomit-frame-pointer -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distcc loadpolicy sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aalib aavm alsa apache2 arts autofs berkdb bonobo cdr cgi clisp crypt
curl dga directfb distribution dnd doc dvd emacs escreen esd etwin evo ext-png
ext-zlib faad fbcon firebird flash gb gcl gd gd-external gdbm gif ginac glut
gmttria gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile hardened i8x0 imap
imlib imlib2 java javascript jikes jpeg junit kde ladcca lcms ldap leim libdsk
libgda libwww lufsusermount mdb mmx mozcalendar mozinterfaceinfo moznocompose
moznomail mozp3p mozsvg mozxmlterm mpeg msn mysql nas ncurses nls nocd nptl oav
odbc offensive oggvorbis opengl oss pam perl php pic pie postgres ppds python qt
readline regexp rplay samba sdl slang sse ssl stroke svga tcltk tcpd tetex tiff
truetype unicode usb videos vim-with-x wmf wxwin wxwindows x86 xchattext xface
xml xml2 xmms xosd zlib"


[05:53:52][tty1][joe@Athena joe]$ etcat -u eclipse-sdk
[ Colour Code : set unset ]
[ Legend   : (U) Col 1 - Current USE flags        ]
[          : (I) Col 2 - Installed With USE flags ]
 
 U I [ Found these USE variables in : dev-util/eclipse-sdk-3.0.0_pre8-r2 ]
 + + gtk     : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 - - motif   : Adds motif support (x11-libs/openmotif x11-libs/lesstif)
 + + gnome   : Adds GNOME support
 + + kde     : Adds support for kde-base/kde (K Desktop Enviroment)
 - - mozilla : Adds mozilla support
 + + jikes   : Compile Java source code with jikes (faster)
Comment 1 Gary Pampara 2004-05-24 22:59:18 UTC
I too have the same error as above
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-05-25 15:01:45 UTC
Which JVM do you guys use? 

Any chance you could try rebuilding it with USE="-jikes". I've had some trouble with jikes that I'm trying to track down.
Comment 3 Joseph Booker 2004-05-25 15:07:20 UTC
[05:05:55][tty1][joe@Athena joe]$ sudo java-config -v
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-01)
Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)

compiling without jikes now, i hope this works........
Comment 4 Gary Pampara 2004-05-25 22:57:49 UTC
I found the error with this ebuild. In the installation of eclipse, the binary etc are compiled correctly, however the "plugins" subdirectory and the "features" subdirectory are missing.

I did a manual compile and saw that the eclipse release does indeed create those 2 directories.

The ebuild doesn't seem to copy them to the right location (I don't think it even copies them at all)

I copied the directories into /usr/lib/eclipse-3 and then ran eclipse.

It started and all is well

I hope this helps

Cheers,
Gary
Comment 5 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-05-26 15:51:09 UTC
Fixed. Available for testing on x86 as dev-util/eclipse-sdk-3.0.0_pre8-r3.