[Bug 216511] devel/cargo: Fails to build with LibreSSL

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 27 00:24:34 UTC 2017


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

            Bug ID: 216511
           Summary: devel/cargo: Fails to build with LibreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dumbbell at FreeBSD.org
          Reporter: woodsb02 at freebsd.org
          Assignee: dumbbell at FreeBSD.org
             Flags: maintainer-feedback?(dumbbell at FreeBSD.org)

cargo-0.15.0_1 is emitting the following build error when built with LibreSSL
(make.conf contains DEFAULT_VERSIONS+=ssl=libressl):

     Running
`/wrkdirs/usr/ports/devel/cargo/work/cargo-0.15.0/target/release/build/openssl-sys-76c1fa79ef1208aa/build-script-build`
error: failed to run custom build command for `openssl-sys v0.9.1`
process didn't exit successfully:
`/wrkdirs/usr/ports/devel/cargo/work/cargo-0.15.0/target/release/build/openssl-sys-76c1fa79ef1208aa/build-script-build`
(exit code: 101)
--- stdout
cargo:rustc-link-search=native=/usr/local/lib
cargo:include=/usr/local/include

--- stderr
thread 'main' panicked at '

This crate is only compatible with OpenSSL 1.0.1, 1.0.2, and 1.1.0, but a
different version of OpenSSL was found:

    0x20000000L

The build is now aborting due to this version mismatch.

',
/wrkdirs/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.1/build.rs:243
note: Run with `RUST_BACKTRACE=1` for a backtrace.

gmake[1]: *** [Makefile:111: cargo-x86_64-unknown-freebsd] Error 101
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/cargo/work/cargo-0.15.0'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/cargo

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


More information about the freebsd-ports-bugs mailing list