Eclipse-sdk fails to build with this message: * * ERROR: dev-util/eclipse-sdk-3.2.1-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4454: Called setup-jvm-opts * environment, line 4442: Called die * The specific snippet of code: * die "Could not find libawt.so native library"; * The die message: * Could not find libawt.so native library * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r3/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=kaffe CLASSPATH="" JAVA_HOME="/opt/kaffe-1.1.7" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info Looking at the ebuild I discovered that it usese this line to set the JAVA_LIB_DIR variable (that is used later to know where to look for libawt.so): JAVA_LIB_DIR="$(java-config --jdk-home)/jre/lib/${jvmarch}" On my system "java-config --jdk-home" returns "/usr/lib/icedtea6" while libawt.so is in "/opt/icedtea6-bin-1.4/jre/lib/amd64/" Reproducible: Always
Ok, I've found the problem. The variable ${jvmarch} is not properly set.
Closing, 3.2 not supported anymore.