Closed dalum closed 2 years ago
Thanks for reporting this.
I've chatted with with @staticfloat about this and this does seem to be an issue only when using a relocated sysimage and scratch spaces on versions of Julia before 1.8. The fix will be to correct the issue in Scratch.jl such that this failure can no longer occur on earlier versions of Julia.
@dalum can you try using the branch in https://github.com/JuliaPackaging/Scratch.jl/pull/30 and rebuild your system image to ensure that it fixes the issue?
Thanks! I'm about to head home, but running the full workflow now so will report back tomorrow.
@staticfloat Seems to be working here! :tada:
Great; new version of Scratch.jl
getting pushed into General
, so should be fixed live soon: https://github.com/JuliaRegistries/General/pull/64266
After the latest release, using sysimages built on our build agents, it seems that some paths have been baked in which are not relocatable. The reference to
/root/.julia-1.7.3-1.0.0/
below are from the build agent environment, and prevents the sysimage from loading on another machine. Works fine with 1.8.0, so it seems related to https://github.com/JuliaTime/TimeZones.jl/pull/384.