Summary: | JRuby's Ant fails to call javac | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Le Cuirot <chewi> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | graaff |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.jruby.org/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
James Le Cuirot
![]() This potentially could be caused by how we are currently packaging jruby. I know of other cases whether the behavior of gentoo-jruby is different to upstream-jruby. I have attempted (and failed) to discover the cause of these issues, whether by the splitting of dep (upstream jruby jarjar everything into single jar) or the replacement of these deps with system ones. Either way I couldn't get the thing to work. jruby ebuild fails on running unit tests that pass when building from direct upstream sources. This at least was the status from 1.5.2 which was stablised for some ungodly reason. I don't expect it to have changed tho. All the tests were passing when I worked on 1.2 with the help of a couple of patches but those haven't been applied to 1.5. I guess they're no good anymore. (In reply to comment #1) > This at least was the status from 1.5.2 which was stablised for some ungodly > reason. I don't expect it to have changed tho. I'm sure I had something to do with that, since maintaining multiple ruby targets is quite hard when all target's aren't stable. Looking forward, I think it makes most sense do the following: - stable 1.5.6 in a couple of weeks time - work on 1.6 and try to fix these issues there I'm not sure if it makes a lot of sense to try and fix this in the 1.5 series, given the amount of time already spent on it. (In reply to comment #3) > (In reply to comment #1) > > > This at least was the status from 1.5.2 which was stablised for some ungodly > > reason. I don't expect it to have changed tho. > > I'm sure I had something to do with that, since maintaining multiple ruby > targets is quite hard when all target's aren't stable. > Think it was also required for netbeans and it would have been a shame to delay stabilizing netbeans because of jruby. I remembered seeing the stable bug and really should of commented on it about what issues were outstanding. > Looking forward, I think it makes most sense do the following: > - stable 1.5.6 in a couple of weeks time > - work on 1.6 and try to fix these issues there > > I'm not sure if it makes a lot of sense to try and fix this in the 1.5 series, > given the amount of time already spent on it. Yeah sounds like a good idea :) Could this have been triggered by the old launcher not handling spaces in arguments? Please test with recent jruby. I'm a little hazy on this. weakling emerges with jruby now but I think it always did. I seem to recall that graaff was looking to build it a different way. If I run the command I gave in the original post, it still fails but with a Ruby backtrace instead of a Java one, which is potentially helpful. What I also seemingly overlooked back then is the "jre" directory mentioned in the output. That looks like the culprit but what is setting JAVA_HOME to the jre directory and why? That doesn't normally happen, right? Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/opt/icedtea6-bin-1.9.7/jre" JRuby is gone since commit https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-java/jruby?id=4d2320d2211626e2af70cfa8dae5b0bd1faf1541. Closing. |