Error: Failed to fetch rust: The requested URL returned error: 404

Joshua Root jmr at macports.org
Fri Dec 30 02:43:50 UTC 2022


On 2022-12-30 04:58 , mcalhoun at macports.org wrote:
> Please forgive my ignorance, but I am not sure how `variant mirror_i386` works.
> It exists but is *not* default, so how would it be set by the mirroring mechanish?
> If it is not set, how will `if {[variant_exists mirror_i386] && [variant_isset mirror_i386]} {` ever run?

It's a hack for sure. The mirroring script mirrors ports with each of 
their variants set, so that files only used by certain variants will be 
mirrored. In this case, the files are (on i386) also used for reasons 
other than the variant being set, so end users don't have to actually 
use the variant to benefit from its files being mirrored.

- Josh


More information about the macports-users mailing list