Bug 216423 - devel/cargo (0.15.0_1): Doesn't build on 10.3-RELEASE (cannot open: cargo-nightly-x86_64-unknown-freebsd.tar.gz)
Summary: devel/cargo (0.15.0_1): Doesn't build on 10.3-RELEASE (cannot open: cargo-nig...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jean-Sébastien Pédron
URL:
Keywords:
: 216437 216519 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-24 07:24 UTC by Vladimir Omelchuk
Modified: 2017-01-27 14:52 UTC (History)
3 users (show)

See Also:
dumbbell: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Omelchuk 2017-01-24 07:24:36 UTC
Log:
# make
===>  License APACHE20  MIT accepted by the user
===>  Found saved configuration for cargo-0.14.0
===>   cargo-0.15.0_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by cargo-0.15.0_1 for building
===>  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

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

<uname>
FreeBSD 10.3-RELEASE-p16 amd64
Comment 1 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2017-01-24 08:51:23 UTC
Hi!

Thanks for the report!

You need to manually remove cargo-nightly-x86_64-unknown-freebsd.tar.gz from your ${DISTDIR}. Apparently, moving a DISTFILE to a subdirectory somehow confuses the Ports framework. A "make distclean" doesn't help here.
Comment 2 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2017-01-24 09:03:32 UTC
FTR, the same problem was reported in bug #216385, comment #4.
Comment 3 Vladimir Omelchuk 2017-01-24 11:15:14 UTC
Thanks, port build without any erorrs!
PR can be closed.

P.S.
Subject in the Bug 216385 - “devel/cargo (0.15.0) don't build with base OpenSSL” not talking about the same error ...
Comment 4 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2017-01-24 12:08:09 UTC
Yes, bug #216385 was about another issue but the reporter talked about the same DISTFILE problem as you in a follow-up comment.
Comment 5 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2017-01-24 16:45:36 UTC
*** Bug 216437 has been marked as a duplicate of this bug. ***
Comment 6 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2017-01-27 09:12:14 UTC
*** Bug 216519 has been marked as a duplicate of this bug. ***