Skip to content

lemongraph unable to compile from pkg install #11

@oscar-schmidt

Description

@oscar-schmidt
   Resolving package versions...
    Updating `~/.julia/environments/v1.12/Project.toml`
  [e6c19c8d] + SGtSNEpi v0.4.0
    Updating `~/.julia/environments/v1.12/Manifest.toml`
⌅ [3da002f7] ↓ ColorTypes v0.12.1 ⇒ v0.11.5
⌃ [c3611d14] ↓ ColorVectorSpace v0.11.0 ⇒ v0.10.0
⌅ [5ae59095] ↓ Colors v0.13.1 ⇒ v0.12.11
  [b4f34e82] + Distances v0.10.12
  [0e44f5e4] + Hwloc v3.3.0
  [b8a86587] + NearestNeighbors v0.4.22
  [e6c19c8d] + SGtSNEpi v0.4.0
  [e33a78d0] + Hwloc_jll v2.12.2+0
⌅ [02c8fc9c] + XML2_jll v2.13.9+0
  [a65dc6b1] + Xorg_libpciaccess_jll v0.18.1+0
  [c2c51ba6] + sgtsnepi_jll v3.0.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
  ✗ LEMONGraphs
  ✗ GraphsMatching
Precompiling packages finished.
  27 dependencies successfully precompiled in 108 seconds. 327 already precompiled.
  2 dependencies errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

GraphsMatching

Failed to precompile GraphsMatching [c3af3a8c-b79e-4b01-bf44-c718d7e0e0d6] to "/Users/oscar/.julia/compiled/v1.12/GraphsMatching/jl_Z7Y25n".
C++ exception while wrapping module Lib: invalid subtyping in definition of ListGraphNode with supertype Any
ERROR: LoadError: invalid subtyping in definition of ListGraphNode with supertype Any
Stacktrace:
  [1] register_julia_module
    @ ~/.julia/packages/CxxWrap/ZPNvc/src/CxxWrap.jl:467 [inlined]
  [2] readmodule(so_path_cb::typeof(LEMON_jll.get_liblemoncxxwrap_path), funcname::Symbol, m::Module, flags::Nothing)
    @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/ZPNvc/src/CxxWrap.jl:864
  [3] wrapmodule(so_path_cb::Function, funcname::Symbol, m::Module, flags::Nothing)
    @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/ZPNvc/src/CxxWrap.jl:874
  [4] include(mod::Module, _path::String)
    @ Base ./Base.jl:306
  [5] 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::String)
    @ Base ./loading.jl:2997
  [6] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
  [7] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2843
  [8] include_string
    @ ./loading.jl:2853 [inlined]
  [9] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:315
 [10] _start()
    @ Base ./client.jl:550
in expression starting at /Users/oscar/.julia/packages/LEMONGraphs/VIGzg/src/LEMONGraphs.jl:1
in expression starting at stdin:5
ERROR: LoadError: Failed to precompile LEMONGraphs [14b1564f-c77f-4800-9e89-efd961faef7c] to "/Users/oscar/.julia/compiled/v1.12/LEMONGraphs/jl_8mIcNk".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:44
  [2] 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:3284
  [3] (::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId, String, Dict{String, Int64}})()
    @ Base ./loading.jl:2652
  [4] 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.0+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:93
  [5] #mkpidlock#7
    @ ~/.julia/juliaup/julia-1.12.0+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:88 [inlined]
  [6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.12.0+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:114
  [7] #invokelatest_gr#232
    @ ./reflection.jl:1282 [inlined]
  [8] invokelatest_gr
    @ ./reflection.jl:1274 [inlined]
  [9] 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:3855
 [10] maybe_cachefile_lock
    @ ./loading.jl:3852 [inlined]
 [11] __require_prelocked(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2638
 [12] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2465
 [13] macro expansion
    @ ./loading.jl:2393 [inlined]
 [14] macro expansion
    @ ./lock.jl:376 [inlined]
 [15] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2358
 [16] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2334
 [17] top-level scope
    @ ~/.julia/packages/GraphsMatching/0EoW1/src/GraphsMatching.jl:10
 [18] include(mod::Module, _path::String)
    @ Base ./Base.jl:306
 [19] 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:2997
 [20] top-level scope
    @ stdin:5
 [21] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
 [22] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2843
 [23] include_string
    @ ./loading.jl:2853 [inlined]
 [24] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:315
 [25] _start()
    @ Base ./client.jl:550
in expression starting at /Users/oscar/.julia/packages/GraphsMatching/0EoW1/src/GraphsMatching.jl:1
in expression starting at stdin: ```

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