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

Precompilation failure on Julia 1.10.x #40

Open
marcoxa opened this issue Jul 5, 2024 · 0 comments
Open

Precompilation failure on Julia 1.10.x #40

marcoxa opened this issue Jul 5, 2024 · 0 comments

Comments

@marcoxa
Copy link

marcoxa commented Jul 5, 2024

Subject says it all.

Precompiling project...
  ✗ CombinedParsers
  0 dependencies successfully precompiled in 26 seconds. 142 already precompiled.
  1 dependency errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

Checking the error gives back this.

PkgPrecompileError: The following 1 direct dependency failed to precompile:

CombinedParsers [5ae71ed2-6f8a-4ed1-b94f-e14e8158f19e]

Failed to precompile CombinedParsers [5ae71ed2-6f8a-4ed1-b94f-e14e8158f19e] to "C:\\Users\\marco\\.julia\\compiled\\v1.10\\CombinedParsers\\jl_75B0.tmp".
ERROR: LoadError: Nothing <: CombinedParsers.CombinedParser. Fix with `push!(x|CombinedParsers.ConstantParser{Nothing, Nothing},y)`.
re""
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] pushfirst!(x::CombinedParsers.Either{Vector{Any}, Any, CombinedParsers.CombinedParser}, y_::Nothing)
    @ CombinedParsers C:\Users\marco\.julia\packages\CombinedParsers\kbHhW\src\CombinedParsers.jl:2003
  [3] pushfirst!(x::CombinedParsers.NamedParser{CombinedParsers.Either{Vector{Any}, Any, CombinedParsers.CombinedParser}, Any, CombinedParsers.CombinedParser}, y::Nothing)
    @ CombinedParsers C:\Users\marco\.julia\packages\CombinedParsers\kbHhW\src\CombinedParsers.jl:2025
  [4] top-level scope
    @ C:\Users\marco\.julia\packages\CombinedParsers\kbHhW\src\CombinedParsers.jl:638
  [5] include(mod::Module, _path::String)
    @ Base .\Base.jl:495
  [6] include(x::String)
    @ CombinedParsers C:\Users\marco\.julia\packages\CombinedParsers\kbHhW\src\CombinedParsers.jl:13
  [7] top-level scope
    @ C:\Users\marco\.julia\packages\CombinedParsers\kbHhW\src\CombinedParsers.jl:2325
  [8] include
    @ .\Base.jl:495 [inlined]
  [9] 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
 [10] top-level scope
    @ stdin:3
in expression starting at C:\Users\marco\.julia\packages\CombinedParsers\kbHhW\src\bnf.jl:1
in expression starting at C:\Users\marco\.julia\packages\CombinedParsers\kbHhW\src\CombinedParsers.jl:6
in expression starting at stdin:

This is on Julia 1.0.x (running on Windows, same on Mac OS).

The situation is even worse if you have several SciMl.ai packages installed. Many get downgraded, but the installation still fails.

All the best

Marco

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

1 participant