Bug 216519

Summary: devel/cargo does not build
Product: Ports & Packages Reporter: Nikos <nikos10>
Component: Individual Port(s)Assignee: Jean-Sébastien Pédron <dumbbell>
Status: Closed DUPLICATE    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (dumbbell)
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description Nikos 2017-01-27 08:16:06 UTC
my port devel/cargo i cant build

===>>> All >> devel/cargo (1/2)

===>>> Currently installed version: cargo-0.14.0
===>>> Port directory: /usr/ports/devel/cargo

===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/cargo from ports
===>>> Dependency check complete for devel/cargo

===>>> All >> cargo-0.14.0 (1/2)

===>  Cleaning for cargo-0.15.0_1
===>>> Waiting on fetch & checksum for devel/cargo <<<===
===>  Deleting distfiles for cargo-0.15.0_1
make: don't know how to make 2016-11-02/cargo-nightly-x86_64-unknown-freebsd.tar.gz. Stop

make: stopped in /usr/ports/devel/cargo
===>  License APACHE20  MIT accepted by the user
===>  Found saved configuration for cargo-0.15.0_1
===>   cargo-0.15.0_1 depends on file: /usr/local/sbin/pkg - found
=> cargo-registry-0.15.0.tar.xz doesn't seem to exist in /usr/ports/distfiles//.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/dumbbell/rust/cargo-registry-0.15.0.tar.xz
cargo-registry-0.15.0.tar.xz                  

===>  License APACHE20  MIT accepted by the user
===>  Found saved configuration for cargo-0.15.0_1
===>   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

===>>> make build failed for devel/cargo
===>>> Aborting update

===>>> Update for devel/cargo failed
===>>> Aborting update

my os
FreeBSD server 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 06:55:27 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
Comment 1 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2017-01-27 09:12:14 UTC
Hi!

Thanks for the report!

It was previously reported in bug #216423. You need to manually remove the existing cargo-nightly-x86_64-unknown-freebsd.tar.gz from your ${DISTDIR}. A "make distclean" doesn't help here.

This is an issue with the Port framework which is being addressed.

*** This bug has been marked as a duplicate of bug 216423 ***