JRuby / Fedora woes
I spent a little while looking into the current state of JRuby in Fedora. It turns out it's not so good, the JRuby package itself has been orphaned and is no longer available starting in F12, as well as several of its Java dependencies, not to mention recent versions of JRuby have added several more dependencies which have yet to be packaged. All in all the following software needs to be packaged and accepted into Fedora before JRuby can be:
- jffi
- nailgun
- jruby-embed
- yydebug
- yecht
- bytelist (orphaned)
- constantine (orphaned)
- jcodings (orphaned)
- joni (orphaned)
- emma (already in Fedora, a dependency just needs to be added to the JRuby rpm spec)
- jvyamlb (is no longer a JRuby dependency and can be removed from the jRuby rpm spec)
Of course JRuby itself ships w/ these jar's included, but due to the Fedora Java Packaging Guidelines concerning this matter, jars cannot ship in any Fedora packages and must be standalone / included in the RPM dependencies
So it seems that a JRuby package in Fedora will be tricky for the time being until these dependencies are resolved, I would like to devote some cycles to this at some point, but given the current state of things, it'll take alot longer than I currently have. Its a great project for anyone thats interested, even those w/ no Fedora packaging experience as there is alot of work already done that you can leverage. At some point I might just package the latest jRuby release up (jars included) and push it to my yum.morsi.org yum repository for convenience sake, but obviously this would be suboptimal to getting JRuby in Fedora.
- mmorsi's blog
- Login to post comments






jruby packaging
Hi; I depended on jruby quite heavily and did not in fact notice it was orphaned. If you intend to put it back in and need any help (packaging the dependencies, etc.) feel free to ask me!
No bundled JARs
Actually, I don't see any bundled JARs in the Jython package:
$ fedora-cvs jython
...
$ cd jython/devel
$ make prep
...
$ cd jython-svn-Release_2_2_1/
$ find -name \*.jar
./Demo/jreload/example.jar
./Lib/test/blob.jar
I don't see any JARs there that should be symlinked. If I am correct, I'd appreciate an update to your blog entry. And if not, a bug would be still be great :) Thanks.
Updated
Ah you are correct, my mistake. I was looking at the upstream Jython trunk, and not the 2.2.1 release which the rpm is based off of. Seems the upstream community jumped to 2.5 after that where they added the 'extlib' directory containing all the jar dependencies.
Thanks for catching this, blog updated.
File a bug about Jython, please
Please file a bug against the Jython package as there should definitely be no shipped pre-built jars. Thanks.