Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 May 2020 14:55:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246332] [PATCH] lang/rust: does not build with LibreSSL 3.1
Message-ID:  <bug-246332-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 246332
           Summary: [PATCH] lang/rust: does not build with LibreSSL 3.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: maciej@pasternacki.net
             Flags: maintainer-feedback?(rust@FreeBSD.org)
          Assignee: rust@FreeBSD.org

Created attachment 214312
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214312&action=
=3Dedit
rust-libressl31.patch

Build ends with:

error: failed to run custom build command for `openssl-sys v0.9.53`
[...]
thread 'main' panicked at '

This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL=
 2.5
through 3.0.x, but a different version of OpenSSL was found. The build is n=
ow
aborting
due to this version mismatch.

',
/wrkdirs/usr/ports/lang/rust/work/rustc-1.43.1-src/vendor/openssl-sys/build=
/main.rs:243:5

This patch just expands whitelist of vendored openssl-sys crate, which is t=
aken
from upstream PRs:

https://github.com/sfackler/rust-openssl/pull/1260
https://github.com/sfackler/rust-openssl/pull/1271

Builds successfully with libressl-3.1.1.

--=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-246332-7788>