# <prez@gentoo.org> (29 Aug 2002) # Does not build successfully in an ebuild (but builds just fine outside of one) # Needs more investigation as to why. #dev-java/sun-j2sdk To allow the ebuild to build, do: 1. echo "Red Hat Linux release 6.1" > /etc/redhat-release 2. add "LD_LIBRARY_PATH" to src_compile line 1: src_compile () { - unset CLASSPATH JAVA_HOME JAVAC + unset CLASSPATH JAVA_HOME JAVAC LD_LIBRARY_PATH 3. rm -f /etc/redhat-release
Forget that... The ebuild still fails: # assert(!(((ThreadShadow*)__the_thread__)->has_pending_exception()), "shouldn't be allocating with pending exception") # # Error ID: /var/tmp/portage/sun-j2sdk-1.4.0/work/j2sdk/hotspot/src/share/vm/memory/collectedHeap.inline.hpp, 174 # # Problematic Thread: prio=1 tid=0x0x8062628 nid=0x3c91 runnable # Current thread is 0x400 Dumping core ... make[4]: *** [/var/tmp/portage/sun-j2sdk-1.4.0/work/j2sdk/control/build/linux-i386/tmp/sun/java.net/net/obj_g/.class.headers.i386] Aborted make[4]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.0/work/j2sdk/j2se/make/java/net' make[3]: *** [debug] Error 2 make[3]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.0/work/j2sdk/j2se/make/java/net' make[2]: *** [all] Error 1 make[2]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.0/work/j2sdk/j2se/make/java' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.0/work/j2sdk/j2se/make' make: *** [j2se-build] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 12, Exitcode 2 !!! (no error message)