Summary: | dev-lang/rust-1.35.0[libressl]: This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5 through 2.9.0, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Strogin <steils> |
Component: | Current packages | Assignee: | Gentoo Rust Project <rust> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anarchy, libressl, toralf |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/11810 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 561854 | ||
Attachments: | build.log |
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b327798c4d14398f0a1f55140cf95241fb5aeda0 commit b327798c4d14398f0a1f55140cf95241fb5aeda0 Author: Stefan Strogin <stefan.strogin@gmail.com> AuthorDate: 2019-04-24 06:55:03 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-04-24 16:30:58 +0000 dev-lang/rust: add patch to support LibreSSL 2.9.x Closes: https://bugs.gentoo.org/684224 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11810 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust/files/1.34.0-libressl.patch | 29 +++++++++++++++++++++++++++++ dev-lang/rust/rust-1.34.0-r2.ebuild | 1 + 2 files changed, 30 insertions(+) *** Bug 684292 has been marked as a duplicate of this bug. *** After bumping rust to 1.35.0 the patch was dropped, and the error is the same: error: failed to run custom build command for `openssl-sys v0.9.40` process didn't exit successfully: `/var/tmp/portage/dev-lang/rust-1.35.0/work/rustc-1.35.0-src/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/openssl-sys-1c9e31b2f60b5d52/build-script-main` (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("2") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = Some("x86_64-pc-linux-gnu-gcc") CFLAGS_x86_64-unknown-linux-gnu = Some("-ffunction-sections -fdata-sections -fPIC -m64 -m64") DEBUG = Some("false") running: "x86_64-pc-linux-gnu-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-m64" "-m64" "-E" "/var/tmp/portage/dev-lang/rust-1.35.0/work/rustc-1.35.0-src/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/openssl-sys-c50975ca33b002dd/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 cargo:rustc-cfg=libressl cargo:rustc-cfg=libressl251 cargo:rustc-cfg=libressl261 cargo:rustc-cfg=libressl270 cargo:rustc-cfg=libressl273 cargo:rustc-cfg=libressl280 cargo:rustc-cfg=libressl281 cargo:libressl_version_number=2090200f --- stderr thread 'main' panicked at ' This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5 through 2.9.0, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. ', /var/tmp/portage/dev-lang/rust-1.35.0/work/rustc-1.35.0-src/vendor/openssl-sys/build/main.rs:544: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 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0398cdfa2555cbf72562b0c557dfd42489fc8f57 commit 0398cdfa2555cbf72562b0c557dfd42489fc8f57 Author: Stefan Strogin <steils@gentoo.org> AuthorDate: 2019-05-26 12:42:11 +0000 Commit: Stefan Strogin <steils@gentoo.org> CommitDate: 2019-05-26 14:53:51 +0000 dev-lang/rust: restore patch for LibreSSL 2.9.x support Closes: https://bugs.gentoo.org/684224 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Stefan Strogin <steils@gentoo.org> dev-lang/rust/rust-1.35.0.ebuild | 1 + 1 file changed, 1 insertion(+) |
Created attachment 573924 [details] build.log LibreSSL 2.9.1. (...) Compiling idna v0.1.5 error: failed to run custom build command for `openssl-sys v0.9.40` process didn't exit successfully: `/var/tmp/portage/dev-lang/rust-1.34.0-r2/work/rustc-1.34.0-src/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/openssl-sys-12b507acf0fb7407/build-script-main` (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("2") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = Some("x86_64-pc-linux-gnu-gcc") CFLAGS_x86_64-unknown-linux-gnu = Some("-ffunction-sections -fdata-sections -fPIC -m64 -m64") DEBUG = Some("false") running: "x86_64-pc-linux-gnu-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-m64" "-m64" "-E" "/var/tmp/portage/dev-lang/rust-1.34.0-r2/work/rustc-1.34.0-src/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/openssl-sys-027416839729c11a/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 cargo:rustc-cfg=libressl cargo:rustc-cfg=libressl251 cargo:rustc-cfg=libressl261 cargo:rustc-cfg=libressl270 cargo:rustc-cfg=libressl273 cargo:rustc-cfg=libressl280 cargo:rustc-cfg=libressl281 cargo:libressl_version_number=2090100f --- stderr thread 'main' panicked at ' This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5 through 2.9.0, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. ', /var/tmp/portage/dev-lang/rust-1.34.0-r2/work/rustc-1.34.0-src/vendor/openssl-sys/build/main.rs:544: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