Created
April 9, 2024 05:54
-
-
Save samuela/2e8d606b5b7f1a44f50056bd88391226 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@6b49c5e222e1:/workspaces/sshenanigans# cargo build | |
Compiling openssl-sys v0.9.101 | |
Compiling anyhow v1.0.81 | |
Compiling clap_builder v4.5.2 | |
Compiling serde_json v1.0.114 | |
Compiling rustix v0.38.31 | |
Compiling sharded-slab v0.1.7 | |
Compiling lock_api v0.4.11 | |
Compiling tracing v0.1.40 | |
Compiling flate2 v1.0.28 | |
Compiling nix v0.28.0 | |
The following warnings were emitted during compilation: | |
warning: [email protected]: In file included from /usr/include/openssl/opensslv.h:109, | |
warning: [email protected]: from build/expando.c:1: | |
warning: [email protected]: /usr/include/openssl/macros.h:14:10: fatal error: openssl/opensslconf.h: No such file or directory | |
warning: [email protected]: 14 | #include <openssl/opensslconf.h> | |
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~ | |
warning: [email protected]: compilation terminated. | |
error: failed to run custom build command for `openssl-sys v0.9.101` | |
Caused by: | |
process didn't exit successfully: `/workspaces/sshenanigans/target/debug/build/openssl-sys-d3648497b5c36368/build-script-main` (exit status: 101) | |
--- stdout | |
cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR | |
AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset | |
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR | |
OPENSSL_LIB_DIR unset | |
cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR | |
AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset | |
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR | |
OPENSSL_INCLUDE_DIR unset | |
cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_DIR | |
AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset | |
cargo:rerun-if-env-changed=OPENSSL_DIR | |
OPENSSL_DIR unset | |
cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG | |
cargo:rerun-if-env-changed=OPENSSL_STATIC | |
cargo:rerun-if-env-changed=OPENSSL_DYNAMIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH | |
cargo:rerun-if-env-changed=PKG_CONFIG_PATH | |
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR | |
cargo:rerun-if-env-changed=SYSROOT | |
cargo:rerun-if-env-changed=OPENSSL_STATIC | |
cargo:rerun-if-env-changed=OPENSSL_DYNAMIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC | |
cargo:rustc-link-lib=ssl | |
cargo:rustc-link-lib=crypto | |
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG | |
cargo:rerun-if-env-changed=OPENSSL_STATIC | |
cargo:rerun-if-env-changed=OPENSSL_DYNAMIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH | |
cargo:rerun-if-env-changed=PKG_CONFIG_PATH | |
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR | |
cargo:rerun-if-changed=build/expando.c | |
OPT_LEVEL = Some("0") | |
TARGET = Some("aarch64-unknown-linux-gnu") | |
HOST = Some("aarch64-unknown-linux-gnu") | |
cargo:rerun-if-env-changed=CC_aarch64-unknown-linux-gnu | |
CC_aarch64-unknown-linux-gnu = None | |
cargo:rerun-if-env-changed=CC_aarch64_unknown_linux_gnu | |
CC_aarch64_unknown_linux_gnu = None | |
cargo:rerun-if-env-changed=HOST_CC | |
HOST_CC = None | |
cargo:rerun-if-env-changed=CC | |
CC = None | |
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT | |
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS | |
CRATE_CC_NO_DEFAULTS = None | |
DEBUG = Some("true") | |
CARGO_CFG_TARGET_FEATURE = Some("neon") | |
cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu | |
CFLAGS_aarch64-unknown-linux-gnu = None | |
cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_linux_gnu | |
CFLAGS_aarch64_unknown_linux_gnu = None | |
cargo:rerun-if-env-changed=HOST_CFLAGS | |
HOST_CFLAGS = None | |
cargo:rerun-if-env-changed=CFLAGS | |
CFLAGS = None | |
cargo:warning=In file included from /usr/include/openssl/opensslv.h:109, | |
cargo:warning= from build/expando.c:1: | |
cargo:warning=/usr/include/openssl/macros.h:14:10: fatal error: openssl/opensslconf.h: No such file or directory | |
cargo:warning= 14 | #include <openssl/opensslconf.h> | |
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~ | |
cargo:warning=compilation terminated. | |
--- stderr | |
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.101/build/main.rs:186:13: | |
Header expansion error: | |
Error { kind: ToolExecError, message: "Command \"cc\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-gdwarf-4\" \"-fno-omit-frame-pointer\" \"-I\" \"/usr/include\" \"-Wall\" \"-Wextra\" \"-E\" \"build/expando.c\" with args \"cc\" did not execute successfully (status code exit status: 1)." } | |
Failed to find OpenSSL development headers. | |
You can try fixing this setting the `OPENSSL_DIR` environment variable | |
pointing to your OpenSSL installation or installing OpenSSL headers package | |
specific to your distribution: | |
# On Ubuntu | |
sudo apt-get install libssl-dev | |
# On Arch Linux | |
sudo pacman -S openssl | |
# On Fedora | |
sudo dnf install openssl-devel | |
# On Alpine Linux | |
apk add openssl-dev | |
See rust-openssl documentation for more information: | |
https://docs.rs/openssl | |
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | |
warning: build failed, waiting for other jobs to finish... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment