Repository navigation
Open
Description
This can be seen on the latest PkgEval run.
Info Given SDPA was explicitly requested, output will be shown live
ERROR: LoadError: UndefVarError: `get_libsdpawrap_path` not defined in `SDPA_jll`
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base_compiler.jl:47
[2] top-level scope
@ ~/.julia/packages/SDPA/iAjjh/src/SDPA.jl:13
[3] include(mod::Module, _path::String)
@ Base ./Base.jl:307
[4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:3004
[5] top-level scope
@ stdin:6
[6] eval(m::Module, e::Any)
@ Core ./boot.jl:486
[7] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base ./loading.jl:2855
[8] include_string
@ ./loading.jl:2865 [inlined]
[9] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:326
[10] _start()
@ Base ./client.jl:556
in expression starting at ~/.julia/packages/SDPA/iAjjh/src/SDPA.jl:6
in expression starting at stdin:6
✗ SDPA
Precompiling SDPA finished.
36 dependencies successfully precompiled in 379 seconds. 25 already precompiled.
2 dependencies had output during precompilation:
┌ CxxWrap
│ WARNING: Detected access to binding `StdLib.__cxxwrap_pointers` in a world prior to its definition world.
│ Julia 1.12 has introduced more strict world age semantics for global bindings.
│ !!! This code may malfunction under Revise.
│ !!! This code will error in future versions of Julia.
│ Hint: Add an appropriate `invokelatest` around the access to this binding.
│ WARNING: Detected access to binding `StdLib.__cxxwrap_methodkeys` in a world prior to its definition world.
│ Julia 1.12 has introduced more strict world age semantics for global bindings.
│ !!! This code may malfunction under Revise.
│ !!! This code will error in future versions of Julia.
│ Hint: Add an appropriate `invokelatest` around the access to this binding.
└
┌ MutableArithmetics
│ WARNING: Constructor for type "Matrix" was extended in `MutableArithmetics` without explicit qualification or import.
│ NOTE: Assumed "Matrix" refers to `Base.Matrix`. This behavior is deprecated and may differ in future versions.`
│ NOTE: This behavior may have differed in Julia versions prior to 1.12.
│ Hint: If you intended to create a new generic function of the same name, use `function Matrix end`.
│ Hint: To silence the warning, qualify `Matrix` as `Base.Matrix` or explicitly `import Base: Matrix`
│ WARNING: Constructor for type "Matrix" was extended in `MutableArithmetics` without explicit qualification or import.
│ NOTE: Assumed "Matrix" refers to `Base.Matrix`. This behavior is deprecated and may differ in future versions.`
│ NOTE: This behavior may have differed in Julia versions prior to 1.12.
│ Hint: If you intended to create a new generic function of the same name, use `function Matrix end`.
│ Hint: To silence the warning, qualify `Matrix` as `Base.Matrix` or explicitly `import Base: Matrix`
│ WARNING: Constructor for type "Matrix" was extended in `MutableArithmetics` without explicit qualification or import.
│ NOTE: Assumed "Matrix" refers to `Base.Matrix`. This behavior is deprecated and may differ in future versions.`
│ NOTE: This behavior may have differed in Julia versions prior to 1.12.
│ Hint: If you intended to create a new generic function of the same name, use `function Matrix end`.
│ Hint: To silence the warning, qualify `Matrix` as `Base.Matrix` or explicitly `import Base: Matrix`
│ WARNING: Constructor for type "Matrix" was extended in `MutableArithmetics` without explicit qualification or import.
│ NOTE: Assumed "Matrix" refers to `Base.Matrix`. This behavior is deprecated and may differ in future versions.`
│ NOTE: This behavior may have differed in Julia versions prior to 1.12.
│ Hint: If you intended to create a new generic function of the same name, use `function Matrix end`.
│ Hint: To silence the warning, qualify `Matrix` as `Base.Matrix` or explicitly `import Base: Matrix`
└ Locally, I can perfectly build on some older v1.12 version, but I can reproduce the crash on v1.13.
I was not sure whether the warnings about CxxWrap and MutableArithmetics are relevant, so I included them.
Metadata
Metadata
Assignees
Labels
No labels
Activity
odow commentedon Feb 13, 2025
I assume we need to rebuild SDPA_jll to use a newer version of CxxWrap:
x-ref #56
x-ref #62
But also: v1.12 is not even out yet. So I have limited interest in making v1.13 work.
schillic commentedon Oct 24, 2025
FWIW, this still crashes after the closed x-refs, although with a different error message now. From the latest PkgEval run:
This might be related to the error I get in Julia v1.12.1. But I will open another issue for that because it may be different.
odow commentedon Oct 26, 2025
Closing in favour of #68. If it won't build on v1.12, it won't build on v1.13.
The MutableArithmetics warnings seem unrelated, and I think they're just wrong. MutableArithmetics uses
function Base.Matrix() endfor all methods which extend the constructor. But anyway, unrelated to SDPA.odow commentedon Oct 28, 2025
SDPA_jll will likely need rebuilding once Julia v1.13 is out. There are some upstream blockers before that can happen.
schillic commentedon Dec 2, 2025
I just tested the new Julia v1.13.0-alpha2 release and SDPA is still not building. Since these pre-releases are intended to enable a smooth transition, I thought I should ping here again.
odow commentedon Dec 2, 2025
The ongoing issue is that we need to re-compile SDPA_jll for each new Julia release because it depends on
libjulia_jll.jl, and there are often incompatibilities between releases of libjulia delays in making it available. Even if we compiled something for the-alpha2release, we might need to recompile it for the actual release.I have no plans to work on making SDPA.jl compatible with any pre-release versions of Julia.
If you want to use SDPA, I'd just encourage you to stay on older versions of Julia for a while.
schillic commentedon Dec 2, 2025
Alright, thanks for clarifying. I did not know that this is is required for each version. Makes sense to only do that for full releases.
schillic commentedon Sep 23, 2026
@odow: Now that v1.13 got released, this is an actual issue...
odow commentedon Sep 24, 2026
I started JuliaPackaging/Yggdrasil#14869 but I didn't look into the failures yet