Open ararslan opened 3 months ago
Actually the unpacking thing might be a red herring possibly caused by with_context
attaching the wrong context to a different error. I removed the ?
in https://github.com/JuliaLang/juliaup/blob/20a20b97615eedefc5853d61d5d9b30bcc505b44/src/operations.rs#L48 and now the error is that libjulia-codegen.so.1.12
can't load libLLVM-16jl.so
. Last I checked (a day or two ago) I didn't see that locally when manually downloading, unpacking, and using nightly. So still doesn't work but... progress?
Swapping the tar
crate for binstall-tar
, a fork that fixes https://github.com/alexcrichton/tar-rs/issues/295, fixed the primary failure. The test that fails now is related to pulling versiondb from S3, and there isn't one for FreeBSD there. Perhaps I'll separate out the versiondb changes from this PR so that those can be merged first.
...except it didn't fail on CI, huh. The test I mentioned fails locally.
Some to-do items:
binstall-tar
has now been synced with upstream tar
(https://github.com/cargo-bins/tar-rs/pull/1) and a v0.4.42 release has been published. IMO it seems reasonable to switch to binstall-tar
(currently implemented in this PR) until tar
has been updated to include the necessary fixes.
This doesn't yet pass tests because the tarball fails to extract and I don't understand why. The URL it's using is correct and I'm able to download and unpack manually.