Skip to content

7 dependencies errored #337

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

Closed
dtxl opened this issue May 31, 2025 · 11 comments
Closed

7 dependencies errored #337

dtxl opened this issue May 31, 2025 · 11 comments
Labels

Comments

@dtxl
Copy link

dtxl commented May 31, 2025

Describe the bug 🐞

Julia 1.11.5, made the daily pkg> update

Error & Stacktrace ⚠️

The output is

    Updating `C:\Users\...\.julia\environments\v1.11\Project.toml`
βŒƒ [429524aa] ↓ Optim v1.12.0 β‡’ v1.11.0
    Updating `C:\Users\...\.julia\environments\v1.11\Manifest.toml`
βŒƒ [7227322d] ↓ BoundaryValueDiffEqAscher v1.6.0 β‡’ v1.4.0
βŒƒ [85d9eb09] ↓ BoundaryValueDiffEqFIRK v1.7.0 β‡’ v1.5.0
βŒƒ [1a22d4ce] ↓ BoundaryValueDiffEqMIRK v1.7.0 β‡’ v1.5.0
βŒƒ [9255f1d6] ↓ BoundaryValueDiffEqMIRKN v1.6.0 β‡’ v1.4.0
βŒƒ [ed55bfe0] ↓ BoundaryValueDiffEqShooting v1.7.0 β‡’ v1.5.0
βŒƒ [bcd4f6db] ↓ DelayDiffEq v5.53.1 β‡’ v5.52.0
βŒƒ [2b5f629d] ↓ DiffEqBase v6.175.0 β‡’ v6.174.0
  [a0c0ee7d] ↑ DifferentiationInterface v0.6.54 β‡’ v0.7.0
βŒƒ [d41bc354] ↓ NLSolversBase v7.9.1 β‡’ v7.8.3
βŒƒ [be0214bd] ↓ NonlinearSolveBase v1.12.0 β‡’ v1.8.0
βŒƒ [9a2c21bd] ↓ NonlinearSolveQuasiNewton v1.6.0 β‡’ v1.5.0
βŒƒ [429524aa] ↓ Optim v1.12.0 β‡’ v1.11.0
  [bca83a33] ↑ OptimizationBase v2.7.0 β‡’ v2.8.0
βŒƒ [6ad6398a] ↓ OrdinaryDiffEqBDF v1.5.1 β‡’ v1.3.0
βŒƒ [4302a76b] ↓ OrdinaryDiffEqDifferentiation v1.9.1 β‡’ v1.4.0
βŒƒ [5960d6e9] ↓ OrdinaryDiffEqFIRK v1.12.0 β‡’ v1.9.0
βŒƒ [127b3ac7] ↓ OrdinaryDiffEqNonlinearSolve v1.10.0 β‡’ v1.5.0
βŒƒ [43230ef6] ↓ OrdinaryDiffEqRosenbrock v1.10.1 β‡’ v1.8.0
  [65ce6f38] + PackageExtensionCompat v1.0.2
βŒƒ [0bca4576] ↓ SciMLBase v2.96.0 β‡’ v2.87.0
βŒƒ [19f34311] ↓ SciMLJacobianOperators v0.1.6 β‡’ v0.1.5
βŒ… [c0aeaf25] ↓ SciMLOperators v0.4.0 β‡’ v0.3.13
  [47a9eef4] + SparseDiffTools v2.26.0
βŒƒ [789caeaf] ↓ StochasticDiffEq v6.80.0 β‡’ v6.79.0
  [19fa3120] + VertexSafeGraphs v0.2.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`
Precompiling project...
  βœ— BoundaryValueDiffEqAscher
  βœ— BoundaryValueDiffEqFIRK
  βœ— BoundaryValueDiffEqMIRK
  βœ— BoundaryValueDiffEqMIRKN
  βœ— BoundaryValueDiffEqShooting
  βœ— BoundaryValueDiffEq
  βœ— DifferentialEquations
  106 dependencies successfully precompiled in 291 seconds. 481 already precompiled.
  7 dependencies errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

The output of pkg> precompile is

Precompiling project...
  βœ— BoundaryValueDiffEqAscher
  βœ— BoundaryValueDiffEqFIRK
  βœ— BoundaryValueDiffEqMIRK
  βœ— BoundaryValueDiffEqMIRKN
  βœ— BoundaryValueDiffEqShooting
  βœ— BoundaryValueDiffEq
  βœ— DifferentialEquations
  0 dependencies successfully precompiled in 32 seconds. 587 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

DifferentialEquations

Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to "C:\\Users\\...\\.julia\\compiled\\v1.11\\DifferentialEquations\\jl_48A5.tmp".
WARNING: could not import BoundaryValueDiffEqCore.BoundaryValueDiffEqAlgorithm into BoundaryValueDiffEqAscher
WARNING: could not import BoundaryValueDiffEqCore.__sparse_jacobian_cache into BoundaryValueDiffEqAscher
ERROR: LoadError: UndefVarError: `BoundaryValueDiffEqAlgorithm` not defined in `BoundaryValueDiffEqAscher`
Stacktrace:
 [1] top-level scope
   @ C:\Users\...\.julia\packages\BoundaryValueDiffEqAscher\bxAAP\src\algorithms.jl:1
 [2] include(mod::Module, _path::String)
   @ Base .\Base.jl:557
 [3] include(x::String)
   @ BoundaryValueDiffEqAscher C:\Users\...\.julia\packages\BoundaryValueDiffEqAscher\bxAAP\src\BoundaryValueDiffEqAscher.jl:1
 [4] top-level scope
   @ C:\Users\...\.julia\packages\BoundaryValueDiffEqAscher\bxAAP\src\BoundaryValueDiffEqAscher.jl:29
 [5] include
   @ .\Base.jl:557 [inlined]
 [6] 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:2881
 [7] top-level scope
   @ stdin:6
in expression starting at C:\Users\...\.julia\packages\BoundaryValueDiffEqAscher\bxAAP\src\algorithms.jl:1
in expression starting at C:\Users\...\.julia\packages\BoundaryValueDiffEqAscher\bxAAP\src\BoundaryValueDiffEqAscher.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile BoundaryValueDiffEqAscher [7227322d-7511-4e07-9247-ad6ff830280e] to "C:\\Users\\...\\.julia\\compiled\\v1.11\\BoundaryValueDiffEqAscher\\jl_5E04.tmp".
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; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
    @ Base .\loading.jl:3174
  [3] (::Base.var"#1110#1111"{Base.PkgId})()
    @ Base .\loading.jl:2579
  [4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile C:\Users\...\AppData\Local\Programs\Julia-1.11.5\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
  [5] #mkpidlock#6
    @ C:\Users\...\AppData\Local\Programs\Julia-1.11.5\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
  [6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile C:\Users\...\AppData\Local\Programs\Julia-1.11.5\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
  [7] #invokelatest#2
    @ .\essentials.jl:1057 [inlined]
  [8] invokelatest
    @ .\essentials.jl:1052 [inlined]
  [9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base .\loading.jl:3698
 [10] maybe_cachefile_lock
    @ .\loading.jl:3695 [inlined]
 [11] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:2565
 [12] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:2388
 [13] #invoke_in_world#3
    @ .\essentials.jl:1089 [inlined]
 [14] invoke_in_world
    @ .\essentials.jl:1086 [inlined]
 [15] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:2375
 [16] macro expansion
    @ .\loading.jl:2314 [inlined]
 [17] macro expansion
    @ .\lock.jl:273 [inlined]
 [18] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:2271
 [19] #invoke_in_world#3
    @ .\essentials.jl:1089 [inlined]
 [20] invoke_in_world
    @ .\essentials.jl:1086 [inlined]
 [21] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:2260
 [22] include
    @ .\Base.jl:557 [inlined]
 [23] 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:2881
 [24] top-level scope
    @ stdin:6
in expression starting at C:\Users\...\.julia\packages\BoundaryValueDiffEq\6TAlC\src\BoundaryValueDiffEq.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to "C:\\Users\\...\\.julia\\compiled\\v1.11\\BoundaryValueDiffEq\\jl_5CCB.tmp".
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; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
    @ Base .\loading.jl:3174
  [3] (::Base.var"#1110#1111"{Base.PkgId})()
    @ Base .\loading.jl:2579
  [4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile C:\Users\...\AppData\Local\Programs\Julia-1.11.5\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
  [5] #mkpidlock#6
    @ C:\Users\...\AppData\Local\Programs\Julia-1.11.5\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
  [6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile C:\Users\...\AppData\Local\Programs\Julia-1.11.5\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
  [7] #invokelatest#2
    @ .\essentials.jl:1057 [inlined]
  [8] invokelatest
    @ .\essentials.jl:1052 [inlined]
  [9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base .\loading.jl:3698
 [10] maybe_cachefile_lock
    @ .\loading.jl:3695 [inlined]
 [11] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:2565
 [12] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:2388
 [13] #invoke_in_world#3
    @ .\essentials.jl:1089 [inlined]
 [14] invoke_in_world
    @ .\essentials.jl:1086 [inlined]
 [15] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:2375
 [16] macro expansion
    @ .\loading.jl:2314 [inlined]
 [17] macro expansion
    @ .\lock.jl:273 [inlined]
 [18] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:2271
 [19] #invoke_in_world#3
    @ .\essentials.jl:1089 [inlined]
 [20] invoke_in_world
    @ .\essentials.jl:1086 [inlined]
 [21] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:2260
 [22] include
    @ .\Base.jl:557 [inlined]
 [23] 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:2881
 [24] top-level scope
    @ stdin:6
in expression starting at C:\Users\...\.julia\packages\DifferentialEquations\eQbP8\src\DifferentialEquations.jl:1
in expression starting at stdin:
@dtxl dtxl added the bug label May 31, 2025
@ChrisRackauckas
Copy link
Member

SparseDiffTools.jl was deprecated and should be removed from that list. Try that and try updating?

@ChrisRackauckas ChrisRackauckas transferred this issue from SciML/Optimization.jl May 31, 2025
@dtxl
Copy link
Author

dtxl commented May 31, 2025

I'm not sure what it means to remove SparseDiffTools.jl from that list, I don't use it. I installed the packages I need from scratch again. When installing pkg> add Optimization the process ends with

[7f7a1694] + Optimization v4.3.0
Updating C:\Users\lothomas\.julia\environments\v1.11\Manifest.toml
βŒƒ [7227322d] ↓ BoundaryValueDiffEqAscher v1.6.0 β‡’ v1.4.0
βŒƒ [85d9eb09] ↓ BoundaryValueDiffEqFIRK v1.7.0 β‡’ v1.5.0
βŒƒ [1a22d4ce] ↓ BoundaryValueDiffEqMIRK v1.7.0 β‡’ v1.5.0
βŒƒ [9255f1d6] ↓ BoundaryValueDiffEqMIRKN v1.6.0 β‡’ v1.4.0
βŒƒ [ed55bfe0] ↓ BoundaryValueDiffEqShooting v1.7.0 β‡’ v1.5.0
[88cd18e8] + ConsoleProgressMonitor v0.1.2
βŒƒ [bcd4f6db] ↓ DelayDiffEq v5.53.1 β‡’ v5.52.0
βŒƒ [2b5f629d] ↓ DiffEqBase v6.175.0 β‡’ v6.174.0
[a0c0ee7d] ↑ DifferentiationInterface v0.6.54 β‡’ v0.7.0
βŒ… [f6369f11] ↓ ForwardDiff v1.0.1 β‡’ v0.10.38
[5be7bae1] + LBFGSB v0.4.1
[1d6d02ad] + LeftChildRightSiblingTrees v0.2.0
[e6f89c97] + LoggingExtras v1.1.0
βŒƒ [d41bc354] ↓ NLSolversBase v7.9.1 β‡’ v7.8.3
βŒƒ [be0214bd] ↓ NonlinearSolveBase v1.12.0 β‡’ v1.8.0
βŒƒ [9a2c21bd] ↓ NonlinearSolveQuasiNewton v1.6.0 β‡’ v1.5.0
βŒƒ [429524aa] ↓ Optim v1.12.0 β‡’ v1.11.0
[7f7a1694] + Optimization v4.3.0
[bca83a33] + OptimizationBase v2.8.0
βŒƒ [6ad6398a] ↓ OrdinaryDiffEqBDF v1.5.1 β‡’ v1.3.0
βŒƒ [4302a76b] ↓ OrdinaryDiffEqDifferentiation v1.9.1 β‡’ v1.4.0
βŒƒ [5960d6e9] ↓ OrdinaryDiffEqFIRK v1.12.0 β‡’ v1.9.0
βŒƒ [127b3ac7] ↓ OrdinaryDiffEqNonlinearSolve v1.10.0 β‡’ v1.5.0
βŒƒ [43230ef6] ↓ OrdinaryDiffEqRosenbrock v1.10.1 β‡’ v1.8.0
[65ce6f38] + PackageExtensionCompat v1.0.2
[33c8b6b6] + ProgressLogging v0.1.4
βŒƒ [0bca4576] ↓ SciMLBase v2.96.0 β‡’ v2.87.0
βŒƒ [19f34311] ↓ SciMLJacobianOperators v0.1.6 β‡’ v0.1.5
βŒ… [c0aeaf25] ↓ SciMLOperators v1.3.0 β‡’ v0.3.13
[47a9eef4] + SparseDiffTools v2.26.0
βŒƒ [789caeaf] ↓ StochasticDiffEq v6.80.0 β‡’ v6.79.0
[5d786b92] + TerminalLoggers v0.1.7
[19fa3120] + VertexSafeGraphs v0.2.0
[81d17ec3] + L_BFGS_B_jll v3.0.1+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
Precompiling project...
βœ— BoundaryValueDiffEqFIRK
βœ— BoundaryValueDiffEqMIRKN
βœ— BoundaryValueDiffEqMIRK
βœ— BoundaryValueDiffEqAscher
βœ— BoundaryValueDiffEqShooting
βœ— BoundaryValueDiffEq
βœ— DifferentialEquations
120 dependencies successfully precompiled in 326 seconds. 309 already precompiled.
7 dependencies errored.
For a report of the errors see julia> err. To retry use pkg> precompile

@ErikQQY
Copy link
Member

ErikQQY commented May 31, 2025

I installed the packages I need from scratch again

Could you share the packages you installed before installing Optimization.jl? For example, pkg> status.

@dtxl
Copy link
Author

dtxl commented May 31, 2025

Of course, the packages are

[336ed68f] CSV v0.10.15
[a93c6f00] DataFrames v1.7.0
[8bb1440f] DelimitedFiles v1.9.1
[0c46a032] DifferentialEquations v7.16.1
[31c24e10] Distributions v0.25.120
βŒ… [f6369f11] ForwardDiff v0.10.38
[50e95529] GeoStatsSolvers v0.7.16
[d3d80556] LineSearches v7.3.0
[4345ca2d] Loess v0.6.4
[bac558e1] OrderedCollections v1.8.1
[1dea7af3] OrdinaryDiffEq v6.98.0
[10745b16] Statistics v1.11.1
[2913bbd2] StatsBase v0.34.5
[bd369af6] Tables v1.12.0
[ade2ca70] Dates v1.11.0
[8ba89e20] Distributed v1.11.0
[37e2e46d] LinearAlgebra v1.11.0
[9a3f8284] Random v1.11.0

@ErikQQY
Copy link
Member

ErikQQY commented May 31, 2025

From local testing, it seems the problem is that OptimizationBase@2.8.0 has a strict compat for DifferentiationInterface@v7, both OrdinaryDiffEq and BoundaryValueDiffEq are affected. @ChrisRackauckas

@dtxl
Copy link
Author

dtxl commented Jun 7, 2025

The error is now

  Updating registry at `~/.julia/registries/General.toml`

Installed OrdinaryDiffEqRosenbrock ────── v1.11.0
Installed BoundaryValueDiffEqMIRKN ────── v1.6.1
Installed BoundaryValueDiffEqMIRK ─────── v1.5.0
Installed BoundaryValueDiffEqFIRK ─────── v1.5.0
Installed FFTW ────────────────────────── v1.9.0
Installed SciMLBase ───────────────────── v2.97.0
Installed LinearSolve ─────────────────── v3.17.0
Installed Graphs ──────────────────────── v1.13.0
Installed EnzymeCore ──────────────────── v0.8.11
Installed Mustache ────────────────────── v1.0.21
Installed DocStringExtensions ─────────── v0.9.5
Installed SparseConnectivityTracer ────── v0.6.19
Installed JumpProcesses ───────────────── v9.16.0
Installed BoundaryValueDiffEqShooting ─── v1.5.0
Installed OrdinaryDiffEqBDF ───────────── v1.6.0
Installed DifferentiationInterface ────── v0.7.0
Installed OrdinaryDiffEqDifferentiation ─ v1.10.0
Installed Tables ──────────────────────── v1.12.1
Installed BoundaryValueDiffEqAscher ───── v1.6.1
Installed UnitfulLatexify ─────────────── v1.7.0
Installed Optim ───────────────────────── v1.11.0
Installed OptimizationBase ────────────── v2.8.0
Updating ~/.julia/environments/v1.11/Project.toml
βŒƒ [429524aa] ↓ Optim v1.12.0 β‡’ v1.11.0
[bd369af6] ↑ Tables v1.12.0 β‡’ v1.12.1
Updating ~/.julia/environments/v1.11/Manifest.toml
[7227322d] ↑ BoundaryValueDiffEqAscher v1.6.0 β‡’ v1.6.1
βŒƒ [85d9eb09] ↓ BoundaryValueDiffEqFIRK v1.7.0 β‡’ v1.5.0
βŒƒ [1a22d4ce] ↓ BoundaryValueDiffEqMIRK v1.7.0 β‡’ v1.5.0
[9255f1d6] ↑ BoundaryValueDiffEqMIRKN v1.6.0 β‡’ v1.6.1
βŒƒ [ed55bfe0] ↓ BoundaryValueDiffEqShooting v1.7.0 β‡’ v1.5.0
[a0c0ee7d] ↑ DifferentiationInterface v0.6.54 β‡’ v0.7.0
[ffbed154] ↑ DocStringExtensions v0.9.4 β‡’ v0.9.5
[f151be2c] ↑ EnzymeCore v0.8.9 β‡’ v0.8.11
[7a1cc6ca] ↑ FFTW v1.8.1 β‡’ v1.9.0
[86223c79] ↑ Graphs v1.12.1 β‡’ v1.13.0
[ccbc3e58] ↑ JumpProcesses v9.14.3 β‡’ v9.16.0
[7ed4a6bd] ↑ LinearSolve v3.16.0 β‡’ v3.17.0
[ffc61752] ↑ Mustache v1.0.20 β‡’ v1.0.21
βŒƒ [d41bc354] ↓ NLSolversBase v7.9.1 β‡’ v7.8.3
βŒƒ [429524aa] ↓ Optim v1.12.0 β‡’ v1.11.0
[bca83a33] ↑ OptimizationBase v2.6.0 β‡’ v2.8.0
[6ad6398a] ↑ OrdinaryDiffEqBDF v1.5.1 β‡’ v1.6.0
[4302a76b] ↑ OrdinaryDiffEqDifferentiation v1.9.1 β‡’ v1.10.0
[43230ef6] ↑ OrdinaryDiffEqRosenbrock v1.10.1 β‡’ v1.11.0
[65ce6f38] + PackageExtensionCompat v1.0.2
[0bca4576] ↑ SciMLBase v2.96.0 β‡’ v2.97.0
[9f842d2f] ↑ SparseConnectivityTracer v0.6.18 β‡’ v0.6.19
[47a9eef4] + SparseDiffTools v2.26.0
[bd369af6] ↑ Tables v1.12.0 β‡’ v1.12.1
[45397f5d] ↑ UnitfulLatexify v1.6.4 β‡’ v1.7.0
[19fa3120] + VertexSafeGraphs v0.2.0
Info Packages marked with βŒƒ have new versions available and may be upgradable.
Precompiling project...
βœ— BoundaryValueDiffEqFIRK
βœ— BoundaryValueDiffEqMIRK
βœ— BoundaryValueDiffEqShooting
βœ— BoundaryValueDiffEq
βœ— DifferentialEquations
188 dependencies successfully precompiled in 76 seconds. 412 already precompiled.
5 dependencies errored.
For a report of the errors see julia> err. To retry use pkg> precompile
Info We haven't cleaned this depot up for a bit, running Pkg.gc()...
Active manifest files: 4 found
Active artifact files: 111 found
Active scratchspaces: 2 found
Deleted 28 package installations (45.005 MiB)

The output of pkg> precompile is

Precompiling project...
βœ— BoundaryValueDiffEqFIRK
βœ— BoundaryValueDiffEqMIRK
βœ— BoundaryValueDiffEqShooting
βœ— BoundaryValueDiffEq
βœ— DifferentialEquations
0 dependencies successfully precompiled in 12 seconds. 600 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

DifferentialEquations

Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to "/Users/.../.julia/compiled/v1.11/DifferentialEquations/jl_H1oOS7".
WARNING: could not import BoundaryValueDiffEqCore.BoundaryValueDiffEqAlgorithm into BoundaryValueDiffEqFIRK
WARNING: could not import BoundaryValueDiffEqCore.__sparse_jacobian_cache into BoundaryValueDiffEqFIRK
WARNING: could not import BoundaryValueDiffEqCore.__sparsity_detection_alg into BoundaryValueDiffEqFIRK
WARNING: could not import BoundaryValueDiffEqCore.__append_similar! into BoundaryValueDiffEqFIRK
WARNING: could not import BoundaryValueDiffEqCore.__similar into BoundaryValueDiffEqFIRK
WARNING: could not import BoundaryValueDiffEqCore.ColoredMatrix into BoundaryValueDiffEqFIRK
WARNING: could not import BoundaryValueDiffEqCore.MaybeDiffCache into BoundaryValueDiffEqFIRK
ERROR: LoadError: UndefVarError: __append_similar! not defined in BoundaryValueDiffEqCore
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:42
[2] top-level scope
@ ~/.julia/packages/BoundaryValueDiffEqFIRK/KTJvZ/src/utils.jl:1
[3] include(mod::Module, _path::String)
@ Base ./Base.jl:557
[4] include(x::String)
@ BoundaryValueDiffEqFIRK ~/.julia/packages/BoundaryValueDiffEqFIRK/KTJvZ/src/BoundaryValueDiffEqFIRK.jl:1
[5] top-level scope
@ ~/.julia/packages/BoundaryValueDiffEqFIRK/KTJvZ/src/BoundaryValueDiffEqFIRK.jl:48
[6] include
@ ./Base.jl:557 [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, UInt128}}, source::String)
@ Base ./loading.jl:2881
[8] top-level scope
@ stdin:6
in expression starting at /Users/tjl/.julia/packages/BoundaryValueDiffEqFIRK/KTJvZ/src/utils.jl:1
in expression starting at /Users/tjl/.julia/packages/BoundaryValueDiffEqFIRK/KTJvZ/src/BoundaryValueDiffEqFIRK.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile BoundaryValueDiffEqFIRK [85d9eb09-370e-4000-bb32-543851f73618] to "/Users/.../.julia/compiled/v1.11/BoundaryValueDiffEqFIRK/jl_dKLeZt".
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; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base ./loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base ./loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile /Applications/Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:95
[5] #mkpidlock#6
@ /Applications/Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@kwargs{stale_age::Int64})
@ FileWatching.Pidfile /Applications/Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:116
[7] #invokelatest#2
@ ./essentials.jl:1057 [inlined]
[8] invokelatest
@ ./essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3698
[10] maybe_cachefile_lock
@ ./loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2388
[13] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[14] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2375
[16] macro expansion
@ ./loading.jl:2314 [inlined]
[17] macro expansion
@ ./lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2271
[19] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[20] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2260
[22] include
@ ./Base.jl:557 [inlined]
[23] 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:2881
[24] top-level scope
@ stdin:6
in expression starting at /Users/tjl/.julia/packages/BoundaryValueDiffEq/6TAlC/src/BoundaryValueDiffEq.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to "/Users/.../.julia/compiled/v1.11/BoundaryValueDiffEq/jl_ZzeGMi".
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; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base ./loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base ./loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile /Applications/Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:95
[5] #mkpidlock#6
@ /Applications/Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@kwargs{stale_age::Int64})
@ FileWatching.Pidfile /Applications/Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:116
[7] #invokelatest#2
@ ./essentials.jl:1057 [inlined]
[8] invokelatest
@ ./essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3698
[10] maybe_cachefile_lock
@ ./loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2388
[13] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[14] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2375
[16] macro expansion
@ ./loading.jl:2314 [inlined]
[17] macro expansion
@ ./lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2271
[19] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[20] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2260
[22] include
@ ./Base.jl:557 [inlined]
[23] 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:2881
[24] top-level scope
@ stdin:6
in expression starting at /Users/tjl/.julia/packages/DifferentialEquations/eQbP8/src/DifferentialEquations.jl:1
in expression starting at stdin:

@ChrisRackauckas
Copy link
Member

Remove Optim?

@dtxl
Copy link
Author

dtxl commented Jun 7, 2025

Installing Optimization before OrdinaryDiffEq and DifferentialEquations works. But with pkg> update the error appears again. To remove Optim has no effect.

@ChrisRackauckas
Copy link
Member

Do ]why BoundaryValueDiffEqShooting

@dtxl
Copy link
Author

dtxl commented Jun 8, 2025

pkg> why BoundaryValueDiffEqShooting
DifferentialEquations β†’ BoundaryValueDiffEq β†’ BoundaryValueDiffEqShooting

@ChrisRackauckas
Copy link
Member

If you update now it should be fine.

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

No branches or pull requests

3 participants