Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139221 - dev-java/jss-3.4 - compile using j2se 1.5
Summary: dev-java/jss-3.4 - compile using j2se 1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 119682
Blocks: 139225
  Show dependency tree
 
Reported: 2006-07-04 11:52 UTC by Alon Bar-Lev (RETIRED)
Modified: 2006-08-14 16:07 UTC (History)
1 user (show)

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


Attachments
jss-3.4-jdk15.patch (jss-3.4-jdk15.patch,1.70 KB, patch)
2006-07-04 11:53 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
jss-3.4-r1.ebuild (jss-3.4-r1.ebuild,2.10 KB, text/plain)
2006-07-23 20:18 UTC, Neil Katin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2006-07-04 11:52:38 UTC
A simple patch
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2006-07-04 11:53:18 UTC
Created attachment 90883 [details, diff]
jss-3.4-jdk15.patch
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2006-07-04 11:54:53 UTC
There was an opened bug for this bug#119682 but it was not fixed.
Comment 3 Neil Katin 2006-07-23 20:18:24 UTC
Created attachment 92590 [details]
jss-3.4-r1.ebuild


generation-2 ebuild for jss
Comment 4 Neil Katin 2006-07-23 20:24:40 UTC
Your patch would have worked for me, but jss is broken when emerging
on amd64.  At least not when using sun-jdk (I now see that ibm has
a 1.4 compatible amd64 compiler; I probably should have used that
one...).

The underlying cause is that jss links a native executable (64 bit on
amd64), and if your jdk is 32bit you are out of luck - they can't be
linked together.

Anyway, I attached a ebuild that uses your patch and is gen2 compatible,
so jss can be linked with a 64 bit java on amd64 machines.

Finally, jss-3.4 is a bit dated: there is now jss-3.7.  However, it seems
that mozilla doesn't package the source any more - they expect folks to
pull the source from CVS with a JSS_3_7_RTM tag.  Retrofitting the
ebuild to pull from CVS was a bit beyond my limited ebuild skills.
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-08-14 16:07:25 UTC
jss-3.4-r1 is migrated to generation 2, forces -target and -source to 1.4.