[Bug 237928] Latest patch to lang/rust still fails for LibreSSL 2.9.1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 16 15:37:21 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237928

            Bug ID: 237928
           Summary: Latest patch to lang/rust still fails for LibreSSL
                    2.9.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust at FreeBSD.org
          Reporter: aryeh.friedman at gmail.com
          Assignee: rust at FreeBSD.org
             Flags: maintainer-feedback?(rust at FreeBSD.org)

Compiling walkdir v2.2.7
error: failed to run custom build command for `openssl-sys v0.9.40`
process didn't exit successfully:
`/usr/ports/lang/rust/work/rustc-1.34.2-src/build/x86_64-unknown-freebsd/stage2-tools/release/build/openssl-sys-7db2c9511ec5e6a6/build-script-main`
(exit code: 101)
--- stdout
cargo:rerun-if-env-changed=X86_64_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_FREEBSD_OPENSSL_DIR
cargo:rerun-if-env-changed=OPENSSL_DIR
cargo:rustc-link-search=native=/usr/local/lib
cargo:include=/usr/local/include
OPT_LEVEL = Some("2")
TARGET = Some("x86_64-unknown-freebsd")
HOST = Some("x86_64-unknown-freebsd")
CC_x86_64-unknown-freebsd = Some("cc")
CFLAGS_x86_64-unknown-freebsd = Some("-ffunction-sections -fdata-sections -fPIC
-m64")
DEBUG = Some("false")
running: "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC"
"-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-m64" "-I"
"/usr/local/include" "-E"
"/usr/ports/lang/rust/work/rustc-1.34.2-src/build/x86_64-unknown-freebsd/stage2-tools/x86_64-unknown-freebsd/release/build/openssl-sys-f969aba33c479c38/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=libressl271
cargo:rustc-cfg=libressl273
cargo:rustc-cfg=libressl280
cargo:rustc-cfg=libressl281
cargo:rustc-cfg=libressl291
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.

',
/usr/ports/lang/rust/work/rustc-1.34.2-src/vendor/openssl-sys/build/main.rs:544:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

command did not execute successfully:
"/usr/ports/lang/rust/work/rustc-1.34.2-src/build/x86_64-unknown-freebsd/stage0/bin/cargo"
"build" "--target" "x86_64-unknown-freebsd" "-j" "1" "--release" "--frozen"
"--manifest-path"
"/usr/ports/lang/rust/work/rustc-1.34.2-src/src/tools/cargo/Cargo.toml"
"--message-format" "json"
expected success, got: exit code: 101
Traceback (most recent call last):
  File "/usr/ports/lang/rust/work/rustc-1.34.2-src/x.py", line 11, in <module>
    bootstrap.main()
  File "/usr/ports/lang/rust/work/rustc-1.34.2-src/src/bootstrap/bootstrap.py",
line 842, in main
    bootstrap(help_triggered)
  File "/usr/ports/lang/rust/work/rustc-1.34.2-src/src/bootstrap/bootstrap.py",
line 828, in bootstrap
    run(args, env=env, verbose=build.verbose)
  File "/usr/ports/lang/rust/work/rustc-1.34.2-src/src/bootstrap/bootstrap.py",
line 141, in run
    raise RuntimeError(err)
RuntimeError: failed to run:
/usr/ports/lang/rust/work/rustc-1.34.2-src/build/bootstrap/debug/bootstrap
build --verbose --config ./config.toml --jobs 1
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/rust
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/rust

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list