Previous problems in compilation was about unresolved symbol for "xml.jar" package: solved with "r3". Now, I have other similar problems with other libraries. I try to set "CLASSPATH" to "/opt/ibm-jdk-bin-1.4.2/jre/lib" but with no results. Errors do not change with this settings. Reproducible: Always Steps to Reproduce: 1.emerge /usr/portage/dev-util/eclipse-sdk/eclipse-sdk-3.0.0-r3.ebuild 2. 3. Actual Results: root@icebook /home/detro # emerge /usr/portage/dev-util/eclipse-sdk/eclipse-sdk-3.0.0-r3.ebuild Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/eclipse-sdk-3.0.0-r3 to / >>> md5 src_uri ;-) eclipse-sourceBuild-srcIncluded-3.0.zip * This package is _highly_ experimental. * If you are using Eclipse 2.1.x for any serious work, stop now. * You cannot expect to be productive with this packaging of 3.0! * Detected JDK is sufficient to compile Eclipse (1.4.2 >= 1.4.2) mozilla * Compiling against net-www/mozilla gtk >>> Unpacking source... >>> Unpacking eclipse-sourceBuild-srcIncluded-3.0.zip to /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0 * Applying 03-motif-java1.5-build.patch... [ ok ] BUILD SUCCESSFUL Total time: 14 seconds BUILD SUCCESSFUL Total time: 12 seconds gnome >>> Source unpacked. * Building gtk+ SWT Building Linux launcher. Defaults: -os linux -arch ppc -ws gtk rm -f eclipse-gtk eclipse.o eclipseUtil.o eclipseShm.o eclipseGtk.o gcc -O -s -DMOZILLA_FIX -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"ppc\"" -DDEFAULT_WS="\"gtk\"" -I. -I.. `pkg-config --cflags gtk+-2.0` -c ../eclipse.c -o eclipse.o gcc -O -s -DMOZILLA_FIX -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"ppc\"" -DDEFAULT_WS="\"gtk\"" -I. -I.. `pkg-config --cflags gtk+-2.0` -c ../eclipseUtil.c -o eclipseUtil.o gcc -O -s -DMOZILLA_FIX -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"ppc\"" -DDEFAULT_WS="\"gtk\"" -I. -I.. `pkg-config --cflags gtk+-2.0` -c ../eclipseShm.c -o eclipseShm.o gcc -O -s -DMOZILLA_FIX -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"ppc\"" -DDEFAULT_WS="\"gtk\"" -I. -I.. `pkg-config --cflags gtk+-2.0` -c eclipseGtk.c -o eclipseGtk.o gcc -o eclipse-gtk eclipse.o eclipseUtil.o eclipseShm.o eclipseGtk.o `pkg-config ?libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0 gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic -c swt.c gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic -c callback.c gcc -shared -fpic -o libswt-gtk-3062.so swt.o callback.o gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags gtk+-2.0` -c os.c gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags gtk+-2.0` -c os_structs.c gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags gtk+-2.0` -c os_custom.c gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags gtk+-2.0` -c os_stats.c gcc -shared -fpic --export-dynamic -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/X11R6/lib -lXtst -o libswt-pi-gtk-3062.so swt.o os.o os_structs.o os_custom.o os_stats.o gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags atk gtk+-2.0` -c atk.c gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_structs.c gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_custom.c gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_stats.c gcc -shared -fpic --export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -o libswt-atk-gtk-3062.so swt.o atk.o atk_structs.o atk_custom.o atk_stats.o gnome * Building GNOME VFS support gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome.c gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome_structs.c gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome_stats.c gcc -shared -fpic -lpthread --export-dynamic -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -o libswt-gnome-gtk-3062.so swt.o gnome.o gnome_structs.o gnome_stats.o mozilla * Building Mozilla component g++ -O -fPIC -fno-rtti -Wall -I./ -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux -include /usr/lib/mozilla/include/mozilla-config.h -I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/string -I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include/embed_base -I/usr/lib/mozilla/include/gfx -c xpcom.cpp In file included from /usr/lib/mozilla/include/xpcom/nsIServiceManager.h:178, from /usr/lib/mozilla/include/xpcom/nsDirectoryServiceUtils.h:27, from /usr/lib/mozilla/include/xpcom/nsIFile.h:823, from /usr/lib/mozilla/include/xpcom/nsILocalFile.h:10, from /usr/lib/mozilla/include/embed_base/nsEmbedAPI.h:28, from xpcom.cpp:33: /usr/lib/mozilla/include/xpcom/nsIServiceManagerUtils.h:48: warning: `class nsGetServiceByCID' has virtual functions but non-virtual destructor /usr/lib/mozilla/include/xpcom/nsIServiceManagerUtils.h:81: warning: `class nsGetServiceByContractID' has virtual functions but non-virtual destructor /usr/lib/mozilla/include/xpcom/nsIServiceManagerUtils.h:114: warning: `class nsGetServiceFromCategory' has virtual functions but non-virtual destructor In file included from xpcom.cpp:37: /usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:45: warning: `class nsArrayEnumerator' only defines a private destructor and has no friends /usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:45: warning: `class nsArrayEnumerator' has virtual functions but non-virtual destructor /usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:72: warning: `class nsSingletonEnumerator' only defines a private destructor and has no friends /usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:72: warning: `class nsSingletonEnumerator' has virtual functions but non-virtual destructor g++ -shared -fpic -s -o libswt-mozilla-gtk-3062.so xpcom.o -L/usr/lib/mozilla -lgtkembedmoz -lxpcom * Building resources.core plugin gcc -fPIC -g -c -I/opt/ibm-jdk-bin-1.4.2/include -I/opt/ibm-jdk-bin-1.4.2/include/linux core.c -o core.o gcc -g -shared -Wl,-soname,libcore.so -o libcore_2_1_0b.so core.o -lc * Building GTK+ frontend -- see compilelog.txt for details [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [echo] Copying source from org.eclipse.swt project to folder /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src folder /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/temp.folder. [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:27: package java.awt does not exist [javac] import java.awt.Dimension; [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:28: package java.awt does not exist [javac] import java.awt.EventQueue; [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:29: package java.awt does not exist [javac] import java.awt.Canvas; [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:30: package java.awt does not exist [javac] import java.awt.Frame; [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:31: package java.awt.event does not exist [javac] import java.awt.event.ComponentAdapter; [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:32: package java.awt.event does not exist [javac] import java.awt.event.ComponentEvent; [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:53: cannot resolve symbol [javac] symbol : class Canvas [javac] location: class org.eclipse.swt.awt.SWT_AWT [javac] static native final long /*int*/ getAWTHandle (Canvas canvas); [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:106: cannot resolve symbol [javac] symbol : class Frame [javac] location: class org.eclipse.swt.awt.SWT_AWT [javac] public static Frame new_Frame (final Composite parent) { [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:197: cannot resolve symbol [javac] symbol : class Canvas [javac] location: class org.eclipse.swt.awt.SWT_AWT [javac] public static Shell new_Shell (final Display display, final Canvas parent) { [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:138: cannot resolve symbol [javac] symbol : class Frame [javac] location: class org.eclipse.swt.awt.SWT_AWT [javac] final Frame frame = (Frame) value; [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:138: cannot resolve symbol [javac] symbol : class Frame [javac] location: class org.eclipse.swt.awt.SWT_AWT [javac] final Frame frame = (Frame) value; [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:146: cannot resolve symbol [javac] symbol: variable EventQueue [javac] EventQueue.invokeLater(new Runnable () { [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:160: cannot resolve symbol [javac] symbol: variable EventQueue [javac] EventQueue.invokeLater(new Runnable () { [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:171: cannot resolve symbol [javac] symbol: variable EventQueue [javac] EventQueue.invokeLater(new Runnable () { [javac] ^ [javac] /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/src/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java:210: cannot resolve symbol [javac] symbol : class ComponentAdapter [javac] location: class org.eclipse.swt.awt.SWT_AWT [javac] parent.addComponentListener(new ComponentAdapter () { [javac] ^ [javac] 15 errors BUILD FAILED /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/build.xml:29: Following error occured while executing this line /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/build.xml:20: Following error occured while executing this line /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/features/org.eclipse.sdk/build.xml:35: Following error occured while executing this line /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/features/org.eclipse.sdk/build.xml:17: Following error occured while executing this line /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/features/org.eclipse.platform/build.xml:394: Following error occured while executing this line /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/features/org.eclipse.platform/build.xml:45: Following error occured while executing this line /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/build.xml:154: Following error occured while executing this line /var/tmp/portage/eclipse-sdk-3.0.0-r3/work/eclipse-sdk-3.0.0/plugins/org.eclipse.swt.gtk64/build.xml:43: Compile failed; see the compiler error output for details. Total time: 1 minute 5 seconds !!! ERROR: dev-util/eclipse-sdk-3.0.0-r3 failed. !!! Function src_compile, Line 270, Exitcode 1 !!! Failed to compile java code (gtk+) Expected Results: COMPILATION!!! As I speak to SEJO, I had not change any configuration file. I use simple java-config. I had noted that, on other machine, java-config set "CLASSPATH" for "sun-jdk", but not for CLASSPATH. It's normal.
Added graphics.jar to the classpath, which should solve the problem. Please emerge sync and remerge -r3.
OK, compiled without problems (only deprecated api use notice)... but does not run: after workspace selection, eclipse freeze on bootsplash. This is the same problem I had registered using x86 version with interface part recompiled for ppc: freezing on startup (after workspace selection, does not appeare notting).
Hmm. Strangeness. I only have an x86 to play with, but I'll see if I can't reproduce it on that. If not, I'll have to hand this over to SeJo for testing.
Nope. It works nicely both when compiled and when running on the IBM 1.4.2 JDK. It also works with other JDKs when compiled with the IBM one. I've not tested that it works with IBM when compiled with other JDKs, but I know it used to work three revisions ago. Try removing your ~/.eclipse directory, and restart it. It may be stumbling on some old settings or cache data. SeJo: Can you try to reproduce this?
No way. I have removed ".eclipse" and "workspace/.metadata" but nothing. After workspace selection, bootsplash remain for various seconds, then disappeare but not appeare nothing. :-( Reproducible? I don't know. I have no other ppc machine and my P3 is not usable.
I'll check this out as soon as my memory starts working again :-( saw today that one of my dimms isn't recognized anymore... As i'm not in the country i cannot promise to be able to look at it before next monday. btw eclipse does need 1 gig mem for compilation!!!!
I'm very sad for your dimms... call hospital ;-) Ok, I'm waiting for you next week. But, I have compiled Eclipse with 640mb of memory and, in the past, with also less. This problem it's very very strange for me. Possible I'm the only IBook user with this orrible//strange/bad problem? :-(
hey, you aren't the only one with the problem... it's is something that came up recently, i'm still looking if it's vm related or not (probably)... I should be able to get the book in hospital by tomorrow, but dunno how long it will take...
3.1_pre1 have the same problem: trashing and do not appeare nothing... sejo, help us ;-(
Heh, i will help you guys don't worry but be patient untill my powerbook is back from repair... then i'll have 1.5 gig ram helping you out :-) in the mean time, Detro, can you please append the output here? thank you
There is no output. No output on shell, no output on X. I wait... ;-) ps Excuse me, but I want to inform you that I had tested 3.1M1
and did you change your workspace when testing the older version (3.0.0)? because that might stop you from launching it.
No, I had no changed workspace. I must? ... ok, I try and come back here... ;-)
UP and running. Too slow, very too slow... but run. Why? I don't know. I had wait in every case: in this case 3.1 run. It's still running and I am afraid this is only for this time. I test and return here. Ah, I had deleted "workspace" and reselected at run time.
Slow. Eclipse-sdk-3.1_pre1 run on my iBook but SLOW. ~20 minutes... than appeare. Every pannel, option, menu I open, take a while... but after a long time, open. When Up, It works great, responce time is ok (if I reuse same components). There is no output on console.
closing the bug as it's all ok now.