-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
When I try to use manual installation, I have the following error:
Resolving package versions...
No Changes to `~/.julia/environments/v1.11/Project.toml`
No Changes to `~/.julia/environments/v1.11/Manifest.toml`
Precompiling project...
✗ KNITRO
✗ KNITRO → KNITROMathOptInterfaceExt
0 dependencies successfully precompiled in 5 seconds. 53 already precompiled.
The following 2 direct dependencies failed to precompile:
KNITRO
Failed to precompile KNITRO [67920dd8-b58e-52a8-8622-53c4cffbe346] to "/home/yemine/.julia/compiled/v1.11/KNITRO/jl_5wXuBn".
ERROR: LoadError: UndefVarError: `has_knitro` not defined in `KNITRO`
Stacktrace:
[1] top-level scope
@ ~/.julia/packages/KNITRO/XwFWH/src/KNITRO.jl:30
[2] include
@ ./Base.jl:557 [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, UInt128}}, source::Nothing)
@ Base ./loading.jl:2881
[4] top-level scope
@ stdin:6
in expression starting at /home/yemine/.julia/packages/KNITRO/XwFWH/src/KNITRO.jl:6
in expression starting at stdin:6
KNITROMathOptInterfaceExt
Failed to precompile KNITROMathOptInterfaceExt [61483590-471a-561c-abe8-e5b1bbfa6e6a] to "/home/yemine/.julia/compiled/v1.11/KNITROMathOptInterfaceExt/jl_90VNt2".
ERROR: LoadError: UndefVarError: `has_knitro` not defined in `KNITRO`
Stacktrace:
[1] top-level scope
@ ~/.julia/packages/KNITRO/XwFWH/src/KNITRO.jl:30
[2] include
@ ./Base.jl:557 [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, UInt128}}, source::String)
@ Base ./loading.jl:2881
[4] top-level scope
@ stdin:6
in expression starting at /home/yemine/.julia/packages/KNITRO/XwFWH/src/KNITRO.jl:6
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile KNITRO [67920dd8-b58e-52a8-8622-53c4cffbe346] to "/home/yemine/.julia/compiled/v1.11/KNITRO/jl_J5DCqN".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base ./loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base ./loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile ~/julia/julia-1.11.5/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:95
[5] #mkpidlock#6
@ ~/julia/julia-1.11.5/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile ~/julia/julia-1.11.5/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:116
[7] #invokelatest#2
@ ./essentials.jl:1057 [inlined]
[8] invokelatest
@ ./essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3698
[10] maybe_cachefile_lock
@ ./loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2388
[13] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[14] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2375
[16] macro expansion
@ ./loading.jl:2314 [inlined]
[17] macro expansion
@ ./lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2271
[19] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[20] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2260
[22] include
@ ./Base.jl:557 [inlined]
[23] 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:2881
[24] top-level scope
@ stdin:6
in expression starting at /home/yemine/.julia/packages/KNITRO/XwFWH/ext/KNITROMathOptInterfaceExt.jl:6
Building KNITRO → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/100a4dc3c93115971389b6cc9ce7acedb8ab088f/build.log`
Precompiling project...
✗ KNITRO
✗ KNITRO → KNITROMathOptInterfaceExt
0 dependencies successfully precompiled in 4 seconds. 53 already precompiled.
The following 2 direct dependencies failed to precompile:
KNITRO
Failed to precompile KNITRO [67920dd8-b58e-52a8-8622-53c4cffbe346] to "/home/yemine/.julia/compiled/v1.11/KNITRO/jl_AQpQVA".
ERROR: LoadError: UndefVarError: `has_knitro` not defined in `KNITRO`
Stacktrace:
[1] top-level scope
@ ~/.julia/packages/KNITRO/XwFWH/src/KNITRO.jl:30
[2] include
@ ./Base.jl:557 [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, UInt128}}, source::Nothing)
@ Base ./loading.jl:2881
[4] top-level scope
@ stdin:6
in expression starting at /home/yemine/.julia/packages/KNITRO/XwFWH/src/KNITRO.jl:6
in expression starting at stdin:6
KNITROMathOptInterfaceExt
Failed to precompile KNITROMathOptInterfaceExt [61483590-471a-561c-abe8-e5b1bbfa6e6a] to "/home/yemine/.julia/compiled/v1.11/KNITROMathOptInterfaceExt/jl_EmQkW4".
ERROR: LoadError: UndefVarError: `has_knitro` not defined in `KNITRO`
Stacktrace:
[1] top-level scope
@ ~/.julia/packages/KNITRO/XwFWH/src/KNITRO.jl:30
[2] include
@ ./Base.jl:557 [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, UInt128}}, source::String)
@ Base ./loading.jl:2881
[4] top-level scope
@ stdin:6
in expression starting at /home/yemine/.julia/packages/KNITRO/XwFWH/src/KNITRO.jl:6
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile KNITRO [67920dd8-b58e-52a8-8622-53c4cffbe346] to "/home/yemine/.julia/compiled/v1.11/KNITRO/jl_YPdnth".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base ./loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base ./loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile ~/julia/julia-1.11.5/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:95
[5] #mkpidlock#6
@ ~/julia/julia-1.11.5/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile ~/julia/julia-1.11.5/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:116
[7] #invokelatest#2
@ ./essentials.jl:1057 [inlined]
[8] invokelatest
@ ./essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3698
[10] maybe_cachefile_lock
@ ./loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2388
[13] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[14] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2375
[16] macro expansion
@ ./loading.jl:2314 [inlined]
[17] macro expansion
@ ./lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2271
[19] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[20] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2260
[22] include
@ ./Base.jl:557 [inlined]
[23] 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:2881
[24] top-level scope
@ stdin:6
Also I see that it tries to build KNITRO two times probably it is an issue.
Metadata
Metadata
Assignees
Labels
No labels