-
-
Save kimat/79bdd3507a2099c98e01a3714122f5e1 to your computer and use it in GitHub Desktop.
nixos espanso openssl error
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
nix-build -A espanso | |
these derivations will be built: | |
/nix/store/fa8rjbfz1gvns3wzdk9am9nsqli5adhj-espanso-0.5.5.drv | |
building '/nix/store/fa8rjbfz1gvns3wzdk9am9nsqli5adhj-espanso-0.5.5.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/23jv69kmsszw5dvl78nf2p38mw91fd16-source | |
source root is source | |
unpacking source archive /nix/store/h6c1zc70v90sb7fihqc1sahri1k3l62a-espanso-0.5.5-vendor.tar.gz | |
patching sources | |
Validating consistency between /build/source/Cargo.lock and /build/espanso-0.5.5-vendor.tar.gz/Cargo.lock | |
configuring | |
building | |
++ env CC_x86_64-unknown-linux-gnu=/nix/store/k930l9lckxjf4zmafv4aapvdbd2sibmj-gcc-wrapper-9.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/k930l9lckxjf4zmafv4aapvdbd2sibmj-gcc-wrapper-9.3.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/k930l9lckxjf4zmafv4aapvdbd2sibmj-gcc-wrapper-9.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/k930l9lckxjf4zmafv4aapvdbd2sibmj-gcc-wrapper-9.3.0/bin/c++ cargo build --release --target x86_64-unknown-linux-gnu --frozen --locked | |
Compiling libc v0.2.62 | |
Compiling cfg-if v0.1.9 | |
Compiling autocfg v0.1.6 | |
Compiling lazy_static v1.4.0 | |
Compiling cc v1.0.45 | |
Compiling semver-parser v0.7.0 | |
Compiling rand_core v0.4.2 | |
Compiling log v0.4.8 | |
Compiling smallvec v0.6.10 | |
Compiling futures v0.1.29 | |
Compiling byteorder v1.3.2 | |
Compiling version_check v0.1.5 | |
Compiling either v1.5.3 | |
Compiling proc-macro2 v1.0.2 | |
Compiling fnv v1.0.6 | |
Compiling slab v0.4.2 | |
Compiling matches v0.1.8 | |
Compiling unicode-xid v0.2.0 | |
Compiling arrayvec v0.4.11 | |
Compiling pkg-config v0.3.16 | |
Compiling memchr v2.2.1 | |
Compiling syn v1.0.5 | |
Compiling stable_deref_trait v1.1.1 | |
Compiling itoa v0.4.4 | |
Compiling proc-macro2 v0.4.30 | |
Compiling unicode-xid v0.1.0 | |
Compiling nodrop v0.1.13 | |
Compiling scopeguard v0.3.3 | |
Compiling getrandom v0.1.12 | |
Compiling serde v1.0.99 | |
Compiling rustc-demangle v0.1.16 | |
Compiling syn v0.15.44 | |
Compiling bitflags v1.1.0 | |
Compiling scopeguard v1.0.0 | |
Compiling regex-syntax v0.6.12 | |
Compiling ppv-lite86 v0.2.5 | |
Compiling failure_derive v0.1.5 | |
Compiling openssl v0.10.24 | |
Compiling percent-encoding v1.0.1 | |
Compiling crc32fast v1.2.0 | |
Compiling ryu v1.0.0 | |
Compiling foreign-types-shared v0.1.1 | |
Compiling httparse v1.3.4 | |
Compiling percent-encoding v2.1.0 | |
Compiling native-tls v0.2.3 | |
Compiling try-lock v0.2.2 | |
Compiling indexmap v1.2.0 | |
Compiling unicode-width v0.1.6 | |
Compiling adler32 v1.0.3 | |
Compiling openssl-probe v0.1.2 | |
Compiling dtoa v0.4.4 | |
Compiling encoding_rs v0.8.20 | |
Compiling mime v0.3.14 | |
Compiling remove_dir_all v0.5.2 | |
Compiling linked-hash-map v0.5.2 | |
Compiling same-file v1.0.5 | |
Compiling vec_map v0.8.1 | |
Compiling ansi_term v0.11.0 | |
Compiling strsim v0.8.0 | |
Compiling podio v0.1.6 | |
Compiling widestring v0.4.0 | |
Compiling try_from v0.3.2 | |
Compiling crossbeam-utils v0.6.6 | |
Compiling thread_local v0.3.6 | |
Compiling semver v0.9.0 | |
Compiling cmake v0.1.42 | |
Compiling rand_core v0.3.1 | |
Compiling rand_jitter v0.1.4 | |
Compiling rand_pcg v0.1.2 | |
Compiling rand_chacha v0.1.1 | |
Compiling rand v0.6.5 | |
Compiling num-traits v0.2.8 | |
Compiling num-integer v0.1.41 | |
Compiling unicode-normalization v0.1.8 | |
Compiling unicase v2.5.1 | |
Compiling error-chain v0.12.1 | |
Compiling tokio-sync v0.1.6 | |
Compiling unicode-bidi v0.3.4 | |
Compiling owning_ref v0.4.0 | |
Compiling backtrace-sys v0.1.31 | |
Compiling openssl-sys v0.9.49 | |
Compiling bzip2-sys v0.1.7 | |
Compiling c2-chacha v0.2.2 | |
Compiling foreign-types v0.3.2 | |
Compiling textwrap v0.11.0 | |
Compiling miniz_oxide v0.3.2 | |
Compiling walkdir v2.2.9 | |
Compiling yaml-rust v0.4.3 | |
Compiling tokio-executor v0.1.8 | |
Compiling crossbeam-queue v0.1.2 | |
Compiling rustc_version v0.2.3 | |
Compiling rand_xorshift v0.1.1 | |
Compiling rand_hc v0.1.0 | |
Compiling rand_isaac v0.1.1 | |
Compiling espanso v0.5.5 (/build/source) | |
Compiling idna v0.1.5 | |
Compiling idna v0.2.0 | |
Compiling lock_api v0.1.5 | |
error: failed to run custom build command for `openssl-sys v0.9.49` | |
Caused by: | |
process didn't exit successfully: `/build/source/target/release/build/openssl-sys-99b665eca2a12673/build-script-main` (exit code: 101) | |
--- stdout | |
cargo:rustc-cfg=const_fn | |
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 | |
run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit code: 1\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'openssl\' found\n" | |
--- stderr | |
thread 'main' panicked at ' | |
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.49 | |
', /build/espanso-0.5.5-vendor.tar.gz/openssl-sys/build/find_normal.rs:150:5 | |
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | |
warning: build failed, waiting for other jobs to finish... | |
error: build failed | |
builder for '/nix/store/fa8rjbfz1gvns3wzdk9am9nsqli5adhj-espanso-0.5.5.drv' failed with exit code 101 | |
error: build of '/nix/store/fa8rjbfz1gvns3wzdk9am9nsqli5adhj-espanso-0.5.5.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment