devel/cargo build failure

Mathieu Arnold mat at FreeBSD.org
Sat Jan 28 10:54:56 UTC 2017


Le 24/01/2017 à 18:57, Mathieu Arnold a écrit :
> Le 24/01/2017 à 18:47, David Wolfskill a écrit :
>> On Tue, Jan 24, 2017 at 06:33:29PM +0100, Mathieu Arnold wrote:
>>> Le 24/01/2017 à 16:52, Bob Willcox a écrit :
>>>> When trying to build devel/cargo I get this error:
>>>>
>>>> /xports/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: stopped in /xports/devel/cargo
>>>>
>>>> Anyone have any ideas why and what I can do to overcome it?
>>> Ok, so, the port changed the directory this file is fetched in, to fix
>>> the problem, you'll need to remove the
>>> cargo-nightly-x86_64-unknown-freebsd.tar.gz from /usr/ports/distfiles
>>> (or whereever your distfiles are)
>>> ....
>> Thanks -- that worked for me.
> So, I opened PR #216442 to see if the code that made this problem was
> legacy or not, an exp-run will tell :-)

And I committed a fix in r432617, if anyone ever does the "let's move
one of my distfiles in a subdirectory without using DIST_SUBDIR to move
all of them" dance again, fetching won't fail if the old distfile is
still around.


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170128/182aedc9/attachment.sig>


More information about the freebsd-ports mailing list