Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10139 - Fix for dev-java/sun-j2sdk-1.4.0
Summary: Fix for dev-java/sun-j2sdk-1.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-03 11:22 UTC by Phil Brault
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
sun-j2sdk.tbz2 (sun-j2sdk.tbz2,8.88 KB, application/octet-stream)
2002-11-07 14:36 UTC, Stefan Jones (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Brault 2002-11-03 11:22:15 UTC
After working on the build process for almost 2 hours I successfully got the 
ebuild to work by solving the 2 bugs apparently associated with it.

1. issues with partitions lower than 1GB
2. issues with ALT_BOOTDIR not working.

I fixed the first bug by simply moving the portage tmp dir to another partition 
that was of 6GBs of space and that solved that issue. Next I copied this lib 
file "libstdc++-libc6.1-1.so.2" to the $JAVA_HOME/jre/lib/i386 folder 
to 'trick' it into thinking I had a gcc 2.x build. After that the ebuild worked 
beautifully.
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-11-03 19:11:12 UTC
/usr/lib/libstdc++-libc6.1-1.so.2 is provided by sys-libs/lib-compat-1.0-r2, so
I guess we need to depend on that and have the ebuild do the copying trick. I
guess this is PreZ's child, so I'm Cc-ing him. If he decides not to pick it up,
I'll see if I can't fix it.
Comment 2 Phil Brault 2002-11-04 15:59:02 UTC
I did more additional stress testing on the ebuild solution to make sure it
worked on 3 workstations. 2 of the 3 workstations had a sucessful j2sdk build
however on the 3rd machine just before the end of the src_install() process it
died. The error concerned a part of the make process in the j2ee folder I do not
have the snippet anymore ( lost it to a power outage doh! ) but it means the
ebuild works somewhat well. At least this is better results then it not working
at all.
Comment 3 Stefan Jones (RETIRED) gentoo-dev 2002-11-07 14:36:13 UTC
Created attachment 5456 [details]
sun-j2sdk.tbz2

This is a working java source ebuild, as long as you have 
* sun-jdk as your java compiler and interpreter 
* enough disk space ~ 1.5Gb

I have tested it with gcc-3.2 and glibc-2.3.1 ( glibc 2.2.5 will not be a
problem)

With this ebuild the mozilla java plugin works for me (the aim).

Included is the ebuild, and patches to enable it to compile with the most up to
date tools.

Stefan (The Cretin on IRC)
Comment 4 Stefan Jones (RETIRED) gentoo-dev 2002-11-08 18:23:13 UTC
Due to the lack of bug reports and positve feedback I guess the ebuild works,
closing the bug.