Summary: | devel/cargo (0.15.0) don't build with base OpenSSL | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | gja822 |
Component: | Individual Port(s) | Assignee: | Jean-Sébastien Pédron <dumbbell> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | dumbbell:
maintainer-feedback+
|
Priority: | --- | ||
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
gja822
2017-01-23 00:53:06 UTC
Hi! Thanks for the bug report. I updated a patch queued for review to include a fix for this bug: https://reviews.freebsd.org/D9295 Could you please try it? (In reply to Jean-Sébastien Pédron from comment #1) Well, it has been built successfully when I applied patch (and deleted "2016-11-02/" prefix from the files.) Thanks! A commit references this bug: Author: dumbbell Date: Mon Jan 23 21:55:49 UTC 2017 New revision: 432293 URL: https://svnweb.freebsd.org/changeset/ports/432293 Log: devel/cargo: Fix bootstrap checksum + use ${OPENSSLBASE} Because devel/cargo and lang/rust-nightly use a different DISTFILE with the same name, the wrong checksum and size was selected in devel/cargo. To fix this, keep the parent directory (a date) in the DISTFILE name. Also, depending on the value of DEFAULT_VERSION=ssl= and whether OpenSSL from ports is installed, the openssl-sys crate could fail to build. Passing OpenSSL location to make was way too complicated anyway. So simplify it and use ${OPENSSLBASE}. This was reported in PR 216385. Bump PORTREVISION to 1. PR: 216143, 216385 Reported by: gja822@narod.ru (216385, SSL build failure) Approved by: antoine (mentor), jbeich Differential Revision: https://reviews.freebsd.org/D9295 Changes: head/devel/cargo/Makefile head/devel/cargo/distinfo.amd64 head/devel/cargo/distinfo.i386 Somehow without deleting "2016-11-02/" it doesn't work for me. I haven't modified anything in vain if that worked without modification. ===> Extracting for cargo-0.15.0_1 => SHA256 Checksum OK for cargo-registry-0.15.0.tar.xz. /usr/ports/Mk/Scripts/checksum.sh: cannot open 2016-11-02/cargo-nightly-x86_64-unknown-freebsd.tar.gz: No such file or directory *** Error code 2 Stop. make[1]: stopped in /usr/ports/devel/cargo *** Error code 1 It happen I had to manually delete existed -nightly files form /distfiles Yes, I had to do the same here. Perhaps an issue with the Ports framework. FTR, someone else also reported in bug #216423 the same issue with the -nightly file not found. |