Skip to content

[🐞]Incompatibility with Julia 1.12 #150

@truedichotomy

Description

@truedichotomy

Describe the bug
DIVAnd.jl doesn't install in Julia 1.12 macOS. Have not test it on other systems.

Environment

  • Julia version: 1.12 beta 4
  • Operating system: macOS 15.5

Installed modules

Type here the result of the command `import Pkg; Pkg.status()`:

Status `~/.julia/environments/test/Project.toml`
  [efc8151c] DIVAnd v2.7.12

To Reproduce
Pkg.add("DIVAnd.jl")

** Full stack trace with error message**

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

DIVAnd 

Failed to precompile DIVAnd [efc8151c-67de-5a8f-9a35-d8f54746ae9d] to "/Users/user/.julia/compiled/v1.12/DIVAnd/jl_Nvv667".
ERROR: LoadError: cannot define function include; it already has a value
Stacktrace:
  [1] top-level scope
    @ ~/.julia/packages/DIVAnd/4UymR/src/Quadtrees.jl:116
  [2] include(mapexpr::Function, mod::Module, _path::String)
    @ Base ./Base.jl:304
  [3] top-level scope
    @ ~/.julia/packages/DIVAnd/4UymR/src/DIVAnd.jl:526
  [4] include(mod::Module, _path::String)
    @ Base ./Base.jl:303
  [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::Nothing)
    @ Base ./loading.jl:2991
  [6] top-level scope
    @ stdin:5
  [7] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
  [8] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2837
  [9] include_string
    @ ./loading.jl:2847 [inlined]
 [10] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:319
 [11] _start()
    @ Base ./client.jl:554
in expression starting at /Users/user/.julia/packages/DIVAnd/4UymR/src/Quadtrees.jl:1
in expression starting at /Users/user/.julia/packages/DIVAnd/4UymR/src/DIVAnd.jl:1
in expression starting at stdin:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions