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

failed to run custom build command for 'openssl-sys v0.9.60' #6

Closed
cmmh opened this issue Jan 12, 2021 · 3 comments
Closed

failed to run custom build command for 'openssl-sys v0.9.60' #6

cmmh opened this issue Jan 12, 2021 · 3 comments

Comments

@cmmh
Copy link

cmmh commented Jan 12, 2021

I encountered the below error. Searching around, it seemed like adding openssl-devel might fix the problem, but it persists.

error: failed to run custom build command for openssl-sys v0.9.60

Caused by:
process didn't exit successfully: /home/srp/proxmox-backup-client/proxmox-backup/target/release/build/openssl-sys-828e1c02a3680a96/build-script-main (exit code: 101)
--- stdout
cargo:rustc-cfg=const_fn
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR
X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR unset
cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
OPENSSL_NO_VENDOR unset

--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }', /home/srp/proxmox-backup-client/proxmox-backup/vendor/openssl-src/src/lib.rs:449:13
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

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

@sg4r
Copy link
Owner

sg4r commented Jan 14, 2021

Thank you for your feedback.
I will check this in the next update

@sg4r
Copy link
Owner

sg4r commented Feb 18, 2021

hi, I just posted an update. can you check if this corrects your problem.

@sg4r sg4r closed this as completed Feb 18, 2021
@cmmh
Copy link
Author

cmmh commented Feb 18, 2021

Thank you. Worked for me on a RHEL 8 system. Will be trying RHEL 7 shortly. RPM generation didn't work, but that is OK

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

2 participants