We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
openssl-sys v0.9.103
Error is: error: failed to run custom build command for openssl-sys v0.9.103
$ docker run -e INPUT_SCOUT_ARGS="-v" -e INPUT_TARGET="/scoutme/" -e CARGO_TARGET_DIR=/tmp -v /home/test/scout-soroban/test-cases/assert-violation:/scoutme scout:latest Updating git repository `https://github.com/CoinFabrik/scout-soroban` Updating git repository `https://github.com/CoinFabrik/scout-soroban` Building detectors Updating git repository `https://github.com/rust-lang/rust-clippy` Updating git repository `https://github.com/CoinFabrik/scout-audit/` Updating git repository `https://github.com/CoinFabrik/scout-audit/` Updating crates.io index Locking 203 packages to latest compatible versions Adding addr2line v0.22.0 (latest: v0.24.1) Adding base64 v0.21.7 (latest: v0.22.1) Adding bitflags v1.3.2 (latest: v2.6.0) Adding core-foundation v0.9.4 (latest: v0.10.0) Adding foreign-types v0.3.2 (latest: v0.5.0) Adding foreign-types-shared v0.1.1 (latest: v0.3.1) Adding gimli v0.29.0 (latest: v0.31.0) Adding h2 v0.3.26 (latest: v0.4.6) Adding hermit-abi v0.3.9 (latest: v0.4.0) Adding http v0.2.12 (latest: v1.1.0) Adding http-body v0.4.6 (latest: v1.0.1) Adding hyper v0.14.30 (latest: v1.4.1) Adding hyper-tls v0.5.0 (latest: v0.6.0) Adding idna v0.5.0 (latest: v1.0.2) Adding itertools v0.12.1 (latest: v0.13.0) Adding linux-raw-sys v0.4.14 (latest: v0.6.5) Adding miniz_oxide v0.7.4 (latest: v0.8.0) Adding reqwest v0.11.27 (latest: v0.12.7) Adding rustls-pemfile v1.0.4 (latest: v2.1.3) Adding serde_json v1.0.120 (latest: v1.0.128) Adding sync_wrapper v0.1.2 (latest: v1.0.1) Adding system-configuration v0.5.1 (latest: v0.6.1) Adding system-configuration-sys v0.5.0 (latest: v0.6.0) Adding toml v0.7.8 (latest: v0.8.19) Adding toml_edit v0.19.15 (latest: v0.22.20) Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) Adding windows-sys v0.48.0 (latest: v0.59.0) Adding windows-sys v0.52.0 (latest: v0.59.0) Adding windows-targets v0.48.5 (latest: v0.52.6) Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) Adding winnow v0.5.40 (latest: v0.6.18) Adding winreg v0.50.0 (latest: v0.52.0) Downloading crates ... Downloaded bitflags v1.3.2 Downloaded openssl-probe v0.1.5 Downloaded capture-stdio v0.1.1 Downloaded sync_wrapper v0.1.2 Downloaded foreign-types v0.3.2 Downloaded if_chain v1.0.2 Downloaded try-lock v0.2.5 Downloaded tinyvec_macros v0.1.1 Downloaded anyhow v1.0.86 Downloaded serde_urlencoded v0.7.1 Downloaded rustls-pemfile v1.0.4 Downloaded toml_datetime v0.6.8 Downloaded camino v1.1.9 Downloaded want v0.3.1 Downloaded tower-service v0.3.3 Downloaded quote v1.0.37 Downloaded tokio-native-tls v0.3.1 Downloaded futures-task v0.3.30 Downloaded futures-io v0.3.30 Downloaded mime v0.3.17 Downloaded rustc-semver v1.1.0 Downloaded thiserror v1.0.63 Downloaded untrusted v0.9.0 Downloaded socket2 v0.5.7 Downloaded miniz_oxide v0.8.0 Downloaded toml v0.7.8 Downloaded native-tls v0.2.12 Downloaded slab v0.4.9 Downloaded rustls-pki-types v1.8.0 Downloaded ipnet v2.9.0 Downloaded httparse v1.9.4 Downloaded getrandom v0.2.15 Downloaded toml v0.8.19 Downloaded serde_derive v1.0.209 Downloaded serde v1.0.209 Downloaded tracing v0.1.40 Downloaded unicode-bidi v0.3.15 Downloaded tracing-core v0.1.32 Downloaded cc v1.1.16 Downloaded proc-macro2 v1.0.86 Downloaded indexmap v2.5.0 Downloaded url v2.5.2 Downloaded toml_edit v0.22.20 Downloaded ureq v2.10.1 Downloaded tokio-util v0.7.12 Downloaded winnow v0.6.18 Downloaded h2 v0.3.26 Downloaded winnow v0.5.40 Downloaded itertools v0.13.0 Downloaded vcpkg v0.2.15 Downloaded webpki-roots v0.26.5 Downloaded hyper v0.14.30 Downloaded syn v2.0.77 Downloaded openssl v0.10.66 Downloaded idna v0.5.0 Downloaded rustls-webpki v0.102.7 Downloaded reqwest v0.11.27 Downloaded itertools v0.12.1 Downloaded futures-util v0.3.30 Downloaded serde_json v1.0.120 Downloaded flate2 v1.0.33 Downloaded unicode-normalization v0.1.23 Downloaded rustls v0.23.12 Downloaded toml_edit v0.19.15 Downloaded mio v1.0.2 Downloaded http v0.2.12 Downloaded tinyvec v1.8.0 Downloaded openssl-sys v0.9.103 Downloaded rustc_apfloat v0.2.1+llvm-462a31f5a5ab Downloaded base64 v0.21.7 Downloaded futures-channel v0.3.30 Downloaded bitflags v2.6.0 Downloaded rustversion v1.0.17 Downloaded serde_spanned v0.6.7 Downloaded percent-encoding v2.3.1 Downloaded dylint_internal v3.1.2 Downloaded pin-project-lite v0.2.14 Downloaded futures-sink v0.3.30 Downloaded libc v0.2.158 Downloaded tokio v1.40.0 Downloaded cargo_metadata v0.18.1 Downloaded cargo-platform v0.1.8 Downloaded crc32fast v1.4.2 Downloaded bytes v1.7.1 Downloaded thiserror-impl v1.0.63 Downloaded pin-utils v0.1.0 Downloaded openssl-macros v0.1.1 Downloaded foreign-types-shared v0.1.1 Downloaded pkg-config v0.3.30 Downloaded os_pipe v1.2.1 Downloaded hyper-tls v0.5.0 Downloaded httpdate v1.0.3 Downloaded http-body v0.4.6 Downloaded futures-core v0.3.30 Downloaded form_urlencoded v1.2.1 Downloaded arrayvec v0.7.6 Downloaded adler2 v2.0.0 Downloaded encoding_rs v0.8.34 Downloaded ring v0.17.8 Compiling proc-macro2 v1.0.86 Compiling unicode-ident v1.0.12 Compiling serde v1.0.209 Compiling libc v0.2.158 Compiling shlex v1.3.0 Compiling hashbrown v0.14.5 Compiling equivalent v1.0.1 Compiling cfg-if v1.0.0 Compiling itoa v1.0.11 Compiling once_cell v1.19.0 Compiling vcpkg v0.2.15 Compiling cc v1.1.16 Compiling pkg-config v0.3.30 Compiling pin-project-lite v0.2.14 Compiling bytes v1.7.1 Compiling autocfg v1.3.0 Compiling indexmap v2.5.0 Compiling slab v0.4.9 Compiling futures-core v0.3.30 Compiling ryu v1.0.18 Compiling quote v1.0.37 Compiling openssl v0.10.66 Compiling mio v1.0.2 Compiling socket2 v0.5.7 Compiling syn v2.0.77 Compiling serde_json v1.0.120 Compiling foreign-types-shared v0.1.1 Compiling fnv v1.0.7 Compiling tinyvec_macros v0.1.1 Compiling log v0.4.22 Compiling http v0.2.12 Compiling tinyvec v1.8.0 Compiling tokio v1.40.0 Compiling foreign-types v0.3.2 Compiling openssl-sys v0.9.103 error: failed to run custom build command for `openssl-sys v0.9.103` Caused by: process didn't exit successfully: `/tmp/release/build/openssl-sys-6a8e60540bede8f3/build-script-main` (exit status: 101) --- stdout cargo:rustc-check-cfg=cfg(osslconf, values("OPENSSL_NO_OCB", "OPENSSL_NO_SM4", "OPENSSL_NO_SEED", "OPENSSL_NO_CHACHA", "OPENSSL_NO_CAST", "OPENSSL_NO_IDEA", "OPENSSL_NO_CAMELLIA", "OPENSSL_NO_RC4", "OPENSSL_NO_BF", "OPENSSL_NO_PSK", "OPENSSL_NO_DEPRECATED_3_0", "OPENSSL_NO_SCRYPT", "OPENSSL_NO_SM3", "OPENSSL_NO_RMD160", "OPENSSL_NO_EC2M", "OPENSSL_NO_OCSP", "OPENSSL_NO_CMS", "OPENSSL_NO_COMP", "OPENSSL_NO_SOCK", "OPENSSL_NO_STDIO")) cargo:rustc-check-cfg=cfg(openssl) cargo:rustc-check-cfg=cfg(libressl) cargo:rustc-check-cfg=cfg(boringssl) cargo:rustc-check-cfg=cfg(libressl250) cargo:rustc-check-cfg=cfg(libressl251) cargo:rustc-check-cfg=cfg(libressl252) cargo:rustc-check-cfg=cfg(libressl261) cargo:rustc-check-cfg=cfg(libressl270) cargo:rustc-check-cfg=cfg(libressl271) cargo:rustc-check-cfg=cfg(libressl273) cargo:rustc-check-cfg=cfg(libressl280) cargo:rustc-check-cfg=cfg(libressl281) cargo:rustc-check-cfg=cfg(libressl291) cargo:rustc-check-cfg=cfg(libressl310) cargo:rustc-check-cfg=cfg(libressl321) cargo:rustc-check-cfg=cfg(libressl332) cargo:rustc-check-cfg=cfg(libressl340) cargo:rustc-check-cfg=cfg(libressl350) cargo:rustc-check-cfg=cfg(libressl360) cargo:rustc-check-cfg=cfg(libressl361) cargo:rustc-check-cfg=cfg(libressl370) cargo:rustc-check-cfg=cfg(libressl380) cargo:rustc-check-cfg=cfg(libressl381) cargo:rustc-check-cfg=cfg(libressl382) cargo:rustc-check-cfg=cfg(libressl390) cargo:rustc-check-cfg=cfg(libressl400) cargo:rustc-check-cfg=cfg(ossl101) cargo:rustc-check-cfg=cfg(ossl102) cargo:rustc-check-cfg=cfg(ossl102f) cargo:rustc-check-cfg=cfg(ossl102h) cargo:rustc-check-cfg=cfg(ossl110) cargo:rustc-check-cfg=cfg(ossl110f) cargo:rustc-check-cfg=cfg(ossl110g) cargo:rustc-check-cfg=cfg(ossl110h) cargo:rustc-check-cfg=cfg(ossl111) cargo:rustc-check-cfg=cfg(ossl111b) cargo:rustc-check-cfg=cfg(ossl111c) cargo:rustc-check-cfg=cfg(ossl111d) cargo:rustc-check-cfg=cfg(ossl300) cargo:rustc-check-cfg=cfg(ossl310) cargo:rustc-check-cfg=cfg(ossl320) cargo:rustc-check-cfg=cfg(ossl330) cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR X86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_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=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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR run pkg_config fail: Could not run `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags openssl` The pkg-config command could not be found. Most likely, you need to install a pkg-config package for your OS. Try `apt install pkg-config`, or `yum install pkg-config`, or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution. If you've already installed it, ensure the pkg-config command is one of the directories in the PATH environment variable. If you did not expect this build to link to a pre-installed system library, then check documentation of the openssl-sys crate for an option to build the library from source, or disable features or dependencies that require pkg-config. --- stderr thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.103/build/find_normal.rs:190:5: Could not find directory of OpenSSL installation, and this `-sys` crate cannot proceed without this knowledge. If OpenSSL is installed and this crate had trouble finding it, you can set the `OPENSSL_DIR` environment variable for the compilation process. Make sure you also have the development packages of openssl installed. For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora. If you're in a situation where you think the directory *should* be found automatically, please open a bug at https://github.com/sfackler/rust-openssl and include information about your system as well as this message. $HOST = x86_64-unknown-linux-gnu $TARGET = x86_64-unknown-linux-gnu openssl-sys = 0.9.103 It looks like you're compiling on Linux and also targeting Linux. Currently this requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config` could not be found. If you have OpenSSL installed you can likely fix this by installing `pkg-config`. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
tenuki
No branches or pull requests
Error is: error: failed to run custom build command for
openssl-sys v0.9.103
The text was updated successfully, but these errors were encountered: