Summary: | devel/cargo: cargo 0.15.0 dies when built with LibreSSL | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jean-Sébastien Pédron <dumbbell> | ||||
Component: | Individual Port(s) | Assignee: | Jean-Sébastien Pédron <dumbbell> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | woodsb02 | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://github.com/rust-lang/cargo/pull/3521 | ||||||
Attachments: |
|
Description
Jean-Sébastien Pédron
2017-01-24 13:16:37 UTC
Created attachment 179276 [details]
patch devel/cargo to build with LibreSSL
I ran into this failure yesterday and stumbled on the same solution today. I have confirmed cargo builds with LibreSSL with the changes in the referenced upstream commit. Since I had already prepared a patch prior to finding this PR, I am attaching the patch for convenience.
Thank you for confirming and submitting a patch! I will test it as soon as I can (probably tonight). I mentionned the wrong PR in the commit message... So this bug was fixed in the following commit: https://svnweb.freebsd.org/changeset/ports/432293 The port revision was bumped to 2. *** Bug 216511 has been marked as a duplicate of this bug. *** The patch for this bug does not appear to have been committed yet, and the port revision has not been bumped to 2. https://reviews.freebsd.org/D9327 You're right, I mixed two patches... Thanks for re-opening the PR! A commit references this bug: Author: dumbbell Date: Sun Jan 29 13:39:43 UTC 2017 New revision: 432742 URL: https://svnweb.freebsd.org/changeset/ports/432742 Log: devel/cargo: Add patch to fix LibreSSL support Cargo crashes when compiled with LibreSSL. To fix this, it needs newer versions of some crates it depends on. See the following GitHub pull request: https://github.com/rust-lang/cargo/pull/3521 The registry is also recreated because of those new crates. `PORTREVISION` is bumped to 2. PR: 216431 Reported by: NHO (#freebsd-ports IRC channel) Tested by: NHO, matthew@reztek.cz, Ben Woods Approved by: antoine (mentor) Differential Revision: https://reviews.freebsd.org/D9327 Changes: head/devel/cargo/Makefile head/devel/cargo/distinfo.amd64 head/devel/cargo/distinfo.i386 head/devel/cargo/files/ head/devel/cargo/files/patch-Cargo.lock head/devel/cargo/files/patch-tests_build-auth.rs |