Dear all,
I have an error during installation of package DataFrames or DataDeps under Ubuntu 22.04 processor AMD (and also the same error on Apple M1 pro). The error is the following one:
(@v1.9) pkg> add DataFrames
Updating registry at `~/.julia/registries/General.toml`
Resolving package versions...
No Changes to `~/.julia/environments/v1.9/Project.toml`
No Changes to `~/.julia/environments/v1.9/Manifest.toml`
Precompiling project...
2 dependencies successfully precompiled in 10 seconds. 418 already precompiled.
2 dependencies had warnings during precompilation:
β OptimizationSparseForwardDiffExt [701a54de-6e64-5ef9-9423-e7f6ffec093b]
β β Warning: Module OptimizationSparseForwardDiffExt with build ID ffffffff-ffff-ffff-0000-77c2cd8cda92 is missing from the cache.
β β This may mean OptimizationSparseForwardDiffExt [701a54de-6e64-5ef9-9423-e7f6ffec093b] does not support precompilation but is imported by a module that does.
β β @ Base loading.jl:1793
β β Error: Error during loading of extension OptimizationSparseForwardDiffExt of Optimization, use `Base.retry_load_extensions()` to retry.
β β exception =
β β 1-element ExceptionStack:
β β Declaring __precompile__(false) is not allowed in files that are being precompiled.
β β Stacktrace:
β β [1] _require(pkg::Base.PkgId, env::Nothing)
β β @ Base ./loading.jl:1797
β β [2] _require_prelocked(uuidkey::Base.PkgId, env::Nothing)
β β @ Base ./loading.jl:1660
β β [3] _require_prelocked(uuidkey::Base.PkgId)
β β @ Base ./loading.jl:1658
β β [4] run_extension_callbacks(extid::Base.ExtensionId)
β β @ Base ./loading.jl:1255
β β [5] run_extension_callbacks(pkgid::Base.PkgId)
β β @ Base ./loading.jl:1290
β β [6] run_package_callbacks(modkey::Base.PkgId)
β β @ Base ./loading.jl:1124
β β [7] _require_prelocked(uuidkey::Base.PkgId, env::String)
β β @ Base ./loading.jl:1667
β β [8] macro expansion
β β @ ./loading.jl:1648 [inlined]
β β [9] macro expansion
β β @ ./lock.jl:267 [inlined]
β β [10] require(into::Module, mod::Symbol)
β β @ Base ./loading.jl:1611
β β [11] top-level scope
β β @ ~/.julia/packages/Optimization/7iJte/ext/OptimizationSparseFiniteDiffExt.jl:8
β β [12] include
β β @ ./Base.jl:457 [inlined]
β β [13] 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:2049
β β [14] top-level scope
β β @ stdin:3
β β [15] eval
β β @ ./boot.jl:370 [inlined]
β β [16] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
β β @ Base ./loading.jl:1903
β β [17] include_string
β β @ ./loading.jl:1913 [inlined]
β β [18] exec_options(opts::Base.JLOptions)
β β @ Base ./client.jl:305
β β [19] _start()
β β @ Base ./client.jl:522
β β @ Base loading.jl:1261
β
β OptimizationSparseFiniteDiffExt [92caba6d-e51c-553f-b336-9fb2cfdd4f0e]
β β Warning: Module OptimizationSparseFiniteDiffExt with build ID ffffffff-ffff-ffff-0000-77c2cdfdb0f7 is missing from the cache.
β β This may mean OptimizationSparseFiniteDiffExt [92caba6d-e51c-553f-b336-9fb2cfdd4f0e] does not support precompilation but is imported by a module that does.
β β @ Base loading.jl:1793
β β Error: Error during loading of extension OptimizationSparseFiniteDiffExt of Optimization, use `Base.retry_load_extensions()` to retry.
β β exception =
β β 1-element ExceptionStack:
β β Declaring __precompile__(false) is not allowed in files that are being precompiled.
β β Stacktrace:
β β [1] _require(pkg::Base.PkgId, env::Nothing)
β β @ Base ./loading.jl:1797
β β [2] _require_prelocked(uuidkey::Base.PkgId, env::Nothing)
β β @ Base ./loading.jl:1660
β β [3] _require_prelocked(uuidkey::Base.PkgId)
β β @ Base ./loading.jl:1658
β β [4] run_extension_callbacks(extid::Base.ExtensionId)
β β @ Base ./loading.jl:1255
β β [5] run_extension_callbacks(pkgid::Base.PkgId)
β β @ Base ./loading.jl:1290
β β [6] run_package_callbacks(modkey::Base.PkgId)
β β @ Base ./loading.jl:1124
β β [7] _require_prelocked(uuidkey::Base.PkgId, env::String)
β β @ Base ./loading.jl:1667
β β [8] macro expansion
β β @ ./loading.jl:1648 [inlined]
β β [9] macro expansion
β β @ ./lock.jl:267 [inlined]
β β [10] require(into::Module, mod::Symbol)
β β @ Base ./loading.jl:1611
β β [11] top-level scope
β β @ ~/.julia/packages/Optimization/7iJte/ext/OptimizationSparseForwardDiffExt.jl:8
β β [12] include
β β @ ./Base.jl:457 [inlined]
β β [13] 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:2049
β β [14] top-level scope
β β @ stdin:3
β β [15] eval
β β @ ./boot.jl:370 [inlined]
β β [16] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
β β @ Base ./loading.jl:1903
β β [17] include_string
β β @ ./loading.jl:1913 [inlined]
β β [18] exec_options(opts::Base.JLOptions)
β β @ Base ./client.jl:305
β β [19] _start()
β β @ Base ./client.jl:522
β β @ Base loading.jl:1261
Thanks in advance for your help,
Konstantin