Skip to content

Fails to build on Julia v1.13 #67

@schillic

Description

@schillic

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions