juliaup installs gnu builds of julia on musl systems
It looks like https://github.com/JuliaLang/juliaup/blob/main/versiondb/versiondb-x86_64-unknown-linux-musl.json contains links to the gnu julia tarballs, instead of links to the musl ones, even though it says musl in the filename. Is that the issue?
Here's the output:
$ julia
Checking for new Julia versions
Installing Julia 1.11.6+0.x64.linux.gnu
Well, this is embarrassing.
Juliaup launcher had a problem and crashed. To help us diagnose the problem you can send us a crash report.
We have generated a report file at "/tmp/report-0e22a56b-9658-4051-a0dd-ad0e34d0226b.toml". Submit an issue or email with the subject of "Juliaup launcher Crash Report" and include the report as an attachment.
To submit the crash report:
https://github.com/JuliaLang/juliaup
We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.
Thank you kindly!
$ cat /tmp/report-0e22a56b-9658-4051-a0dd-ad0e34d0226b.toml
"name" = "Juliaup launcher"
"operating_system" = "Void Linux Rolling Release (void) [64-bit]"
"crate_version" = "1.17.11"
"explanation" = """
Panic occurred in file 'src/bin/julialauncher.rs' at line 412
"""
"cause" = 'Could not launch Julia. Verify that there is a valid Julia binary at "/home/murray/.julia/juliaup/julia-1.11.6+0.x64.linux.gnu/bin/julia".'
"method" = "Panic"
"backtrace" = """
0: 0x55af8730cb32 - <unresolved>
1: 0x55af87288982 - <unresolved>
2: 0x55af8740187d - <unresolved>
3: 0x55af874015e5 - <unresolved>
4: 0x55af87401549 - <unresolved>
5: 0x55af87401534 - <unresolved>
6: 0x55af8727cfb2 - <unresolved>
7: 0x55af8729abee - <unresolved>
8: 0x55af8729cdca - <unresolved>
9: 0x55af8728ac93 - <unresolved>
10: 0x55af8729d9f3 - <unresolved>
11: 0x7f759432bdcb - libc_start_main_stage2
at ./src/env/__libc_start_main.c:95
"""
I have the same issue on Chimera Linux when installed with the installer script.
As it stands, that is by design. We always ship a version of Juliaup that statically links musl on Linux even on GNU systems. The main reason is that we then don't have to deal with different libc versions at all.
We essentially don't have a Juliaup version at the moment that serves musl versions of Julia...