Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OrdinaryDiffEq.jl is failing to load #963

Closed
jonniediegelman opened this issue Jun 7, 2023 · 1 comment
Closed

OrdinaryDiffEq.jl is failing to load #963

jonniediegelman opened this issue Jun 7, 2023 · 1 comment

Comments

@jonniediegelman
Copy link

jonniediegelman commented Jun 7, 2023

From a fresh REPL and temporary environment in Julia v1.8:

(jl_qflZqz) pkg> add OrdinaryDiffEq

hits an error:

(jl_qflZqz) pkg> precompile
Precompiling project...
  ✗ LinearSolve
  ✗ NonlinearSolve
  ✗ OrdinaryDiffEq
  0 dependencies successfully precompiled in 27 seconds. 123 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

OrdinaryDiffEq [1dea7af3-3e70-54e6-95c3-0bf5283fa5ed]

Failed to precompile OrdinaryDiffEq [1dea7af3-3e70-54e6-95c3-0bf5283fa5ed] to /Users/jonnie.diegelman/.julia/compiled/v1.8/OrdinaryDiffEq/jl_ZAgzGg.
ERROR: LoadError: invalid usage of @deprecate
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] var"@deprecate"(__source__::LineNumberNode, __module__::Module, old::Any, new::Any, export_old::Any)
   @ Base ./deprecated.jl:62
 [3] include(mod::Module, _path::String)
   @ Base ./Base.jl:419
 [4] include(x::String)
   @ LinearSolve ~/.julia/packages/LinearSolve/vGFwB/src/LinearSolve.jl:1
 [5] top-level scope
   @ ~/.julia/packages/LinearSolve/vGFwB/src/LinearSolve.jl:91
 [6] include
   @ ./Base.jl:419 [inlined]
 [7] 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, UInt64}}, source::String)
   @ Base ./loading.jl:1554
 [8] top-level scope
   @ stdin:1
in expression starting at /Users/jonnie.diegelman/.julia/packages/LinearSolve/vGFwB/src/deprecated.jl:83
in expression starting at /Users/jonnie.diegelman/.julia/packages/LinearSolve/vGFwB/src/deprecated.jl:82
in expression starting at /Users/jonnie.diegelman/.julia/packages/LinearSolve/vGFwB/src/LinearSolve.jl:1
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile LinearSolve [7ed4a6bd-45f5-4d41-b270-4a48e9bafcae] to /Users/jonnie.diegelman/.julia/compiled/v1.8/LinearSolve/jl_5ZVZZN.
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base ./loading.jl:1707
  [3] compilecache
    @ ./loading.jl:1651 [inlined]
  [4] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1337
  [5] _require_prelocked(uuidkey::Base.PkgId)
    @ Base ./loading.jl:1200
  [6] macro expansion
    @ ./loading.jl:1180 [inlined]
  [7] macro expansion
    @ ./lock.jl:223 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1144
  [9] include
    @ ./Base.jl:419 [inlined]
 [10] 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, UInt64}}, source::Nothing)
    @ Base ./loading.jl:1554
 [11] top-level scope
    @ stdin:1
in expression starting at /Users/jonnie.diegelman/.julia/packages/OrdinaryDiffEq/Q02r5/src/OrdinaryDiffEq.jl:1
in expression starting at stdin:1

It looks like v6.52 is fine though.

julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.5.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 4 on 4 virtual cores
Environment:
  JULIA_PKG_USE_CLI_GIT = true
  JULIA_EDITOR = code
@ChrisRackauckas
Copy link
Member

Should be fixed now. Sorry about that, the tests all updating to v1.9 made it so we missed this depwarn handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants