Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 624050

Summary: dev-util/cargo-0.17.0 download URLs for crates no longer valid?
Product: Gentoo Linux Reporter: Grant Goodyear <g2boojum>
Component: Current packagesAssignee: Gentoo Rust Project <rust>
Status: RESOLVED INVALID    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Grant Goodyear 2017-07-06 19:30:30 UTC
Trying to build dev-util/cargo-0.17.0 fails for me when trying to download 'advapi32-sys-0.2.0.crate'. Trying to download it manually shows that 'https://crates.io/api/v1/crates/advapi32-sys/0.2.0/download' is not a valid URL. I assume there's a new download url that is needed (for all crates, not just this one, which happens to be the first on the list).

Thanks!
Comment 1 Grant Goodyear 2017-07-11 18:06:00 UTC
Nevermind. The crates urls weren't working from behind a corporate http proxy  when using tnftp as the download manager for portage. (Yes, that's an obscure mix.) After switching to wget, everything works fine. Also, for whatever reason, the crates can't be downloaded w/ the crates.io API using a browser. (Something about the "accept" header?)  *shrug*