devel/cargo build failure

Mathieu Arnold mat at FreeBSD.org
Wed Jan 25 10:33:36 UTC 2017


Le 25/01/2017 à 01:53, Don Zavitz a écrit :
>
>
> On 1/24/2017 4:20 PM, Fernando Herrero Carrón wrote:
>> El 24 ene. 2017 9:18 p. m., "Mathieu Arnold" <mat at freebsd.org> escribió:
>>
>> Le 24/01/2017 à 20:27, Fernando Herrero Carrón a écrit :
>>>
>>> El 24 ene. 2017 6:57 p. m., "Mathieu Arnold" <mat at freebsd.org
>>> <mailto:mat at freebsd.org>> escribió:
>>>
>>>      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 :-)
>>>
>>>      --
>>>      Mathieu Arnold
>>>
>>>
>>> Wow, cool to see more people doing rust on freebsd, count me in!
>>
>> I have no idea what rust is, but sure.
>>
>>
>> http://www.freshports.org/devel/cargo:
>>
>> Cargo is Rust's Package Manager. Cargo downloads your Rust project's
>> dependencies and compiles your project.
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
> I ran into this issue, removing
> cargo-nightly-x86_64-unknown-freebsd.tar.gz from /usr/ports/distfiles
> fixed it for me...
>
> www/firefox pulls this in, didn't know firefox used rust?

Like I said, there is a "feature" in the fetch code that I'm currently
having PR #216442 test if its removal breaks something.


-- 
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/20170125/6c59f486/attachment.sig>


More information about the freebsd-ports mailing list