Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2017 22:08:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222359] lang/rust: Update to 1.20.0
Message-ID:  <bug-222359-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 222359
           Summary: lang/rust: Update to 1.20.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: ml+freebsd-bugs@vishwin.info

Rust 1.20.0 has been released 15 days ago as of this writing.

Additionally, after bug 221088 was committed as ports r449914, the port fai=
ls
to build when libressl is used as the default ssl, as the latest upstream a=
nd
port version 2.5.5 is not supported in rust-1.19:

     Running
`/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/build/x86_64-unknown-fr=
eebsd/stage2-tools/release/build/openssl-sys-7383df0b2b2e0b57/build-script-=
build`
error: failed to run custom build command for `openssl-sys v0.9.12`
process didn't exit successfully:
`/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/build/x86_64-unknown-fr=
eebsd/stage2-tools/release/build/openssl-sys-7383df0b2b2e0b57/build-script-=
build`
(exit code: 101)
--- stdout
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")
TARGET =3D Some("x86_64-unknown-freebsd")
TARGET =3D Some("x86_64-unknown-freebsd")
HOST =3D Some("x86_64-unknown-freebsd")
CC_x86_64-unknown-freebsd =3D Some("cc")
TARGET =3D Some("x86_64-unknown-freebsd")
HOST =3D Some("x86_64-unknown-freebsd")
CFLAGS_x86_64-unknown-freebsd =3D Some("-ffunction-sections -fdata-sections=
 -fPIC
-m64")
PROFILE =3D Some("release")
running: "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC"
"-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-m64" "-I"
"/usr/local/include" "-E"
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/build/x86_64-unknown-fr=
eebsd/stage2-tools/x86_64-unknown-freebsd/release/build/openssl-sys-5927edc=
57e54ea05/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

--- stderr
thread 'main' panicked at '

This crate is only compatible with OpenSSL 1.0.1, 1.0.2, and 1.1.0, or Libr=
eSSL
2.5.0, 2.5.1, 2.5.2, 2.5.3, and 2.5.4, but a different version of OpenSSL w=
as
found. The build is now aborting due to this version mismatch.

', src/vendor/openssl-sys/build.rs:363
note: Run with `RUST_BACKTRACE=3D1` for a backtrace.

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


command did not execute successfully:
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/build/x86_64-unknown-fr=
eebsd/stage0/bin/cargo"
"build" "-j" "4" "--target" "x86_64-unknown-freebsd" "-v" "--release"
"--frozen" "--manifest-path"
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/src/tools/cargo/Cargo.t=
oml"
expected success, got: exit code: 101


Traceback (most recent call last):
  File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/x.py", line 20, =
in
<module>
    bootstrap.main()
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/src/bootstrap/bootstrap=
.py",
line 678, in main
    bootstrap()
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/src/bootstrap/bootstrap=
.py",
line 670, in bootstrap
    run(args, env=3Denv, verbose=3Drb.verbose)
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/src/bootstrap/bootstrap=
.py",
line 142, in run
    raise RuntimeError(err)
RuntimeError: failed to run:
/wrkdirs/usr/ports/lang/rust/work/rustc-1.19.0-src/build/bootstrap/debug/bo=
otstrap
build --verbose --config ./config.toml --jobs 4
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/rust
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for rust-1.19.0_2
build of lang/rust | rust-1.19.0_2 ended at Fri Sep 15 17:40:42 EDT 2017
build time: 01:50:35
!!! build failure encountered !!!

Apparently this part was not built in previous port versions, but this is a
moot point now.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer informed via mail

--=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-222359-13>