Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217388 - dev-java/jruby-1.2 (version bump)
Summary: dev-java/jruby-1.2 (version bump)
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:
Blocks: 237562
  Show dependency tree
 
Reported: 2008-04-12 12:33 UTC by Jochen Schalanda
Modified: 2009-05-23 08:06 UTC (History)
5 users (show)

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


Attachments
jruby-1.1.ebuild (jruby-1.1.ebuild,4.07 KB, text/plain)
2008-04-12 12:34 UTC, Jochen Schalanda
Details
files/jruby-1.1_launcher (jruby-1.1_launcher,958 bytes, text/plain)
2008-04-12 12:34 UTC, Jochen Schalanda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Schalanda 2008-04-12 12:33:21 UTC
JRuby is an 100% pure-Java implementation of the Ruby programming language.

Announcement: http://docs.codehaus.org/display/JRUBY/2008/04/05/JRuby+1.1+Released
Homepage: http://jruby.codehaus.org/
Comment 1 Jochen Schalanda 2008-04-12 12:34:05 UTC
Created attachment 149475 [details]
jruby-1.1.ebuild

Slightly modified ebuild.
Comment 2 Jochen Schalanda 2008-04-12 12:34:38 UTC
Created attachment 149476 [details]
files/jruby-1.1_launcher

Necessary script fragment for jruby launcher script.
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2008-04-15 16:52:22 UTC
My dev machine is currently unavailable for the immediate foreseable future. Can someone from Java team take this on?
Comment 4 Christian Axelsson 2008-06-25 12:47:45 UTC
1.1.2 is out
Comment 5 James Le Cuirot gentoo-dev 2008-07-29 23:10:42 UTC
1.1.3 is now in java-overlay.
Comment 6 Maciej Piechotka 2008-12-08 20:42:28 UTC
1.1.5 is out
Comment 7 Rajat Vig 2009-02-06 09:55:32 UTC
1.1.6 is out
Comment 8 Łukasz Damentko (RETIRED) gentoo-dev 2009-03-17 22:13:21 UTC
Moving to herd since nichoj left Gentoo.
Comment 9 James Le Cuirot gentoo-dev 2009-03-23 09:23:18 UTC
Just to let you guys know that I'm working on 1.2.0. It builds but it's having trouble with some tests and I'd like to see them pass.
Comment 10 James Le Cuirot gentoo-dev 2009-04-11 15:30:52 UTC
1.1.4 and 1.2.0 are now in java-overlay. I prepared 1.1.4 ages ago but only got the tests to work while working on 1.2.0. Thought I might as well add them both. Two tests fail on 1.2.0 but these are due to problems with the tests and not JRuby itself.
Comment 11 Alistair Bush (RETIRED) gentoo-dev 2009-04-12 21:27:52 UTC
(In reply to comment #10)
> 1.1.4 and 1.2.0 are now in java-overlay. I prepared 1.1.4 ages ago but only got
> the tests to work while working on 1.2.0. Thought I might as well add them
> both. Two tests fail on 1.2.0 but these are due to problems with the tests and
> not JRuby itself.
> 

Thanks for the work Chewi.  Two issues.

1)  1.2.0 (at least) is producing invalid bytecode

2) producing javadocs is throwing OutOfMemoryErrors.  Now these errors seem to be related to the GC so please see

http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html#par_gc.oom
as well trying -J-Xmx.  I will actually fix this once the bytecode is correct,  as I can reproduce it.

Comment 12 James Le Cuirot gentoo-dev 2009-04-18 23:12:35 UTC
I haven't committed yet but I've fixed the bytecode issue (I think!) and I've also fixed the broken tests. Someone had already reported the javadoc issue and the memory size was raised to 128MB but seemingly this wasn't enough. I've tried 192MB and that works. I'll give upstream a couple of days to respond.

http://jira.codehaus.org/browse/JRUBY-3208
Comment 13 James Le Cuirot gentoo-dev 2009-04-26 11:39:26 UTC
Gave up waiting and committed a fix in the overlay. I've patched the tests so that they work. I've also replaced 1.1.4 with 1.1.6. This is needed for the Eclipse RDT plugin. I've now keyworded these and the dependencies with ~x86.
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-22 23:21:14 UTC
This might get interesting for the Ruby team too.. I've tried it out on the current eclasses we got and I could start adding some sort of support for jruby on some ebuilds and see _how much_ of it would fail badly with jruby ;)

I'm interested because I want to make my own ruby code to work with it..
Comment 15 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-05-23 08:06:45 UTC
Moved to tree, many thanks.
Just a small advice, please use .tar.bz2 next time, and put comments in ebuilds with instructions how to create the distfiles. Shame on upstream, anyway.