Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263356 - dev-util/eclipse-sdk-3.2.1-r3 fails to build beacuse libawt.so is not found
Summary: dev-util/eclipse-sdk-3.2.1-r3 fails to build beacuse libawt.so is not found
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 10:26 UTC by simone
Modified: 2009-11-06 14:31 UTC (History)
1 user (show)

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 simone 2009-03-22 10:26:25 UTC
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
Comment 1 simone 2009-03-22 10:32:51 UTC
Ok, I've found the problem. The variable ${jvmarch} is not properly set. 
Comment 2 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2009-11-06 14:31:09 UTC
Closing, 3.2 not supported anymore.