Updating to 1.12.1 failure

I’ve run into a strange failure when I tried to update to 1.12.1

I got the following spew of messages, which I don’t understand at all. My installation is down. Any suggestions welcome!

rfritz@Lobo ~ % juliaup update
Checking for new Julia versions
Updating channel release
Installing Julia 1.12.1+0.aarch64.apple.darwin14
Checking standard library notarization..........................................  ◐ SuiteSparse (serial)
Unhandled Task ERROR: failed process: Process(setenv(`/Users/rfritz/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/libexec/julia/dsymutil /Users/rfritz/.julia/compiled/v1.12/SuiteSparse/X9Gex_OnsC5.dylib`,["XPC_FLAGS=0x0", "PATH=/Users/rfritz/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/libexec/julia:/opt/homebrew/bin:/Users/rfritz/bin:/Users/rfritz/.gem/ruby/2.6.0/bin:/Users/rfritz/python3/user-packages/:/Users/rfritz/.juliaup/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin", "PWD=/Users/rfritz", "DISPLAY=/private/tmp/com.apple.launchd.hlSGSHOrf0/org.xquartz:0", "XPC_SERVICE_NAME=0", "TERM_PROGRAM=Apple_Terminal", "PYTHONPATH=/Users/rfritz/python3/user-packages/", "SHELL=/bin/zsh", "DYLD_FALLBACK_LIBRARY_PATH=/Users/rfritz/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/lib/julia:/Users/rfritz/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/lib:/Users/rfritz/lib:/usr/local/lib:/lib:/usr/lib", "__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0"  …  "JULIA_LOAD_PATH=@stdlib", "VISUAL=emacsclient", "_=/Users/rfritz/.juliaup/bin/juliaup", "OPENBLAS_DEFAULT_NUM_THREADS=1", "SECURITYSESSIONID=18a60", "USER=rfritz", "HOME=/Users/rfritz", "TERM=xterm-256color", "TERM_PROGRAM_VERSION=455.1", "OPENBLAS_MAIN_FREE=1"]), ProcessExited(1)) [1]

Stacktrace:
  [1] pipeline_error
    @ ./process.jl:598 [inlined]
  [2] run(::Cmd, ::Base.DevNull, ::Vararg{Base.DevNull}; wait::Bool)
    @ Base ./process.jl:513
  [3] run
    @ ./process.jl:510 [inlined]
  [4] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
    @ Base ./loading.jl:3264
  [5] compilecache
    @ ./loading.jl:3161 [inlined]
  [6] (::Base.Precompilation.var"#_precompilepkgs##38#_precompilepkgs##39"{Pipe, Bool, Dict{Base.PkgId, Base.PkgId}, Dict{Base.PkgId, Vector{Base.PkgId}}, String, Base.PkgId, Base.CacheFlags, Cmd})()
    @ Base.Precompilation ./precompilation.jl:1025
  [7] with_logstate(f::Base.Precompilation.var"#_precompilepkgs##38#_precompilepkgs##39"{Pipe, Bool, Dict{Base.PkgId, Base.PkgId}, Dict{Base.PkgId, Vector{Base.PkgId}}, String, Base.PkgId, Base.CacheFlags, Cmd}, logstate::Base.CoreLogging.LogState)
    @ Base.CoreLogging ./logging/logging.jl:540
  [8] with_logger
    @ ./logging/logging.jl:651 [inlined]
  [9] #_precompilepkgs##36
    @ ./precompilation.jl:1019 [inlined]
 [10] mkpidlock(f::Base.Precompilation.var"#_precompilepkgs##36#_precompilepkgs##37"{Pipe, Bool, Dict{Base.PkgId, Base.PkgId}, Dict{Base.PkgId, Vector{Base.PkgId}}, String, Base.PkgId, Base.CacheFlags, Cmd}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:93
 [11] #mkpidlock#7
    @ ~/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:88 [inlined]
 [12] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:114
 [13] #invokelatest_gr#232
    @ ./reflection.jl:1282 [inlined]
 [14] invokelatest_gr
    @ ./reflection.jl:1274 [inlined]
 [15] precompile_pkgs_maybe_cachefile_lock(f::Base.Precompilation.var"#_precompilepkgs##36#_precompilepkgs##37"{Pipe, Bool, Dict{Base.PkgId, Base.PkgId}, Dict{Base.PkgId, Vector{Base.PkgId}}, String, Base.PkgId, Base.CacheFlags, Cmd}, io::IOContext{IO}, print_lock::ReentrantLock, fancyprint::Bool, pkg_config::Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}, pkgspidlocked::Dict{Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}, String}, hascolor::Bool, parallel_limiter::Base.Semaphore, ignore_loaded::Bool)
    @ Base.Precompilation ./precompilation.jl:1216
 [16] macro expansion
    @ ./timing.jl:461 [inlined]
 [17] (::Base.Precompilation.var"#_precompilepkgs##32#_precompilepkgs##33"{Bool, Bool, Bool, Bool, Vector{Task}, Dict{Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}, String}, Dict{Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}, IOBuffer}, Base.Precompilation.var"#handle_interrupt#_precompilepkgs##19"{Base.RefValue{Bool}, String, Base.Event, ReentrantLock, IOContext{IO}}, Base.RefValue{Int64}, Base.RefValue{Int64}, Base.RefValue{Int64}, Base.Event, Base.Event, ReentrantLock, Vector{Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}}, Dict{Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}, String}, Vector{Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}}, Base.RefValue{Union{Nothing, String}}, Vector{Base.PkgId}, Dict{Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}, Bool}, Dict{Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}, Base.Event}, Dict{Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}, Bool}, Vector{Base.PkgId}, Vector{Base.PkgId}, Base.Precompilation.var"#describe_pkg#_precompilepkgs##1"{Dict{Base.PkgId, Base.PkgId}, Base.Precompilation.var"#color_string#_precompilepkgs##0"{Bool}, Int64}, Dict{Base.PkgId, Base.PkgId}, Dict{Base.PkgId, Vector{Base.PkgId}}, Dict{Base.PkgId, Vector{String}}, Dict{Tuple{Base.PkgId, UInt128, String, String}, Bool}, Base.Precompilation.var"#color_string#_precompilepkgs##0"{Bool}, Bool, IOContext{IO}, Base.Semaphore, Bool, String, Vector{String}, Vector{Base.PkgId}, Base.PkgId, Base.CacheFlags, Cmd, Pair{Cmd, Base.CacheFlags}, Tuple{Base.PkgId, Pair{Cmd, Base.CacheFlags}}})()
    @ Base.Precompilation ./precompilation.jl:1018
ERROR: failed process: Process(setenv(`/Users/rfritz/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/libexec/julia/dsymutil /Users/rfritz/.julia/compiled/v1.12/SuiteSparse/X9Gex_OnsC5.dylib`,["XPC_FLAGS=0x0", "PATH=/Users/rfritz/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/libexec/julia:/opt/homebrew/bin:/Users/rfritz/bin:/Users/rfritz/.gem/ruby/2.6.0/bin:/Users/rfritz/python3/user-packages/:/Users/rfritz/.juliaup/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin", "PWD=/Users/rfritz", "DISPLAY=/private/tmp/com.apple.launchd.hlSGSHOrf0/org.xquartz:0", "XPC_SERVICE_NAME=0", "TERM_PROGRAM=Apple_Terminal", "PYTHONPATH=/Users/rfritz/python3/user-packages/", "SHELL=/bin/zsh", "DYLD_FALLBACK_LIBRARY_PATH=/Users/rfritz/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/lib/julia:/Users/rfritz/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/lib:/Users/rfritz/lib:/usr/local/lib:/lib:/usr/lib", "__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0"  …  "JULIA_LOAD_PATH=@stdlib", "VISUAL=emacsclient", "_=/Users/rfritz/.juliaup/bin/juliaup", "OPENBLAS_DEFAULT_NUM_THREADS=1", "SECURITYSESSIONID=18a60", "USER=rfritz", "HOME=/Users/rfritz", "TERM=xterm-256color", "TERM_PROGRAM_VERSION=455.1", "OPENBLAS_MAIN_FREE=1"]), ProcessExited(1)) [1]

Stacktrace:
  [1] pipeline_error
    @ ./process.jl:598 [inlined]
  [2] run(::Cmd, ::Base.DevNull, ::Vararg{Base.DevNull}; wait::Bool)
    @ Base ./process.jl:513
  [3] run
    @ ./process.jl:510 [inlined]
  [4] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
    @ Base ./loading.jl:3264
  [5] (::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId, String, Dict{String, Int64}})()
    @ Base ./loading.jl:2651
  [6] mkpidlock(f::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId, String, Dict{String, Int64}}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:93
  [7] #mkpidlock#7
    @ ~/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:88 [inlined]
  [8] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.12.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:114
  [9] #invokelatest_gr#232
    @ ./reflection.jl:1282 [inlined]
 [10] invokelatest_gr
    @ ./reflection.jl:1274 [inlined]
 [11] maybe_cachefile_lock(f::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId, String, Dict{String, Int64}}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base ./loading.jl:3854
 [12] maybe_cachefile_lock
    @ ./loading.jl:3851 [inlined]
 [13] __require_prelocked(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2637
 [14] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2465
 [15] macro expansion
    @ ./loading.jl:2393 [inlined]
 [16] macro expansion
    @ ./lock.jl:376 [inlined]
 [17] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2358
 [18] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2334
 [19] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
 [20] (::var"#3#4")(p::String)
    @ Main ./none:1
 [21] foreach(f::var"#3#4", itr::Vector{String})
    @ Base ./abstractarray.jl:3188
 [22] top-level scope
    @ none:1
 [23] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
 [24] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:283
 [25] _start()
    @ Base ./client.jl:550
failed with exit status: 1.
Removed Julia 1.12.0+0.aarch64.apple.darwin14

I was able to update without that message. (Bad news, I know.) I’m on Tahoe 26.0.1.

I don’t understand the error message, either. You should be able to roll back with

juliaup default 1.12.0

If that fails and you had a previously working install, you probably need to figure out what the recent changes to your system environment might have done to break things.

I did that, and I have other problems. It’s some sort of macOS permissions thing to do with temporary files. I’m seeing this error message:

ERROR: IOError: ispath("/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/jl_3GvwrAVWhM"): permission denied (EACCES)

Research says the “T” directory in /var/folders subdirectoeis is temp. files. I just had a messy crash; this probably has something to do with it.

I’m on Sequoia 16.7.1, not particularly wanting to struggle through a Tahoe upgrade yet. (And this makes me even more reluctant—what else will break?)

A reboot fixed it. Call it macWeirdness. (I hear the Windows frog croaking “Reboot! Reboot!”)

1 Like

FWIW, the only Tahoe issue I had was with third-party Bluetooth devices, which had to be re-paired.

1 Like

I’m on macOS 15.7.1 as @rmfritz, and tried to do juliaup add release after rebooting my iMac. Yet, it still failed to install v1.12.1 with the same error! What is happening here? I would greatly appreciate it if someone tells me how to fix this problem. I tried this update on my Windows machine, and it worked perfectly there… So, this seems to be specific with certain versions of macOS.

Why did you do add, to update you need to juliaup update release

I first tried simple juliaup update. But that failed, I had to make v1.12.0 as default, and then removed v1.12.1 since I thought it was not installed correctly. After that, juliaup update and juliaup update release do not work. I have to use juliaup add release or juliaup add 1.12.1 explicitly. At any rate it seems to me the problem is not really juliaup. Rather, it’s the v1.12.1 itself. Since I tried direct download of v1.12.1, but it still generated the same error.

1 Like

Possibly related? (MacOS 15.7 seems to have some issue about temporary directories. Setting TMPDIR to something like /tmp (?) might be useful.)

Thanks a lot, @septc! Actually, it was related to your links. I could finally install Julia v1.12.1 by the following procedure:
(1) Reboot in the recovery mode; From the utility menu, pick “terminal”, and then execute: csrutil disable. Then reboot again but not in the recovery mode.
(2) Now, in Terminal, modify the folder property via: sudo chmod a+rwx /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T
(3) Install Julia v1.12.1 via juliaup or via direct download
(4) Check if you can update your current packages via Pkg.update()
(5) If yes, reboot in the recovery mode; From the utility menu, pick “terminal”, and then execute: csrutil enable. Then reboot again but not in the recovery mode.

After this, it started working correctly, and I can also update various packages!

1 Like