Skip to content

Build Fails #3

@oemmerson

Description

@oemmerson

Building with Rust 1.39.0 on Linux I get the following:

$ cargo build
   Compiling cc v1.0.4
   Compiling pkg-config v0.3.9
   Compiling libc v0.2.36
   Compiling unicode-xid v0.0.4
   Compiling num-traits v0.1.42
   Compiling matches v0.1.6
   Compiling quote v0.3.15
   Compiling void v1.0.2
   Compiling lazy_static v1.0.0
   Compiling unicode-normalization v0.1.5
   Compiling byteorder v1.2.1
   Compiling percent-encoding v1.0.1
   Compiling rustc-serialize v0.3.24
   Compiling regex-syntax v0.4.2
   Compiling utf8-ranges v1.0.0
   Compiling strsim v0.6.0
   Compiling openssl-probe v0.1.2
   Compiling unicode-width v0.1.4
   Compiling lazy_static v0.2.11
   Compiling bitflags v0.9.1
   Compiling term v0.4.6
   Compiling encode_unicode v0.3.1
   Compiling serde v1.0.27
   Compiling synom v0.11.3
   Compiling cmake v0.1.29
   Compiling memchr v2.0.1
   Compiling memchr v1.0.2
   Compiling time v0.1.39
   Compiling atty v0.2.6
   Compiling unicode-bidi v0.3.4
   Compiling num-integer v0.1.35
   Compiling unreachable v1.0.0
   Compiling openssl-sys v0.9.24
   Compiling libz-sys v1.0.18
   Compiling curl-sys v0.4.1
   Compiling syn v0.11.11
   Compiling aho-corasick v0.6.4
   Compiling csv v0.15.0
   Compiling libssh2-sys v0.2.6
   Compiling libgit2-sys v0.6.19
   Compiling idna v0.1.4
   Compiling num-iter v0.1.34
   Compiling thread_local v0.3.5
error: failed to run custom build command for `openssl-sys v0.9.24`

Caused by:
  process didn't exit successfully: `/tmp/gitostat/target/debug/build/openssl-sys-d41ec50943b07ec1/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
cargo:rerun-if-env-changed=OPENSSL_DIR
cargo:rustc-link-lib=ssl
cargo:rustc-link-lib=crypto
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-Wall" "-Wextra" "-E" "/tmp/gitostat/target/debug/build/openssl-sys-b9d16a5c2e52b512/out/expando.c"
exit code: 0
cargo:rustc-cfg=osslconf="OPENSSL_NO_SSL3_METHOD"
cargo:conf=OPENSSL_NO_SSL3_METHOD

--- stderr
thread 'main' panicked at '

This crate is only compatible with OpenSSL 1.0.1, 1.0.2, and 1.1.0, or LibreSSL
2.5 and 2.6.0, but a different version of OpenSSL was found. The build is now
aborting due to this version mismatch.

', /home/ode79/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.24/build.rs:486:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions