Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2019 15:37:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237928] Latest patch to lang/rust still fails for LibreSSL 2.9.1
Message-ID:  <bug-237928-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237928

            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@FreeBSD.org
          Reporter: aryeh.friedman@gmail.com
          Assignee: rust@FreeBSD.org
             Flags: maintainer-feedback?(rust@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/st=
age2-tools/release/build/openssl-sys-7db2c9511ec5e6a6/build-script-main`
(exit code: 101)
--- stdout
cargo:rerun-if-env-changed=3DX86_64_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=3DOPENSSL_LIB_DIR
cargo:rerun-if-env-changed=3DX86_64_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=3DOPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=3DX86_64_UNKNOWN_FREEBSD_OPENSSL_DIR
cargo:rerun-if-env-changed=3DOPENSSL_DIR
cargo:rustc-link-search=3Dnative=3D/usr/local/lib
cargo:include=3D/usr/local/include
OPT_LEVEL =3D Some("2")
TARGET =3D Some("x86_64-unknown-freebsd")
HOST =3D Some("x86_64-unknown-freebsd")
CC_x86_64-unknown-freebsd =3D Some("cc")
CFLAGS_x86_64-unknown-freebsd =3D Some("-ffunction-sections -fdata-sections=
 -fPIC
-m64")
DEBUG =3D 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/st=
age2-tools/x86_64-unknown-freebsd/release/build/openssl-sys-f969aba33c479c3=
8/out/expando.c"
exit code: 0
cargo:rustc-cfg=3Dosslconf=3D"OPENSSL_NO_BUF_FREELISTS"
cargo:rustc-cfg=3Dosslconf=3D"OPENSSL_NO_COMP"
cargo:rustc-cfg=3Dosslconf=3D"OPENSSL_NO_KRB5"
cargo:rustc-cfg=3Dosslconf=3D"OPENSSL_NO_PSK"
cargo:rustc-cfg=3Dosslconf=3D"OPENSSL_NO_RFC3779"
cargo:rustc-cfg=3Dosslconf=3D"OPENSSL_NO_SRP"
cargo:rustc-cfg=3Dosslconf=3D"OPENSSL_NO_SSL3_METHOD"
cargo:conf=3DOPENSSL_NO_BUF_FREELISTS,OPENSSL_NO_COMP,OPENSSL_NO_KRB5,OPENS=
SL_NO_PSK,OPENSSL_NO_RFC3779,OPENSSL_NO_SRP,OPENSSL_NO_SSL3_METHOD
cargo:rustc-cfg=3Dlibressl
cargo:rustc-cfg=3Dlibressl251
cargo:rustc-cfg=3Dlibressl261
cargo:rustc-cfg=3Dlibressl270
cargo:rustc-cfg=3Dlibressl271
cargo:rustc-cfg=3Dlibressl273
cargo:rustc-cfg=3Dlibressl280
cargo:rustc-cfg=3Dlibressl281
cargo:rustc-cfg=3Dlibressl291
cargo:libressl_version_number=3D2090100f

--- 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 n=
ow
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=3D1` environment variable to display a backt=
race.

command did not execute successfully:
"/usr/ports/lang/rust/work/rustc-1.34.2-src/build/x86_64-unknown-freebsd/st=
age0/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 <modu=
le>
    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=3Denv, verbose=3Dbuild.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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237928-7788>