-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to build from master dies with many errors #239
Comments
For the record: eric@edub:~/git/community/mirah (master) $ bundle install |
Hmm. I haven't tried building w/ JRuby 1.7.9 yet, maybe that's the issue. I'll check. |
It doesn't look like that's the problem. It's weird, you should have had to compile a number of other things before compiling the mirrors, but it looks like it only tried to compile mirrors. Have you had this checkout of mirah for a while? Can you try
|
It was checked out last night, but I had tried a few times trying to figure out what was going on. I thought I'd deleted that dir and re-cloned it before trying again to post the issue. Results: |
So, weird thing, I made a fresh clone into a new location. Got the same errors, but then, after trying I gisted all the stacktraces and output here: https://gist.github.com/edubkendo/8088065#file-gistfile1-txt You can see where the gem builds here and here So, dunno what's going on exactly but I do seem to have a working install now, unless, like I said, it needs something that second part of the build was supposed to provide. |
Hmm. It looks like |
I found the issue. Thanks for reporting the issue. |
I have the same problem and it seems the errors haven't resolved. |
I'm also still dying on this, specifically on the step calling: jruby -S mirahc -N --dest build/mirrors --classpath javalib/mirah-parser.jar:javalib/mirah-bootstrap.jar:javalib/mirah-compiler.jar src/org/mirah/jvm/mirrors/ src/org/mirah/jvm/model/ When I look in build/mirrors after the failure, the one compiled class is package org.mirah.jvm.mirrors
import mirah.lang.ast.*
class MirrorObjectExtensions
# This is needed by the Mirror type system,
# but it breaks the ruby type system.
macro def self.[]
TypeRefImpl.new(TypeName(@call.target).typeref.name,
true, true, @call.position)
end
end Could that be what's causing things to break down here? I'm just shooting in the dark here. |
I think I figured it out. Basically, the task dependencies were in the wrong order and so the jars were being created at the wrong time. 0bb156e Try it, and I'll close if it works. |
Still seeing the same issues. Fresh checkout, even tried a fresh install of JRuby to see if something was getting cached. Output here: https://gist.github.com/edubkendo/8221864 |
Fun. At least it's a slightly different set of issues. By doing some diffing off of your gist, I think I have a hypothesis as to why it's still failing. The only big difference I see now is the order in which the files are being compiled. |
Cannot find instance method read(java.lang.String) on org.mirah.jvm.mirrors.generics.TypeInvoker
rake aborted!
Command failed with status (1): [jruby -S mirahc -N --dest build/mirrors --...]
The output is too much to put here, and I'm not sure what's relevant so I'll link to a gist:
https://gist.github.com/edubkendo/8068567#file-gistfile1-txt
It looks like the first warnings begin here:
https://gist.github.com/edubkendo/8068567#file-gistfile1-txt-L640
First error here:
https://gist.github.com/edubkendo/8068567#file-gistfile1-txt-L723
I think this one is where the actual problem is:
https://gist.github.com/edubkendo/8068567#file-gistfile1-txt-L982
It's not finding methods on some of the classes in Generics/mirrors I think.
The text was updated successfully, but these errors were encountered: