Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on CentOS 7 and Julia v1.3.1 #81

Closed
migarstka opened this issue Jun 22, 2020 · 1 comment
Closed

Build error on CentOS 7 and Julia v1.3.1 #81

migarstka opened this issue Jun 22, 2020 · 1 comment

Comments

@migarstka
Copy link
Collaborator

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:5in 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

@odow
Copy link
Contributor

odow commented Jun 28, 2022

Is this still relevant now that we use OSQP_jll? I think this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants