Skip to content
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

"Unable to find compatible target in system image" using 0.7.0 and 1.0.0 in ubuntu, fedora VMs #29256

Closed
dmkusner opened this issue Sep 18, 2018 · 5 comments
Labels
needs docs Documentation for this change is required

Comments

@dmkusner
Copy link

dmkusner commented Sep 18, 2018

I have Windows-hosted Oracle VirtualBox VMs running the latest Fedora and Ubuntu. If I try to use Julia 0.6.4 or lower, everything is fine. 0.7.0 and above, I get an error. Below is what I see on Ubuntu. Exact same behavior on Fedora. With 0.6.4 I get the REPL with no problem.

I've searched and see nothing about this anywhere else, except when running julia with valgrind. What's going on here?


(base) david@pc-ubu-1:~/julia$ ls -l
total 12
drwxr-xr-x 7 david david 4096 Jul 9 15:39 julia-0.6.4
drwxr-xr-x 7 david david 4096 Sep 18 15:28 julia-0.7.0
drwxr-xr-x 7 david david 4096 Aug 8 21:27 julia-1.0.0

(base) david@pc-ubu-1:~/julia$ ./julia-0.7.0/bin/julia
ERROR: Unable to find compatible target in system image.

(base) david@pc-ubu-1:~/julia$ ./julia-1.0.0/bin/julia
ERROR: Unable to find compatible target in system image.

(base) david@pc-ubu-1:~/julia$ uname -a
Linux pc-ubu-1 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

@jpsamaroo
Copy link
Member

How did you acquire/build Julia 0.7/1.0? Binaries, build from source, or from a distro repo?

@dmkusner
Copy link
Author

dmkusner commented Sep 19, 2018

64-bit linux binaries:
https://julialang-s3.julialang.org/bin/linux/x64/0.7/julia-0.7.0-linux-x86_64.tar.gz
https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.0-linux-x86_64.tar.gz

If I install 'julia-stable' on Ubuntu, I have the same problem:

david@pc-ubu-1:$ sudo snap install julia-stable
julia-stable 1.0.0 from Médéric Hurier (fmind) installed
david@pc-ubu-1:$ julia-stable
ERROR: Unable to find compatible target in system image.

On Fedora if I simply do a 'sudo dnf install julia' I end up with version 0.6.3, which works fine.

@vchuravy
Copy link
Member

Related: #27131

I remember that we run into a similar issue on PkgEvaluator (cc: @ararslan) and the issue was that VirtualBox intercepts an instructions and you need to tell it not to do that, but I can't quite find the issue/discussion thread.

@vchuravy
Copy link
Member

Ah found it! JuliaCI/PackageEvaluator.jl#185

@dmkusner
Copy link
Author

Thanks vchuravy, I ran the VBoxManage command mentioned in the second reference in the link you provided and Julia 1.0.0 now works for me on Fedora. I'll test the other combinations but expect them to work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs docs Documentation for this change is required
Projects
None yet
Development

No branches or pull requests

4 participants