Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471280 - Fail build eclipse-sdk-3.5.1-r1 with USE flag "gnome"
Summary: Fail build eclipse-sdk-3.5.1-r1 with USE flag "gnome"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2013-05-25 22:51 UTC by Drag0n
Modified: 2013-05-28 09:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,286.08 KB, text/plain)
2013-05-25 22:52 UTC, Drag0n
Details
Emerge info for eclipse (eclipse_emerge_info.log,5.77 KB, text/plain)
2013-05-25 22:53 UTC, Drag0n
Details
Environment (environment,167.19 KB, text/plain)
2013-05-25 22:54 UTC, Drag0n
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Drag0n 2013-05-25 22:51:30 UTC
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"
Comment 1 Drag0n 2013-05-25 22:52:23 UTC
Created attachment 349174 [details]
Build log
Comment 2 Drag0n 2013-05-25 22:53:06 UTC
Created attachment 349176 [details]
Emerge info for eclipse
Comment 3 Drag0n 2013-05-25 22:54:04 UTC
Created attachment 349178 [details]
Environment
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-05-27 18:04:06 UTC
 $ 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.
Comment 5 Drag0n 2013-05-28 09:37:53 UTC
(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.