When trying to install OSQP.jl on CentOS 7 and Julia v1.3.1 I get the following build error:
(v1.3) pkg> build OSQP
Building OSQP → `~/.julia/packages/OSQP/BU4WO/deps/build.log`
┌ Error: Error building `OSQP`:
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │ caller = ip:0x0
│ └ @ Core :-1
│ ┌ Warning: Could not extract the platform key of https://dl.bintray.com/bstellato/generic/OSQP/0.6.0/osqp-0.6.0-linux64.tar.gz; continuing...
│ └ @ BinaryProvider ~/.julia/packages/BinaryProvider/U2dKK/src/Prefix.jl:185
│ ERROR: LoadError: LibraryProduct("/home/trin3213/.julia/packages/OSQP/BU4WO/deps/usr/osqp-0.6.0-linux64/lib", ["libosqp"], :osqp, nothing) is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] #write_deps_file#165(::Bool, ::Bool, ::typeof(write_deps_file), ::String, ::Array{LibraryProduct,1}) at /home/trin3213/.julia/packages/BinaryProvider/U2dKK/src/Products.jl:419
│ [3] (::BinaryProvider.var"#kw##write_deps_file")(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(write_deps_file), ::String, ::Array{LibraryProduct,1}) at ./tuple.jl:0
│ [4] top-level scope at /home/trin3213/.julia/packages/OSQP/BU4WO/deps/build.jl:65
│ [5] include at ./boot.jl:328 [inlined]
│ [6] include_relative(::Module, ::String) at ./loading.jl:1105
│ [7] include(::Module, ::String) at ./Base.jl:31
│ [8] include(::String) at ./client.jl:424
│ [9] top-level scope at none:5
│ in expression starting at /home/trin3213/.julia/packages/OSQP/BU4WO/deps/build.jl:65
└ @ Pkg.Operations /data/engs-goulart/trin3213/julia-1.3.1/share/julia/stdlib/v1.3/Pkg/src/backwards_compatible_isolation.jl:649
I assume this is related to the BinaryBuilder PR #75. My current workaround is to clone @kefrobotics fork: https://github.com/kefrobotics/OSQP.jl and install via pkg> add path-to-fork/OSQP.jl
When trying to install
OSQP.jl
on CentOS 7 and Julia v1.3.1 I get the following build error:I assume this is related to the BinaryBuilder PR #75. My current workaround is to clone @kefrobotics fork: https://github.com/kefrobotics/OSQP.jl and install via
pkg> add path-to-fork/OSQP.jl