* Package: sys-apps/habitat-0.54.0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking habitat-0.54.0.tar.gz to /var/tmp/portage/sys-apps/habitat-0.54.0/work >>> Unpacking habitat-cargo-0.54.0.tar.xz to /var/tmp/portage/sys-apps/habitat-0.54.0/work >>> Source unpacked in /var/tmp/portage/sys-apps/habitat-0.54.0/work >>> Preparing source in /var/tmp/portage/sys-apps/habitat-0.54.0/work/habitat-0.54.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/habitat-0.54.0/work/habitat-0.54.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/habitat-0.54.0/work/habitat-0.54.0 ... make -j1 sh -c 'cd components/hab && cargo build' Compiling libc v0.2.36 Compiling pkg-config v0.3.9 Compiling cfg-if v0.1.2 Compiling byteorder v1.2.1 Compiling lazy_static v1.0.0 Compiling version_check v0.1.3 Compiling cc v1.0.4 Compiling safemem v0.2.0 Compiling num-traits v0.1.42 Compiling percent-encoding v1.0.1 Compiling futures v0.1.18 Compiling void v1.0.2 Compiling matches v0.1.6 Compiling traitobject v0.1.0 Compiling foreign-types-shared v0.1.1 Compiling serde v1.0.27 Compiling unicode-xid v0.0.4 Compiling unicode-normalization v0.1.5 Compiling regex-syntax v0.4.2 Compiling utf8-ranges v1.0.0 Compiling quote v0.3.15 Compiling httparse v1.2.4 Compiling gcc v0.3.54 Compiling itoa v0.3.4 Compiling language-tags v0.2.2 Compiling lazycell v0.6.0 Compiling slab v0.3.0 Compiling dtoa v0.4.2 Compiling bitflags v1.0.1 Compiling openssl v0.10.2 Compiling openssl v0.9.23 Compiling ansi_term v0.10.2 Compiling slab v0.4.0 Compiling scoped-tls v0.1.0 Compiling antidote v1.0.0 Compiling winapi-build v0.1.1 Compiling bitflags v0.9.1 Compiling typeable v0.1.2 Compiling hex v0.3.1 Compiling habitat_http_client v0.0.0 (/var/tmp/portage/sys-apps/habitat-0.54.0/work/habitat-0.54.0/components/http-client) Compiling winapi v0.2.8 Compiling fnv v1.0.6 Compiling protobuf v1.4.3 Compiling broadcast v0.1.0 Compiling tee v0.1.0 Compiling unicode-width v0.1.4 Compiling lazy_static v0.2.11 Compiling same-file v1.0.2 Compiling pest v0.3.3 Compiling quick-error v1.2.1 Compiling hab v0.0.0 (/var/tmp/portage/sys-apps/habitat-0.54.0/work/habitat-0.54.0/components/hab) Compiling term v0.4.6 Compiling termcolor v0.3.3 Compiling vec_map v0.8.0 Compiling strsim v0.7.0 Compiling log v0.4.1 Compiling unreachable v1.0.0 Compiling unicode-bidi v0.3.4 Compiling foreign-types v0.3.2 Compiling unsafe-any v0.4.2 Compiling synom v0.11.3 Compiling time v0.1.39 Compiling memchr v2.0.1 Compiling iovec v0.1.2 Compiling rand v0.4.2 Compiling num_cpus v1.8.0 Compiling net2 v0.2.31 Compiling errno v0.2.3 Compiling users v0.6.0 Compiling atty v0.2.6 Compiling base64 v0.9.0 Compiling base64 v0.6.0 Compiling unicase v2.1.0 Compiling unicase v1.4.2 Compiling num-integer v0.1.35 Compiling libsodium-sys v0.0.16 Compiling libarchive3-sys v0.1.2 Compiling habitat-builder-protocol v0.0.0 (https://github.com/habitat-sh/builder.git#b67097c4) Compiling kernel32-sys v0.2.2 Compiling walkdir v2.1.3 Compiling textwrap v0.9.0 Compiling thread_local v0.3.5 Compiling log v0.3.9 Compiling typemap v0.3.3 Compiling syn v0.11.11 Compiling aho-corasick v0.6.4 Compiling relay v0.1.1 Compiling tokio-service v0.1.0 Compiling bytes v0.4.6 Compiling idna v0.1.4 Compiling openssl-sys v0.9.24 Compiling futures-cpupool v0.1.8 Compiling rand v0.3.22 Compiling num-iter v0.1.34 Compiling habitat_core v0.0.0 (https://github.com/habitat-sh/core.git#a2ee9f21) Compiling clap v2.29.4 Compiling mio v0.6.13 Compiling mime v0.2.6 Compiling regex v0.2.5 Compiling retry v0.4.0 Compiling uuid v0.5.1 Compiling num v0.1.41 Compiling tokio-io v0.1.4 Compiling mime v0.3.5 Compiling serde_json v1.0.9 Compiling toml v0.4.5 Compiling url v1.6.0 Compiling sodiumoxide v0.0.16 Compiling libarchive v0.1.1 Compiling chrono v0.4.0 error: failed to run custom build command for `openssl-sys v0.9.24` Caused by: process didn't exit successfully: `/var/tmp/portage/sys-apps/habitat-0.54.0/work/habitat-0.54.0/target/debug/build/openssl-sys-1371cd12e3bedd49/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 = Some("-O2 -pipe -march=native -fno-common -falign-functions=32:25:16") DEBUG = Some("true") running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-O2" "-pipe" "-march=native" "-fno-common" "-falign-functions=32:25:16" "-g" "-m64" "-Wall" "-Wextra" "-E" "/var/tmp/portage/sys-apps/habitat-0.54.0/work/habitat-0.54.0/target/debug/build/openssl-sys-c779b1f878ca8596/out/expando.c" exit code: 0 cargo:rustc-cfg=osslconf="OPENSSL_NO_BUF_FREELISTS" cargo:rustc-cfg=osslconf="OPENSSL_NO_COMP" cargo:rustc-cfg=osslconf="OPENSSL_NO_KRB5" cargo:rustc-cfg=osslconf="OPENSSL_NO_PSK" cargo:rustc-cfg=osslconf="OPENSSL_NO_RFC3779" cargo:rustc-cfg=osslconf="OPENSSL_NO_SRP" cargo:rustc-cfg=osslconf="OPENSSL_NO_SSL3_METHOD" cargo:conf=OPENSSL_NO_BUF_FREELISTS,OPENSSL_NO_COMP,OPENSSL_NO_KRB5,OPENSSL_NO_PSK,OPENSSL_NO_RFC3779,OPENSSL_NO_SRP,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. ', /var/tmp/portage/sys-apps/habitat-0.54.0/homedir/.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[E0713]: borrow may still be in use when destructor runs --> /var/tmp/portage/sys-apps/habitat-0.54.0/homedir/.cargo/registry/src/github.com-1ecc6299db9ec823/url-1.6.0/src/form_urlencoded.rs:261:40 | 259 | impl<'a> Target for ::UrlQuery<'a> { | -- lifetime `'a` defined here 260 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization } 261 | fn finish(self) -> &'a mut ::Url { self.url } | ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait | | | returning this value requires that `*self.url` is borrowed for `'a` error: aborting due to previous error For more information about this error, try `rustc --explain E0713`. error: could not compile `url`. warning: build failed, waiting for other jobs to finish... error: build failed make: *** [Makefile:181: build-hab] Error 101 * ERROR: sys-apps/habitat-0.54.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/habitat-0.54.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/habitat-0.54.0::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:habitat-0.54.0:20200221-133426.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/habitat-0.54.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/habitat-0.54.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/habitat-0.54.0/work/habitat-0.54.0' * S: '/var/tmp/portage/sys-apps/habitat-0.54.0/work/habitat-0.54.0'