JuliaImages / ImageView.jl

Interactive display of images and movies
MIT License
135 stars 34 forks source link

ImageView not precompiling on 1.9.0-alpha1 #275

Closed david-lamy closed 1 year ago

david-lamy commented 1 year ago

julia> import Pkg;Pkg.precompile() Precompiling environment... ✗ ImageView 0 dependencies successfully precompiled in 4 seconds. 177 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

ImageView [86fae568-95e7-573e-a6b2-d8a6b900c9ef]

Failed to precompile ImageView [86fae568-95e7-573e-a6b2-d8a6b900c9ef] to /home/del/.julia/compiled/v1.9/ImageView/jl_SDVbbU. ERROR: LoadError: UndefVarError: #imshow##kw not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/ImageView/AJiQh/src/ImageView.jl:787 [2] include @ ./Base.jl:450 [inlined] [3] 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:1667 [4] top-level scope @ stdin:1 in expression starting at /home/del/.julia/packages/ImageView/AJiQh/src/ImageView.jl:1 in expression starting at stdin:1 Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types ~/source/julia-alpha/usr/share/julia/stdlib/v1.9/Pkg/src/Types.jl:68 [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{String}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ Pkg.API ~/source/julia-alpha/usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1436 [3] precompile @ ~/source/julia-alpha/usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1073 [inlined] [4] #precompile#217 @ ~/source/julia-alpha/usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1072 [inlined] [5] precompile @ ~/source/julia-alpha/usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1072 [inlined] [6] precompile() @ Pkg.API ~/source/julia-alpha/usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1072 [7] top-level scope @ REPL[2]:1

I compiled 1.9.0-alpha1 from its git repository. Sorry, I did not run versioninfo() befored nuking the source directory. If this helps: Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 12 × Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-13.0.1 (ORCJIT, skylake) Threads: 1 on 12 virtual cores However this message: ERROR: LoadError: UndefVarError: #imshow##kw not defined has been a common feature of 1.9.0-dev to 1.10.0-dev for some time now.