Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7830 - sun-j2sdk-1.4.0.ebuild
Summary: sun-j2sdk-1.4.0.ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-12 07:00 UTC by Peter Ruskin
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Peter Ruskin 2002-09-12 07:00:08 UTC
# <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
Comment 1 Peter Ruskin 2002-09-12 09:57:18 UTC
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)