Skip to content

Revise won't compile with PackageCompiler on Julia 1.10.1 #803

@andyferris

Description

@andyferris

Since upgrading to Julia v1.10.1 (from v1.10.0) I now get the following during compilation with PackageCompiler.jl:

Failed to precompile Revise [295af30f-e4ad-537b-8983-00126c2a3abe] to "/app/.julia/compiled/v1.10/Revise/jl_mllOLx".
ERROR: LoadError: BoundsError: attempt to access 0-element Vector{Tuple{Module, String}} at index [1]
Stacktrace:
 [1] getindex(A::Vector{Tuple{Module, String}}, i1::Int64)
   @ Base ./essentials.jl:13
 [2] top-level scope
   @ /app/.julia/packages/Revise/FaTes/src/packagedef.jl:155
 [3] include(mod::Module, _path::String)
   @ Base ./Base.jl:495
 [4] include(x::String)
   @ Revise /app/.julia/packages/Revise/FaTes/src/Revise.jl:25
 [5] top-level scope
   @ /app/.julia/packages/Revise/FaTes/src/Revise.jl:44
 [6] include
   @ ./Base.jl:495 [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::Nothing)
   @ Base ./loading.jl:2222
 [8] top-level scope
   @ stdin:3
in expression starting at /app/.julia/packages/Revise/FaTes/src/packagedef.jl:148
in expression starting at /app/.julia/packages/Revise/FaTes/src/Revise.jl:1
in expression starting at stdin:3

I'm using the Julia 1.10.1 amd64 linux docker container, Revise 3.5.13, PackageCompiler 2.1.17 and I'm compiling a bunch of proprietary code. Sorry, I don't have a lot more to go on at this point!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions