I can't build eclipse-sdk-3.5.1-r1 with default use flag for my system USE="gnome". If i compile with command line USE="-gnome", it compilled without any errors. Reproducible: Always Steps to Reproduce: emerge -va eclipse-sdk Actual Results: compile.libgnomeproxy: [exec] Building file: gnomeproxy.o [exec] Invoking: GCC C Compiler [exec] gcc -I/usr/include/gconf/2/ -I/usr/include/orbit-2.0/ -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include/ -I/opt/oracle-jdk-bin-1.7.0.21/include -I/opt/oracle-jdk-bin-1.7.0.21/include/linux -O0 -fPIC -g3 -Wall -c -fmessage-length=0 -m32 -o gnomeproxy.o ../gnomeproxy.c [exec] In file included from ../gnomeproxy.c:16:0: [exec] /usr/include/glib-2.0/glib/gslist.h:28:2: error: #error "Only <glib.h> can be included directly." [exec] make: *** [compile] Error 1 BUILD FAILED /var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/work/eclipse-build-R0_4_0/build.xml:379: The following error occurred while executing this line: /var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/work/eclipse-build-R0_4_0/build.xml:345: exec returned: 2 Total time: 1 minute 53 seconds * ERROR: dev-util/eclipse-sdk-3.5.1-r1 failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 4368: Called eant '-DbuildArch=x86' * environment, line 800: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" Expected Results: Build successfull GENTOO_VM=oracle-jdk-bin-1.7 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.21" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
Created attachment 349174 [details] Build log
Created attachment 349176 [details] Emerge info for eclipse
Created attachment 349178 [details] Environment
$ awk -vRS= '/eclipse-sdk/' /usr/portage/profiles/package.mask # Ralph Sennhauser <sera@gentoo.org> (18 Jul 2012) # Unmaintained, multiple vulnarabilities. #351626 # A more recent source build maintained by the community is available in the # seden overlay. A more recent binary is available in the java-overlay. <=dev-util/eclipse-sdk-3.5.1-r1 Please try one of the alternatives, we're trying to work on getting the last Eclipse SDK into the Portage tree; due to the Java team being undermanned, this may take some time. I've found the binary version to work fine, but have no idea how well the seden version performs. Good luck.
(In reply to Tom Wijsman (TomWij) from comment #4) I use eclipse-sdk compilled with USE="-gnome". It's work fine. Thanks for you advice.