Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created May 16, 2021 09:21
Show Gist options
  • Save r-rmcgibbo/5fa1e24a016274fe49d5fa556b0eec45 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/5fa1e24a016274fe49d5fa556b0eec45 to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: a minute | https://github.com/NixOS/nixpkgs/pull/123210
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/q82290z6dx6nmrawxgzdyr6dcih6g3c7-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/7nxjmg17fp4syrqbjqvy102xjgwwdkcv-cargo-flash-0.10.1-vendor.tar.gz
Finished cargoSetupPostUnpackHook
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
Executing cargoSetupPostPatchHook
Validating consistency between /build/source//Cargo.lock and /build/cargo-flash-0.10.1-vendor.tar.gz/Cargo.lock
Finished cargoSetupPostPatchHook
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing cargoBuildHook
++ env CC_x86_64-unknown-linux-gnu=/nix/store/zzvq5qwlm2xikawfqxb0q8gl2bw391a9-gcc-wrapper-10.2.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/zzvq5qwlm2xikawfqxb0q8gl2bw391a9-gcc-wrapper-10.2.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/zzvq5qwlm2xikawfqxb0q8gl2bw391a9-gcc-wrapper-10.2.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/zzvq5qwlm2xikawfqxb0q8gl2bw391a9-gcc-wrapper-10.2.0/bin/c++ cargo build -j 2 --target x86_64-unknown-linux-gnu --frozen --release
Compiling libc v0.2.80
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Compiling syn v1.0.48
Compiling autocfg v1.0.1
Compiling cfg-if v0.1.10
Compiling serde_derive v1.0.117
Compiling serde v1.0.117
Compiling lazy_static v1.4.0
Compiling version_check v0.9.2
Compiling pkg-config v0.3.19
Compiling cc v1.0.63
Compiling log v0.4.11
Compiling memchr v2.3.4
Compiling crc32fast v1.2.1
Compiling getrandom v0.1.15
Compiling itoa v0.4.6
Compiling tinyvec_macros v0.1.0
Compiling matches v0.1.8
Compiling ryu v1.0.5
Compiling hashbrown v0.9.1
Compiling bitflags v1.2.1
Compiling serde_json v1.0.59
Compiling percent-encoding v2.1.0
Compiling ppv-lite86 v0.2.10
Compiling typenum v1.12.0
Compiling bytes v0.5.6
Compiling futures-core v0.3.8
Compiling cfg-if v1.0.0
Compiling slab v0.4.2
Compiling fnv v1.0.7
Compiling pin-project-lite v0.1.11
Compiling pin-project-internal v0.4.27
Compiling adler v0.2.3
Compiling regex-syntax v0.6.21
Compiling fallible-iterator v0.2.0
Compiling rle-decode-fast v1.0.1
Compiling openssl v0.10.30
Compiling foreign-types-shared v0.1.1
Compiling adler32 v1.2.0
Compiling libflate_lz77 v1.0.0
Compiling stable_deref_trait v1.2.0
Compiling once_cell v1.5.2
Compiling native-tls v0.2.6
Compiling futures-sink v0.3.8
Compiling httparse v1.3.4
Compiling linked-hash-map v0.5.3
Compiling semver-parser v0.7.0
Compiling futures-io v0.3.8
Compiling wasmparser v0.57.0
Compiling pin-utils v0.1.0
Compiling anyhow v1.0.34
Compiling openssl-probe v0.1.2
Compiling unicode-width v0.1.8
Compiling try-lock v0.2.3
Compiling dtoa v0.4.6
Compiling byteorder v1.3.4
Compiling base64 v0.13.0
Compiling encoding_rs v0.8.26
Compiling rustc-demangle v0.1.18
Compiling ucd-trie v0.1.3
Compiling httpdate v0.3.2
Compiling tower-service v0.3.0
Compiling unicode-segmentation v1.7.0
Compiling proc-macro-hack v0.5.19
Compiling mime v0.3.16
Compiling match_cfg v0.1.0
Compiling ansi_term v0.11.0
Compiling termcolor v1.1.2
Compiling plain v0.2.3
Compiling vec_map v0.8.2
Compiling ipnet v2.3.0
Compiling strsim v0.8.0
Compiling base64 v0.12.3
Compiling svg v0.8.0
Compiling humantime v2.0.1
Compiling number_prefix v0.3.0
Compiling ihex v3.0.0
Compiling bitfield v0.13.2
Compiling dunce v1.0.1
Compiling num-traits v0.2.14
Compiling indexmap v1.6.0
Compiling num-integer v0.1.44
Compiling miniz_oxide v0.4.3
Compiling thread_local v1.0.1
Compiling tracing-core v0.1.17
Compiling unicase v2.6.0
Compiling im v15.0.0
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Compiling tinyvec v1.0.1
Compiling unicode-bidi v0.3.4
Compiling openssl-sys v0.9.58
Compiling hidapi v1.2.3
Compiling form_urlencoded v1.0.0
Compiling futures-channel v0.3.8
Compiling http v0.2.1
Compiling foreign-types v0.3.2
Compiling futures-task v0.3.8
Compiling yaml-rust v0.4.4
Compiling semver v0.9.0
Compiling textwrap v0.11.0
Compiling pest v2.1.3
Compiling heck v0.3.1
Compiling unicode-normalization v0.1.16
error: failed to run custom build command for `openssl-sys v0.9.58`
Caused by:
process didn't exit successfully: `/build/source/target/release/build/openssl-sys-dc14cc194c8996d8/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
cargo:rerun-if-env-changed=OPENSSL_NO_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
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.58
', /build/cargo-flash-0.10.1-vendor.tar.gz/openssl-sys/build/find_normal.rs:157: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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment