CxxWrap.jl icon indicating copy to clipboard operation
CxxWrap.jl copied to clipboard

FYI: Can't install

Open PallHaraldsson opened this issue 1 year ago • 5 comments

Can't install with my environment (unless using --project):

julia> using CxxWrap
 │ Package CxxWrap not found, but a package named CxxWrap is available from a registry. 
 │ Install package?
 │   (@v1.11) pkg> add CxxWrap 
 └ (y/n/o) [y]: y
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
ERROR: Compat `LazyArtifacts` not listed in `deps`, `weakdeps` or `extras` section at "/home/pharaldsson/.julia/dev/micromamba_jll/Project.toml".
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Types.jl:68
  [2] validate(project::Pkg.Types.Project; file::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/project.jl:150
  [3] validate
    @ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/project.jl:112 [inlined]
  [4] Pkg.Types.Project(raw::Dict{String, Any}; file::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/project.jl:180
  [5] Project
    @ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/project.jl:161 [inlined]
  [6] read_project(f_or_io::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/project.jl:197
  [7] Pkg.Types.EnvCache(env::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Types.jl:354
  [8] collect_developed!(env::Pkg.Types.EnvCache, pkg::Pkg.Types.PackageSpec, developed::Vector{Pkg.Types.PackageSpec})
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:287
  [9] collect_developed(env::Pkg.Types.EnvCache, pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:305
 [10] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber, installed_only::Bool)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:385
 [11] targeted_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1384
 [12] tiered_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber, try_all_installed::Bool)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1356
 [13] _resolve(io::IOContext{IO}, env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1394
 [14] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; allow_autoprecomp::Bool, preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, target::Symbol)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1427
 [15] add
    @ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1400 [inlined]
 [16] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, target::Symbol, allow_autoprecomp::Bool, kwargs::@Kwargs{io::IOContext{IO}})
 [17] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{allow_autoprecomp::Bool})
    @ Pkg.API ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/API.jl:159
 [18] add
    @ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/API.jl:147 [inlined]
 [19] try_prompt_pkg_add(pkgs::Vector{Symbol})
    @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/REPLExt.jl:248
 [20] #invokelatest#2
    @ ./essentials.jl:1054 [inlined]
 [21] invokelatest
    @ ./essentials.jl:1051 [inlined]
 [22] check_for_missing_packages_and_run_hooks(ast::Any)
    @ REPL ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:251
 [23] eval_user_input(ast::Any, backend::REPL.REPLBackend, mod::Module)
    @ REPL ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:222
 [24] repl_backend_loop(backend::REPL.REPLBackend, get_module::Function)
    @ REPL ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:323
 [25] start_repl_backend(backend::REPL.REPLBackend, consumer::Any; get_module::Function)
    @ REPL ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:308
 [26] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool, backend::Any)
    @ REPL ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:464
 [27] run_repl(repl::REPL.AbstractREPL, consumer::Any)
    @ REPL ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:450
 [28] (::Base.var"#1138#1140"{Bool, Symbol, Bool})(REPL::Module)
    @ Base ./client.jl:446
 [29] #invokelatest#2
    @ ./essentials.jl:1054 [inlined]
 [30] invokelatest
    @ ./essentials.jl:1051 [inlined]
 [31] run_main_repl(interactive::Bool, quiet::Bool, banner::Symbol, history_file::Bool, color_set::Bool)
    @ Base ./client.jl:430
 [32] repl_main
    @ ./client.jl:567 [inlined]
 [33] _start()
    @ Base ./client.jl:541

B.

It also works in 1.10.5 except with my environment though with different error:

julia> @time using CxxWrap
Precompiling CxxWrap
        Info Given CxxWrap was explicitly requested, output will be shown live 
ERROR: LoadError: InitError: could not load library "/home/pharaldsson/.julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so"
/home/pharaldsson/.julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so: undefined symbol: small_typeof, version JL_LIBJULIA_1.10
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl ./libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl ./libdl.jl:116
  [3] macro expansion
    @ ~/.julia/packages/JLLWrappers/inPJn/src/products/library_generators.jl:63 [inlined]
  [4] __init__()
    @ libcxxwrap_julia_jll ~/.julia/packages/libcxxwrap_julia_jll/zmDeI/src/wrappers/x86_64-linux-gnu-cxx11-julia_version+1.10.0.jl:9
  [5] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1134
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1122
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1067
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base ./loading.jl:1581
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1938
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [11] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [12] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [14] macro expansion
    @ ./loading.jl:1790 [inlined]
 [15] macro expansion
    @ ./lock.jl:267 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [17] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [18] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
 [20] include
    @ ./Base.jl:495 [inlined]
 [21] 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:2222
 [22] top-level scope
    @ stdin:3
during initialization of module libcxxwrap_julia_jll
in expression starting at /home/pharaldsson/.julia/packages/CxxWrap/IdOJa/src/CxxWrap.jl:1
in expression starting at stdin:3
  ✗ CxxWrap
  0 dependencies successfully precompiled in 3 seconds. 4 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

CxxWrap [1f15a43c-97ca-5a2a-ae31-89f07a497df4]

Failed to precompile CxxWrap [1f15a43c-97ca-5a2a-ae31-89f07a497df4] to "/home/pharaldsson/.julia/compiled/v1.10/CxxWrap/jl_azD45g".
ERROR: LoadError: InitError: could not load library "/home/pharaldsson/.julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so"
/home/pharaldsson/.julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so: undefined symbol: small_typeof, version JL_LIBJULIA_1.10
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl ./libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl ./libdl.jl:116
  [3] macro expansion
    @ ~/.julia/packages/JLLWrappers/inPJn/src/products/library_generators.jl:63 [inlined]
  [4] __init__()
    @ libcxxwrap_julia_jll ~/.julia/packages/libcxxwrap_julia_jll/zmDeI/src/wrappers/x86_64-linux-gnu-cxx11-julia_version+1.10.0.jl:9
  [5] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1134
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1122
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1067
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base ./loading.jl:1581
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1938
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [11] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [12] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [14] macro expansion
    @ ./loading.jl:1790 [inlined]
 [15] macro expansion
    @ ./lock.jl:267 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [17] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [18] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
 [20] include
    @ ./Base.jl:495 [inlined]
 [21] 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:2222
 [22] top-level scope
    @ stdin:3
during initialization of module libcxxwrap_julia_jll
in expression starting at /home/pharaldsson/.julia/packages/CxxWrap/IdOJa/src/CxxWrap.jl:1
in expression starting at stdin:
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
  [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{io::Base.TTY})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:1700
  [3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
  [4] precompile
    @ ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
  [5] #precompile#114
    @ ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
  [6] #invokelatest#2
    @ ./essentials.jl:894 [inlined]
  [7] invokelatest
    @ ./essentials.jl:889 [inlined]
  [8] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1963
  [9] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [10] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [11] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [12] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [13] macro expansion
    @ ./loading.jl:1790 [inlined]
 [14] macro expansion
    @ ./lock.jl:267 [inlined]
 [15] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [16] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [17] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [18] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
 [19] macro expansion
    @ ./timing.jl:279 [inlined]
 [20] top-level scope
    @ ./REPL[1]:1

C.

It starts somewhat faster in 1.11 though with more compiled:

julia> @time using CxxWrap
  1.266971 seconds (301.68 k allocations: 16.617 MiB, 7.08% gc time, 6.83% compilation time)

julia> @time_imports using CxxWrap
     14.5 ms  MacroTools
      0.6 ms  Printf
     27.2 ms  Dates
      0.6 ms  TOML
     10.6 ms  Preferences
      0.4 ms  JLLWrappers
               ┌ 41.4 ms libcxxwrap_julia_jll.__init__() 13.17% compilation time
    272.1 ms  libcxxwrap_julia_jll 85.64% compilation time
               ┌ 0.2 ms CxxWrap.CxxWrapCore.__init__() 
               ├ 106.9 ms CxxWrap.StdLib.__init__() 81.66% compilation time
    983.3 ms  CxxWrap 8.88% compilation time

PallHaraldsson avatar Oct 11 '24 16:10 PallHaraldsson

Likely cause (for both 1.11.0 and 1.10.5, different errors).

On 1.10.5:

julia> using libcxxwrap_julia_jll
ERROR: InitError: could not load library "/home/pharaldsson/.julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so"
/home/pharaldsson/.julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so: undefined symbol: small_typeof, version JL_LIBJULIA_1.10
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl ./libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl ./libdl.jl:116
  [3] macro expansion
    @ ~/.julia/packages/JLLWrappers/inPJn/src/products/library_generators.jl:63 [inlined]
  [4] __init__()
    @ libcxxwrap_julia_jll ~/.julia/packages/libcxxwrap_julia_jll/zmDeI/src/wrappers/x86_64-linux-gnu-cxx11-julia_version+1.10.0.jl:9
  [5] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1134
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1122
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1067
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base ./loading.jl:1581
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1938
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [11] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [12] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [14] macro expansion
    @ ./loading.jl:1790 [inlined]
 [15] macro expansion
    @ ./lock.jl:267 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [17] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [18] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
during initialization of module libcxxwrap_julia_jll
pkg >st
⌅ [3eaa8342] libcxxwrap_julia_jll v0.9.7+3

Should some older versions like that one be retracted?

I know how to fix this here, and then likely the whole issue (by dropping some package from my env), but should QML or something might need updating:

(@v1.10) pkg> add [email protected]
┌ Warning: attempting to remove probably stale pidfile
│   path = "/home/pharaldsson/.julia/logs/manifest_usage.toml.pid"
└ @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:273
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package libcxxwrap_julia_jll [3eaa8342]:
 libcxxwrap_julia_jll [3eaa8342] log:
 ├─possible versions are: 0.6.5-0.13.2 or uninstalled
 ├─restricted to versions 0.13.2 by an explicit requirement, leaving only versions: 0.13.2
 └─restricted by compatibility requirements with CxxWrap [1f15a43c] to versions: 0.8.0-0.11.2 — no versions left
   └─CxxWrap [1f15a43c] log:
     ├─possible versions are: 0.7.0-0.16.0 or uninstalled
     ├─restricted to versions 0.11-0.14 by OpenCV [f878e3a2], leaving only versions: 0.11.0-0.14.2
     │ └─OpenCV [f878e3a2] log:
     │   ├─possible versions are: 4.5.2 or uninstalled
     │   └─OpenCV [f878e3a2] is fixed to version 4.5.2
     └─restricted by compatibility requirements with QML [2db162a6] to versions: [0.11.0-0.12.1, 0.14.0-0.14.2, 0.16.0], leaving only versions: [0.11.0-0.12.1, 0.14.0-0.14.2]
       └─QML [2db162a6] log:
         ├─possible versions are: 0.6.0-0.9.1 or uninstalled
         └─restricted to versions * by an explicit requirement, leaving only versions: 0.6.0-0.9.1

PallHaraldsson avatar Oct 11 '24 16:10 PallHaraldsson

(@v1.10) pkg> st QML
Status `~/.julia/environments/v1.10/Project.toml`
⌃ [2db162a6] QML v0.7.1
Info Packages marked with ⌃ have new versions available and may be upgradable.

(@v1.10) pkg> st OpenCV
Status `~/.julia/environments/v1.10/Project.toml`
  [f878e3a2] OpenCV v4.5.2 `~/.julia/dev/OpenCV`

If I drop those two I actually get 7 screenfuls:

(@v1.10) pkg> add [email protected]
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Symbolics [0c5d862f]:
 Symbolics [0c5d862f] log:
 ├─possible versions are: 0.1.0-6.13.1 or uninstalled
 ├─restricted by compatibility requirements with ParameterEstimation [b4cd1eb8] to versions: 4.0.0-5.36.0
 │ └─ParameterEstimation [b4cd1eb8] log:
...

Not sure you want to see all of this, but this is something newbies could encounter... when misusing, yes, probably it's self-inflicted by my env...

PallHaraldsson avatar Oct 11 '24 16:10 PallHaraldsson

This fixed installability in my 1.10.5 environment (but not yet in 1.11.0):

(@v1.10) pkg> rm ParameterEstimation
(@v1.10) pkg> add [email protected]
..
⌃ [86c06d3c] ↓ StaticTools v0.8.10 ⇒ v0.8.8
..

Though ideally if wouldn't downgrade anything...

PallHaraldsson avatar Oct 11 '24 17:10 PallHaraldsson

This one is strange:

(@v1.11) pkg> rm micromamba_jll
    Updating `~/.julia/environments/v1.11/Project.toml`
  [f8abcde7] - micromamba_jll v1.5.8+0 `~/.julia/dev/micromamba_jll`
  No Changes to `~/.julia/environments/v1.11/Manifest.toml`

(@v1.11) pkg> add [email protected]
   Resolving package versions...
ERROR: Compat `LazyArtifacts` not listed in `deps`, `weakdeps` or `extras` section at "/home/pharaldsson/.julia/dev/micromamba_jll/Project.toml".

Opened issue here: https://github.com/JuliaLang/julia/issues/56114

PallHaraldsson avatar Oct 11 '24 17:10 PallHaraldsson

I'm not sure about the LazyArtifacts error, but the library loading errors are indeed due to old versions of libcxxwrap-julia. Maybe setting an upper bound on Julia compat for older versions of libcxxwrap-julia could help here, maybe that would give a clearer error message. The fundamental problem here is that something in your environment is restricting the version of libcxxwrap-julia to a version that is incompatible with newer versions of Julia.

barche avatar Oct 12 '24 08:10 barche