valpackett / evscript

A tiny sandboxed Dyon scripting environment for evdev input devices that lets you do e.g. xcape in Wayland | now on https://codeberg.org/valpackett/evscript
https://codeberg.org/valpackett/evscript
The Unlicense
121 stars 7 forks source link

doesnt compile with openssl 1.1.1 #5

Closed stCarolas closed 5 years ago

stCarolas commented 5 years ago

https://github.com/sfackler/rust-openssl/issues/987

stCarolas ~/evscript
% cargo build --release

   Compiling openssl v0.9.24                                                                                                                      
   Compiling serde_urlencoded v0.4.3                                                                                                              
   Compiling hyper v0.10.13                                                                                                                       
   Compiling num v0.1.42                                                                                                                          
error: failed to run custom build command for `openssl v0.9.24`                                                                                   
process didn't exit successfully: `/home/stCarolas/evscript/target/release/build/openssl-06a9c873cac216a9/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/stCarolas/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed                                                                                                                               

(101) stCarolas ~/evscript
% openssl version
OpenSSL 1.1.1 FIPS  11 Sep 2018

openssl-devel is also installed

valpackett commented 5 years ago

There's an old lock file, cargo update might help. I'll update the one in the repo soon

valpackett commented 5 years ago

oh, openssl shouldn't even be there, dyon's default features weren't disabled. Fixed now