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
Scala compilation hangs #90
Comments
Can you strace it inside the box? |
I have run |
Could you try it with |
Here they are, outputs with |
Thanks. For whatever reason, Scala compiler calls I think that redirecting stdin from |
Thank you very much @gollux! I can now confirm that both compilation and execution works but I need to redirect stdin from Compilation:
Execution:
Also, for others who might have the same problem, these also work:
|
Hi,
I am trying to compile a simple Scala hello, world program with isolate.
To install Scala on my Arch Linux PC I used this package. I have also installed isolate from the latest commit at the time of this writing.
Steps to reproduce:
Main.scala
:isolate --cg --init
Main.scala
to box:sudo cp Main.scala /var/local/lib/isolate/0/box/
isolate --cg -p --run -- /usr/bin/scalac -verbose Main.scala
I have added the
-verbose
flag to better understand what is happening with thescalac
.Compilation and execution of the above hello, world program works as expected when I do not use isolate.
From my understanding after seeing the verbose output from
scalac
in both isolate and "native" compilation, they produce the same output but it seems there is some last step(s) thatscalac
needs to do before producing the class files but it does not finish in the case with isolate.Please let me know if you need any more details from my side regarding this issue.
Can you please help me understand what is happening here and how can this be resolved?
Thank you in advance.
Best regards,
Herman
The text was updated successfully, but these errors were encountered: